agentland.util
Class LogMonitorAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.util.LogMonitorAgent
- public class LogMonitorAgent
- extends AgentAgent
- implements LogMonitor
This is the LogMonitoring agent. It doesn't really need any
external methods as, well, it doesn't do much of anything re:
the outside world.
This currently has the important note that it only watches
agents that are added after this starts, as I can't figure out
how to make the catalog let give me a list of all the agents
already alive
- 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,
obtainMetaglueAgent,
obtainMetaglueAgent,
obtainMetaglueAgentByName,
reliesOn,
reliesOn,
reliesOn,
reliesOnSynch,
removeFrozen,
replaceExceptionHandler,
setFreezeName,
setLogLevel,
setLogName,
shutdown,
startAgent,
startAgentOn,
startAgentOn,
status,
tiedTo,
tiedTo,
tiedTo,
tiedTo,
tieToDesignation,
whereAreYou |
LogMonitorAgent
public LogMonitorAgent()
throws RemoteException
startup
public void startup()
throws RemoteException
- Overrides:
- startup in class AgentAgent
watchAgent
public void watchAgent(AgentID agt,
AgentMonitor mrt)
throws RemoteException
- Specified by:
- watchAgent in interface LogMonitor
tell
public void tell(Secret sekrit)
throws RemoteException
- Description copied from interface: Spy
- This is called if the Agent is to recieve a particular
secret.
getStatus
public int getStatus(AgentID agt)
throws RemoteException
- Specified by:
- getStatus in interface LogMonitor
recieveMessage
public void recieveMessage(AgentID cid,
int lvl,
String msg)
throws RemoteException