|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--MicroTAPAS.MicroActor
|
+--MicroTAPAS.MicroDirectorActor
|
+--MicroTAPAS.MicroDirector1
Implementation of a Director for MicroTAPAS Dynamic Basic Support. Based almost entirely on PaP.Director1.java
| Field Summary | |
protected static boolean |
DEBUG
Determines whether debug info to be sent to debug-server |
private PlayingBase |
pb
Playing base for the director, holds active Actors in the domain it manages |
private RepertoireBase |
rb
Repertoire base for the director, holds plugged in plays and their manuscripts |
private SubscribeCollection |
sc
Subscription management, requested by actors and served by director |
private static int |
unique
Sequence of integers for unique naming of Actors and RoleSessions |
| Fields inherited from class MicroTAPAS.MicroActor |
bf, context, debug, fh, properties |
| Constructor Summary | |
MicroDirector1()
|
|
| Method Summary | |
private RequestResult |
actorPlugOut(RequestPars pRP,
GAI pActor)
Constructs an ActorPlugOut request, sends it to PNES and does administration if PlugOut confirmed by Actor |
void |
cleanUp()
Gives this TAPAS instance a chance to clean up when the DebugWindow is closed. |
RequestResult |
control(java.lang.String pCommand,
java.lang.String[] pPars)
Controls the Director, invokes its functionality, BaseFrame input field can trigger it |
RequestResult |
directorActorEntry(RequestPars pRP)
Entry point for Director from outside |
static int |
getUnique()
Allocation of a unique number within this actor |
RequestResult |
sendToPNES(RequestPars pRP)
Method to send requests to the parent entity. |
void |
start()
To leave constructor empty, this method is used to fill data field values. |
Item |
status()
Status report of Director in Item hierarchy of information elements |
| Methods inherited from class MicroTAPAS.MicroDirectorActor |
actorEntry, init |
| Methods inherited from class MicroTAPAS.MicroActor |
findRoleSession, getGAI, term, terminalMove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface MicroTAPAS.MicroActorInterface |
actorEntry, term |
| Field Detail |
protected static final boolean DEBUG
private RepertoireBase rb
private PlayingBase pb
private SubscribeCollection sc
private static int unique
| Constructor Detail |
public MicroDirector1()
| Method Detail |
public void start()
start in interface MicroActorInterfacestart in class MicroActor
public RequestResult sendToPNES(RequestPars pRP)
throws java.lang.Exception
pRP - TAPAS-syle request parameters.
java.lang.Exception
public RequestResult directorActorEntry(RequestPars pRP)
throws java.lang.Exception
directorActorEntry in class MicroDirectorActorpRP - TAPAS-syle request parameters.
java.lang.Exception
private RequestResult actorPlugOut(RequestPars pRP,
GAI pActor)
throws java.lang.Exception
pRP - The original ActorPlugOut request parameterspActor - The subject actor of the plug out request
java.lang.Exception
public RequestResult control(java.lang.String pCommand,
java.lang.String[] pPars)
control in interface ControlInterfacepCommand - First command line argument, used to denote a command name
public Item status()
status in class MicroActorpublic static int getUnique()
public void cleanUp()
cleanUp in interface ControlInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||