|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--MicroTAPAS.MicroActor
|
+--MicroTAPAS.mobility.MobilitySupportActor
|
+--MicroTAPAS.mobility.MobilityAgent1
This class implements specialized functionality for handling Mobility Agent tasks.
| Field Summary |
| Fields inherited from class MicroTAPAS.MicroActor |
context, debug, properties |
| Constructor Summary | |
MobilityAgent1()
Constructor |
|
| Method Summary | |
RequestResult |
actorEntry(RequestPars rp)
Common enrty point of this actor to invoke some activity from outside |
void |
cleanUp()
|
RequestResult |
control(java.lang.String command,
java.lang.String[] pars)
Controls this entity through text commands and paramters. |
boolean |
getConnected()
Returns the connection status of this entity |
java.util.Vector |
getPingNodes()
Returns a vector of pingable nodes |
void |
init(ActorContext pAC)
To leave constructor empty, this method is used to initialize Object data |
RequestResult |
mobilityActorEntry(RequestPars pRP)
Common enrty point of this actor to invoke some activity from outside |
void |
setConnected(boolean pIsConnected,
Node pNode)
Method that allows changing the connection status. |
void |
start()
Starts this entity |
Item |
status()
Status report of this entity in Item hierarchy of information elements. |
void |
term()
Gives this actor a chance to clean up before closing down. |
void |
terminalMoveLocation(java.lang.String oldNode,
java.lang.String newNode)
Method to handle the detected moving of a terminal, i.e. that a terminal has received a new IP address. |
| Methods inherited from class MicroTAPAS.MicroActor |
getGAI, terminalMove |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MobilityAgent1()
| Method Detail |
public void init(ActorContext pAC)
init in class MicroTAPAS.mobility.MobilitySupportActorpAC - context data for this actorpublic void start()
start in interface MicroActorInterfacestart in class MicroTAPAS.mobility.MobilitySupportActor
public RequestResult control(java.lang.String command,
java.lang.String[] pars)
throws java.lang.Exception
control in interface ControlInterfacecontrol in class MicroTAPAS.mobility.MobilitySupportActorcommand - the command to be performed
java.lang.Exceptionpublic RequestResult mobilityActorEntry(RequestPars pRP)
mobilityActorEntry in class MicroTAPAS.mobility.MobilitySupportActorpRP - Parameters for the activity this actorEntry will attempt to carry out
public java.util.Vector getPingNodes()
getPingNodes in class MicroTAPAS.mobility.MobilitySupportActor
public void terminalMoveLocation(java.lang.String oldNode,
java.lang.String newNode)
terminalMoveLocation in class MicroTAPAS.mobility.MobilitySupportActoroldNode - The old address.newNode - The new address.
public void setConnected(boolean pIsConnected,
Node pNode)
setConnected in class MicroTAPAS.mobility.MobilitySupportActorpIsConnected - Boolean indicating whether the specified node is connected.pNode - The node that has no connection (for MA=this node)public Item status()
status in class MicroTAPAS.mobility.MobilitySupportActorpublic void term()
term in interface MicroActorInterfaceterm in class MicroTAPAS.mobility.MobilitySupportActorpublic RequestResult actorEntry(RequestPars rp)
actorEntry in interface MicroActorInterfacerp - Parameters for the activity this actorEntry will attempt to carry out
public boolean getConnected()
false indicates no connection.public void cleanUp()
cleanUp in interface ControlInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||