|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--springs.access.ReferenceUpdateCommand
Contains instructions to update the reference to a certain agent.
Field Summary | |
private java.lang.String |
_agentName
The name of the agent. |
boolean |
_communicated
A boolean indicating whether the command has been taken into account. |
private boolean |
_remove
A boolean indicating whether the update is a removal. |
Constructor Summary | |
ReferenceUpdateCommand(java.lang.String agentName,
boolean remove)
Constructor. |
Method Summary | |
java.lang.String |
getAgentName()
Obtains the agent name. |
boolean |
getCommunicated()
Gets whether the update has been communicated. |
boolean |
getIsRemove()
Checks whether the command refers to a removal rather than an update. |
void |
print()
Prints information about this agent reference. |
void |
setCommunicated(boolean comm)
Sets that the update has been communicated. |
void |
waitUntilCommunicated()
Blocks the caller until the update has been communicated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String _agentName
String
private boolean _remove
public boolean _communicated
Constructor Detail |
public ReferenceUpdateCommand(java.lang.String agentName, boolean remove)
agentName
- the name of the agent.remove
- a boolean indicating whether the command refers to a removal rather than an
update.String
,
Vector
Method Detail |
public java.lang.String getAgentName()
String
public boolean getIsRemove()
public boolean getCommunicated()
public void setCommunicated(boolean comm)
comm
- a boolean indicating that.public void waitUntilCommunicated()
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |