|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lime.LimeAgentMgr
This class effectively decouples the agent object from the rest of the Lime system. Essentially, it contains all the information that Lime needs to properly manage the agent (e.g., its identifier, the list of tuple spaces, and so on) and, on the other hand, it provides the agent with the ability to properly engage and disengage within the system. This class should never be accessed or used directly by the Lime programmer. Only programmers trying to define their own notion of agent (e.g., those integrating a mobile agent system with Lime) should be interested in this class.
ILimeAgent
, Serialized FormConstructor Summary | |
LimeAgentMgr()
Creates a new LimeAgentMgr , which contains a new identifier. |
Method Summary | |
void |
disengage()
Disengages in a single atomic step all the tuple spaces managed through this object. |
void |
engage()
Engages in a single atomic step all the tuple spaces managed through this object. |
AgentID |
getID()
Returns the identifier associated to this LimeAgentMgr
object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LimeAgentMgr()
LimeAgentMgr
, which contains a new identifier.Method Detail |
public AgentID getID()
LimeAgentMgr
object.public void disengage()
public void engage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |