demo
Class GroupAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--demo.GroupAgent
- All Implemented Interfaces:
- Agent, Group, MetagluePrimitives, Remote, Serializable
- 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, buildEHAFor, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getOldLogs, getProperties, getProxyHandlerClass, getSociety, installAPH, log, log, log, lookupClass, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeAPHFromCatalog, removeFrozen, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, toString, 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