|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--MicroTAPAS.MicroActor
|
+--MicroTAPAS.MicroApplicationActor
|
+--MicroTAPAS.mobility.MobilityApplicationActor
This abstract class adds a layer of mobility to the actor hierarchy
| Field Summary |
| Fields inherited from class MicroTAPAS.MicroActor |
context, debug, properties |
| Constructor Summary | |
MobilityApplicationActor()
Constructor |
|
| Method Summary | |
RequestResult |
actorChangeBehaviour(java.lang.String pRoleId,
java.lang.Object ai)
Request to perform an actor change behaviour for own actor. |
RequestResult |
actorChangeBehaviour(java.lang.String pRoleId,
java.lang.String[] pars)
Deprecated. Replaced by actorChangeBehaviour(String, Object) |
RequestResult |
actorMove(GAI moveTo)
Received from CapsMonitorAgent when the offered capabilites of this node has become 'less' than the required capabilites for this actor, or as a explicit command. |
RequestResult |
applicationActorEntry(RequestPars pRP)
Common entry point for all actors of this type |
void |
cleanUp()
Gives this Actor instance a chance to clean up when the DebugWindow is closed. |
RequestResult |
control(java.lang.String cmd,
java.lang.String[] pars)
Overloaded mehtod that controls the actor, invokes its functionality, BaseFrame input field can trigger it, as can RoleSessionActions, or the ScriptHandler. |
abstract void |
createInterface(java.lang.Object actorInterface)
Mehtod that enables the (re-)creation of an interface at an actor. |
abstract java.lang.Object |
getInterface()
Method to retrieve the interface of an actor. |
GAI |
getMAGAI()
|
GAI |
getMMGAI()
|
Item |
help()
Method to display a hierarchy of available commands |
void |
init(ActorContext pAC)
To leave constructor empty, this method is used to initialize Object data |
abstract RequestResult |
mobilityActorEntry(RequestPars rp)
Common entry point for all actors who subclass this class. |
Item |
status()
Report this actor's status through Item elements |
void |
term()
Terminate method from the ActorInterface. |
| Methods inherited from class MicroTAPAS.MicroApplicationActor |
actorBehaviourPlugIn, actorBehaviourPlugOut, ActorCapabilities, actorEntry, ActorPlay, actorPlugIn, actorPlugOut, anyOtherRequestType, closeBF, playChangesPlugIn, playPlugIn, playPlugOut, RoleSessionAction, subscribeCancel, subscribeReport, subscribeRequest |
| Methods inherited from class MicroTAPAS.MicroActor |
getGAI, start, terminalMove |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MobilityApplicationActor()
| Method Detail |
public void init(ActorContext pAC)
init in class MicroApplicationActorpAC - context data for this actor
public abstract RequestResult mobilityActorEntry(RequestPars rp)
throws java.lang.Exception
java.lang.Exceptionpublic abstract void createInterface(java.lang.Object actorInterface)
public abstract java.lang.Object getInterface()
public GAI getMAGAI()
public GAI getMMGAI()
public RequestResult control(java.lang.String cmd,
java.lang.String[] pars)
throws java.lang.Exception
control in interface ControlInterfacecontrol in class MicroApplicationActorcmd - First command line argument, used to denote a command name.
java.lang.Exception
public RequestResult applicationActorEntry(RequestPars pRP)
throws java.lang.Exception
applicationActorEntry in class MicroApplicationActorjava.lang.Exception
public RequestResult actorChangeBehaviour(java.lang.String pRoleId,
java.lang.String[] pars)
throws java.lang.Exception
actorChangeBehaviour(String, Object)
actorChangeBehaviour in class MicroApplicationActorpRoleId - New role to be assigned to actorpars - The data withdraw from existing to upgraded actor
java.lang.Exception
public RequestResult actorChangeBehaviour(java.lang.String pRoleId,
java.lang.Object ai)
throws java.lang.Exception
actorChangeBehaviour in class MicroApplicationActorpRoleId - New role to be assigned to actorai - The actor interface
java.lang.Exceptionpublic RequestResult actorMove(GAI moveTo)
moveTo - New GAI of actor after move
public void cleanUp()
cleanUp in interface ControlInterfacepublic void term()
MicroActor
term in interface MicroActorInterfaceterm in class MicroActorpublic Item status()
status in class MicroActorpublic Item help()
help in class MicroApplicationActor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||