|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--MicroTAPAS.MicroActor
|
+--MicroTAPAS.mobility.MobilitySupportActor
This is an abstract class to contain all the common functionality for the MobilityManager and MobilityAgent classes.
| Field Summary | |
protected static boolean |
DEBUG
Determines whether debug info to be sent to debug-server |
protected static boolean |
isConnected
|
protected Node |
node
Object to hold information about THIS node |
protected java.lang.String |
nodeID
Unique ID for this terminal |
protected static MicroPingClient |
pc
|
protected static MicroPingServer |
ps
|
protected GAI |
registryGAI
Address of the registry where this node is registered |
| Fields inherited from class MicroTAPAS.MicroActor |
bf, context, debug, fh, properties |
| Constructor Summary | |
protected |
MobilitySupportActor()
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 |
abstract 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 |
abstract RequestResult |
mobilityActorEntry(RequestPars rp)
Method to access/control child objects. |
protected RequestResult |
requestToActor(RequestPars pRP)
Common method for most types of requests from actors to other actors |
abstract void |
setConnected(boolean pIsConnected,
Node pNode)
Method that handles changing of connection status. |
void |
start()
Starts this entity |
Item |
status()
Status report of this entity in Item hierarchy of information elements. |
void |
term()
Terminate method from the ActorInterface. |
abstract void |
terminalMoveLocation(java.lang.String oldNode,
java.lang.String newNode)
Handles the terminal move operation. |
| Methods inherited from class MicroTAPAS.MicroActor |
findRoleSession, getGAI, terminalMove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final boolean DEBUG
protected GAI registryGAI
protected java.lang.String nodeID
protected static MicroPingClient pc
protected static MicroPingServer ps
protected static boolean isConnected
protected Node node
| Constructor Detail |
protected MobilitySupportActor()
| Method Detail |
public void init(ActorContext pAC)
init in class MicroActorpAC - context data for this actorpublic void start()
start in interface MicroActorInterfacestart in class MicroActorpublic abstract RequestResult mobilityActorEntry(RequestPars rp)
public abstract void setConnected(boolean pIsConnected,
Node pNode)
public abstract void terminalMoveLocation(java.lang.String oldNode,
java.lang.String newNode)
public abstract java.util.Vector getPingNodes()
public RequestResult control(java.lang.String command,
java.lang.String[] pars)
throws java.lang.Exception
control in interface ControlInterfacecommand - the command to be performed
java.lang.Exceptionpublic 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.protected RequestResult requestToActor(RequestPars pRP)
pRP - The request
public Item status()
status in class MicroActorpublic void cleanUp()
cleanUp in interface ControlInterfacepublic void term()
term in interface MicroActorInterfaceterm in class MicroActor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||