|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--MicroTAPAS.MicroActorManager
Manages active Actors within one TAPAS node, MicroPNES has one instance of it.
| Field Summary | |
private java.util.Hashtable |
htActorInstances
Active actors this object manages |
| Constructor Summary | |
MicroActorManager()
Initializes data fields |
|
| Method Summary | |
MicroActor |
actorGet(GAI keyGAI)
Get actors from this manager |
int |
actorPut(MicroActor actor)
Saves actors in this manager |
MicroActor |
actorRemove(java.lang.String key)
Removes actors from this manager |
boolean |
empty()
Simple utility to determine if there are active actors |
Item |
listActors()
Lists all actors this manager holds for debug purposes |
void |
terminalMove(java.lang.String oldNode,
java.lang.String newNode)
Method to update all relevant properties once a terminal has moved. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Hashtable htActorInstances
| Constructor Detail |
public MicroActorManager()
| Method Detail |
public boolean empty()
public int actorPut(MicroActor actor)
actor - The actor to be saved
public MicroActor actorRemove(java.lang.String key)
key - GAI string of the actor to be removed
public MicroActor actorGet(GAI keyGAI)
keyGAI - GAI value of the actor to be found
public void terminalMove(java.lang.String oldNode,
java.lang.String newNode)
oldNode - The old nodenewNode - The new nodepublic Item listActors()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||