|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--MicroTAPAS.mobility.Node
This class is a representation of a node in the MicroTAPAS system.
| Field Summary | |
GAI |
dirGAI
Address of current director. |
static int |
MA
MobilityAgent node type variable. |
GAI |
maGAI
Current MA - changes as the node is moved around. |
static int |
MM
MobilityManager node type variable. |
GAI |
mmGAI
Current MM - changes as the node is moved around. |
java.lang.String |
nodeID
Uniquie ID of this node. |
static int |
UNDEFINED
Undefined node type variable. |
| Constructor Summary | |
Node()
Constructor |
|
| Method Summary | |
boolean |
actorMove(java.lang.String aID,
GAI oldGAI,
GAI newGAI)
Method to delete an actor entry in the actor registry when an actor has moved to a different node. |
RequestResult |
addActor(RequestPars pRP)
Adds an actor (really ActorPlugInReq) to to the actor register. |
Item |
getActorStatus()
Status report of registered actors in this entity in Item hierarchy of information elements. |
java.util.Vector |
getAllActorGAI()
Returns a vector of all registered actors GAI's. |
CapabilitySet |
getCaps()
Returns the CapabilitySet of this node. |
boolean |
getConnected()
Returns whether this node is connected or not. |
int |
getType()
|
RequestResult |
removeActor(RequestPars pRP)
Removes a previously added actor from the actor registry. |
void |
setConnected(boolean pIsConnected)
Sets the connection status of this node. |
Item |
status()
Status report of this entity in Item hierarchy of information elements. |
void |
terminalMove(java.lang.String oldNode,
java.lang.String newNode)
Updates this object whenever the terminal is moved from one node to another. |
java.lang.String |
toString()
Overloaded toString mehtod. |
void |
updateCapabilities()
Updates the node capabilities for this node by reading them from file. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int UNDEFINED
public static final int MM
public static final int MA
public java.lang.String nodeID
public GAI maGAI
public GAI mmGAI
public GAI dirGAI
| Constructor Detail |
public Node()
| Method Detail |
public void setConnected(boolean pIsConnected)
pIsConnected - True if the node is connected, false otherwise.public boolean getConnected()
public CapabilitySet getCaps()
public void updateCapabilities()
public void terminalMove(java.lang.String oldNode,
java.lang.String newNode)
oldNode - The old nodenewNode - The new nodepublic RequestResult addActor(RequestPars pRP)
pRP - TAPAS-style request parameters.
public RequestResult removeActor(RequestPars pRP)
pRP - TAPAS-style request parameters.
public java.util.Vector getAllActorGAI()
public boolean actorMove(java.lang.String aID,
GAI oldGAI,
GAI newGAI)
aID - The unique actor identificator.oldGAI - The old GAI of the actor.newGAI - The new GAI of the actor.
public int getType()
public java.lang.String toString()
toString in class java.lang.Objectpublic Item status()
public Item getActorStatus()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||