demo
Class GroupAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--demo.GroupAgent
- Direct Known Subclasses:
- MessGroupAgent
- public class GroupAgent
- extends AgentAgent
- implements Group
Look in properties file, and load all agents in there. If the
property * value is true, then reliesOn, if it is false, do
nothing, and otherwise * assume it is either a metaglue agent's
christian name (via -name) or * host machine to start the agent on,
and try to start the agent on that machine
- See Also:
- Serialized Form
Method Summary |
void |
ensureUp()
Make sure all the agents respond to alive() since the agents
are started asynchronously. |
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,
startup,
status,
tiedTo,
tiedTo,
tiedTo,
tiedTo,
tieToDesignation,
whereAreYou |
GroupAgent
public GroupAgent()
throws RemoteException
ensureUp
public void ensureUp()
throws RemoteException
- Description copied from interface: Group
- Make sure all the agents respond to alive() since the agents
are started asynchronously.
- Specified by:
- ensureUp in interface Group