MicroTAPAS
Class MicroDirector1

java.lang.Object
  |
  +--MicroTAPAS.MicroActor
        |
        +--MicroTAPAS.MicroDirectorActor
              |
              +--MicroTAPAS.MicroDirector1
All Implemented Interfaces:
ControlInterface, MicroActorInterface, java.io.Serializable

public class MicroDirector1
extends MicroDirectorActor
implements MicroActorInterface, ControlInterface, java.io.Serializable

Implementation of a Director for MicroTAPAS Dynamic Basic Support. Based almost entirely on PaP.Director1.java

See Also:
Serialized Form

Field Summary
 
Fields inherited from class MicroTAPAS.MicroActor
context, debug, properties
 
Constructor Summary
MicroDirector1()
           
 
Method Summary
 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
getGAI, term, terminalMove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface MicroTAPAS.MicroActorInterface
actorEntry, term
 

Constructor Detail

MicroDirector1

public MicroDirector1()
Method Detail

start

public void start()
To leave constructor empty, this method is used to fill data field values.

Specified by:
start in interface MicroActorInterface
Overrides:
start in class MicroActor

sendToPNES

public RequestResult sendToPNES(RequestPars pRP)
                         throws java.lang.Exception
Method to send requests to the parent entity.

Parameters:
pRP - TAPAS-syle request parameters.
Returns:
TAPAS-style request result.
java.lang.Exception

directorActorEntry

public RequestResult directorActorEntry(RequestPars pRP)
                                 throws java.lang.Exception
Entry point for Director from outside

Specified by:
directorActorEntry in class MicroDirectorActor
Parameters:
pRP - TAPAS-syle request parameters.
Returns:
TAPAS-style request result.
java.lang.Exception

control

public RequestResult control(java.lang.String pCommand,
                             java.lang.String[] pPars)
Controls the Director, invokes its functionality, BaseFrame input field can trigger it

Specified by:
control in interface ControlInterface
Parameters:
pCommand - First command line argument, used to denote a command name
Returns:
PaP style result indication of the operation

status

public Item status()
Status report of Director in Item hierarchy of information elements

Overrides:
status in class MicroActor
Returns:
Hierarchy of Item information elements

getUnique

public static int getUnique()
Allocation of a unique number within this actor

Returns:
Unique number

cleanUp

public void cleanUp()
Gives this TAPAS instance a chance to clean up when the DebugWindow is closed.

Specified by:
cleanUp in interface ControlInterface