agentland.info
Class  PhoneDatabaseAgent
java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--agentland.info.PhoneDatabaseAgent
- All Implemented Interfaces: 
 - Agent, MetagluePrimitives, PhoneDatabase, Remote, Serializable
 
- public class PhoneDatabaseAgent
- extends AgentAgent
- implements PhoneDatabase
   
- See Also: 
 - Serialized Form
 
 
 
 
 
 
| Methods inherited from class metaglue.AgentAgent | 
addMonitor, alive, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getProperties, getSociety, log, log, log, lookupClass, obtainMetaglueAgent, obtainMetaglueAgent, obtainMetaglueAgentByName, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeFrozen, replaceExceptionHandler, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, whereAreYou | 
 
 
 
 
 
 
PhoneDatabaseAgent
public PhoneDatabaseAgent()
                   throws RemoteException
showPM
public void showPM()
            throws RemoteException
- Specified by: 
 showPM in interface PhoneDatabase
 
clearPM
public void clearPM()
             throws RemoteException
- Specified by: 
 clearPM in interface PhoneDatabase
 
fillMap
public void fillMap()
             throws RemoteException
- Specified by: 
 fillMap in interface PhoneDatabase
 
getPhoneNumber
public Vector getPhoneNumber(String name)
                      throws RemoteException
- Specified by: 
 getPhoneNumber in interface PhoneDatabase
 
getName
public Vector getName(String phoneNumber)
               throws RemoteException
- Specified by: 
 getName in interface PhoneDatabase
 
addPerson
public void addPerson(String fname,
                      String mname,
                      String lname,
                      String em,
                      String hphone,
                      String ophone,
                      String add)
               throws RemoteException
- Specified by: 
 addPerson in interface PhoneDatabase
 
addPerson
public void addPerson(PersonInfo pi)
               throws RemoteException
- Specified by: 
 addPerson in interface PhoneDatabase
 
deletePerson
public void deletePerson(String name)
                  throws RemoteException
- Specified by: 
 deletePerson in interface PhoneDatabase
 
listNames
public Vector listNames()
                 throws RemoteException
- Specified by: 
 listNames in interface PhoneDatabase