|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--MicroTAPAS.MicroActor
|
+--MicroTAPAS.MicroApplicationActor
Superclass for mobility application actors, interfaces TAPAS support functions
| Field Summary |
| Fields inherited from class MicroTAPAS.MicroActor |
context, debug, properties |
| Constructor Summary | |
MicroApplicationActor()
|
|
| Method Summary | |
RequestResult |
actorBehaviourPlugIn(java.lang.String pRoleId)
Plug in of new behaviour for own actor according to the role specified |
RequestResult |
actorBehaviourPlugOut()
Plug out behaviour for own actor. |
RequestResult |
ActorCapabilities(int opType,
CapabilitySet caps)
Request to change capabilities for own actor. |
RequestResult |
actorChangeBehaviour(java.lang.String pRoleId,
java.lang.Object actorInterface)
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 |
actorEntry(RequestPars pRP)
Common enrty point of ApplicationActors to invoke some activity from outside |
RequestResult |
ActorPlay(GAI ident)
Request to perform ActorPlay request for a specified actor. |
RequestResult |
actorPlugIn(ActorPlugInReq request)
Builds an ActorPlugIn request, applies the application specified parameters in the request, and sends the request to own director The result of this request is either of: 1. |
RequestResult |
actorPlugOut(RoleSession pRS,
boolean isMoved)
Build and send ActorPlugOut request to (a specific actor) director The result of this request is either of: 1. |
RequestPars |
anyOtherRequestType(RequestPars pRP)
Received request types that is not served through the 'applicationActorEntry()' method. |
abstract RequestResult |
applicationActorEntry(RequestPars pRP)
This is the ONLY entry to application part of actors in addition to "subscribeReport()" and "anyOtherRequestType()". |
void |
closeBF()
Method that enables the ApplicationActor to close the DebugWindow of the actor. |
RequestResult |
control(java.lang.String command,
java.lang.String[] pars)
Controls the actor, invokes its functionality, BaseFrame input field can trigger it, and RoleSessionAction can also trigger it. |
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 |
RequestResult |
playChangesPlugIn(Play pPlay)
Builds a request for the TAPAS support function of the same name and sends it to the Director |
RequestResult |
playPlugIn(Play pPlay)
Builds a request for the TAPAS support function of the same name and sends it to the Director. |
RequestResult |
playPlugOut(java.lang.String pPlayId,
java.lang.String pPlayVer)
Builds a request for the TAPAS support function of the same name and sends it to the Director |
RequestResult |
RoleSessionAction(RoleSession pRS,
ApplicationMessage pMessage)
Request to perform a RoleSessionAction, with the purpose to send a message from own actor to another. |
RequestResult |
subscribeCancel(java.lang.String subscribeID)
Request cancel of an existing subscription. |
RequestResult |
subscribeReport(java.lang.String[] subscribeReport,
long id)
Subscribe reports returned to the actor if the SubscribeRequest service is used. |
RequestResult |
subscribeRequest(SubscribeRequest spec)
SubscribeRequest for information about activity in the TAPAS system. |
| Methods inherited from class MicroTAPAS.MicroActor |
getGAI, start, status, term, terminalMove |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface MicroTAPAS.ControlInterface |
cleanUp |
| Constructor Detail |
public MicroApplicationActor()
| Method Detail |
public void closeBF()
public void init(ActorContext pAC)
init in class MicroActorpAC - context data for this actor
public RequestResult control(java.lang.String command,
java.lang.String[] pars)
throws java.lang.Exception
control in interface ControlInterfacecommand - First command line argument, used to denote a command name.
java.lang.Exception
public RequestResult actorEntry(RequestPars pRP)
throws java.lang.Exception
actorEntry in interface MicroActorInterfacepRP - Parameters for the activity this actorEntry will attempt to carry out
java.lang.Exception
public abstract RequestResult applicationActorEntry(RequestPars pRP)
throws java.lang.Exception
java.lang.Exception
public RequestResult subscribeReport(java.lang.String[] subscribeReport,
long id)
throws java.lang.Exception
subscribeReport - The reported set of events. A further description is given
in the 'SubscribeCollection' class.
java.lang.Exception
public RequestPars anyOtherRequestType(RequestPars pRP)
throws java.lang.Exception
pRP - The received request.
java.lang.Exception
public RequestResult playPlugIn(Play pPlay)
throws java.lang.Exception
pPlay - The play to be plugged in
java.lang.Exception
public RequestResult playChangesPlugIn(Play pPlay)
throws java.lang.Exception
pPlay - The play to be plugged in
java.lang.Exception
public RequestResult playPlugOut(java.lang.String pPlayId,
java.lang.String pPlayVer)
throws java.lang.Exception
pPlayId - ID string of the play to be plugged outpPlayVer - Version string of the play to be plugged out, null value means all versions plug out
java.lang.Exception
public RequestResult actorPlugIn(ActorPlugInReq request)
throws java.lang.Exception
request - Application specified parameters for the request
java.lang.Exception
public RequestResult actorBehaviourPlugIn(java.lang.String pRoleId)
throws java.lang.Exception
pRoleId - New role to be assigned to actor
java.lang.Exception
public RequestResult actorChangeBehaviour(java.lang.String pRoleId,
java.lang.String[] pars)
throws java.lang.Exception
actorChangeBehaviour(String, Object)
pRoleId - 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 actorInterface)
throws java.lang.Exception
pRoleId - New role to be assigned to actor
java.lang.Exception
public RequestResult actorBehaviourPlugOut()
throws java.lang.Exception
java.lang.Exception
public RequestResult actorPlugOut(RoleSession pRS,
boolean isMoved)
throws java.lang.Exception
pRS - This RoleSession specifies which actor to be plugged out
java.lang.Exception
public RequestResult ActorPlay(GAI ident)
throws java.lang.Exception
ident - The actor to request for ActorPlay
java.lang.Exception
public RequestResult subscribeRequest(SubscribeRequest spec)
throws java.lang.Exception
spec - Specifies the type of subscription request for.
java.lang.Exception
public RequestResult subscribeCancel(java.lang.String subscribeID)
throws java.lang.Exception
subscribeID - Identification of the subscription (given when initiated)
java.lang.Exception
public RequestResult RoleSessionAction(RoleSession pRS,
ApplicationMessage pMessage)
throws java.lang.Exception
pRS - The role session to use. Will determine who will be the receiverpMessage - The application specific message to send.
java.lang.Exception
public RequestResult ActorCapabilities(int opType,
CapabilitySet caps)
throws java.lang.Exception
opType - Specifies 'Set', 'Add' or 'Remove' as operation typecaps - The set of capabilities to add, set or remove
java.lang.Exceptionpublic Item help()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||