agentland.info
Class PersonDatabaseAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--agentland.info.PersonDatabaseAgent
All Implemented Interfaces:
Agent, MetagluePrimitives, PersonDatabase, Remote, Serializable

public class PersonDatabaseAgent
extends AgentAgent
implements PersonDatabase

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
PersonDatabaseAgent()
           
 
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 listNames()
           
 Vector lookup(String search)
           
 void showPM()
           
 
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
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 

Constructor Detail

PersonDatabaseAgent

public PersonDatabaseAgent()
                    throws RemoteException
Method Detail

showPM

public void showPM()
            throws RemoteException
Specified by:
showPM in interface PersonDatabase

clearPM

public void clearPM()
             throws RemoteException
Specified by:
clearPM in interface PersonDatabase

fillMap

public void fillMap()
             throws RemoteException
Specified by:
fillMap in interface PersonDatabase

lookup

public Vector lookup(String search)
              throws RemoteException
Specified by:
lookup in interface PersonDatabase

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 PersonDatabase

addPerson

public void addPerson(PersonInfo pi)
               throws RemoteException
Specified by:
addPerson in interface PersonDatabase

deletePerson

public void deletePerson(String name)
                  throws RemoteException
Specified by:
deletePerson in interface PersonDatabase

listNames

public Vector listNames()
                 throws RemoteException
Specified by:
listNames in interface PersonDatabase