agentland.info
Interface PhoneDatabase

All Superinterfaces:
Agent, Remote
All Known Implementing Classes:
PhoneDatabaseAgent

public interface PhoneDatabase
extends Agent


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 void addPerson(PersonInfo pi)
           
 void addPerson(String fname, String mname, String lname, String em, String hphone, String ophone, String add)
           
 void clearPM()
           
 void deletePerson(String name)
           
 void fillMap()
           
 Vector getName(String phoneNumber)
           
 Vector getPhoneNumber(String name)
           
 Vector listNames()
           
 void showPM()
           
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 

Method Detail

showPM

public void showPM()
            throws RemoteException

clearPM

public void clearPM()
             throws RemoteException

fillMap

public void fillMap()
             throws RemoteException

getPhoneNumber

public Vector getPhoneNumber(String name)
                      throws RemoteException

getName

public Vector getName(String phoneNumber)
               throws RemoteException

addPerson

public void addPerson(String fname,
                      String mname,
                      String lname,
                      String em,
                      String hphone,
                      String ophone,
                      String add)
               throws RemoteException

addPerson

public void addPerson(PersonInfo pi)
               throws RemoteException

deletePerson

public void deletePerson(String name)
                  throws RemoteException

listNames

public Vector listNames()
                 throws RemoteException