MicroTAPAS
Class MicroActor

java.lang.Object
  |
  +--MicroTAPAS.MicroActor
All Implemented Interfaces:
ControlInterface, MicroActorInterface, java.io.Serializable
Direct Known Subclasses:
MicroApplicationActor, MicroDirectorActor, MicroTAPAS.mobility.MobilitySupportActor

public abstract class MicroActor
extends java.lang.Object
implements MicroActorInterface, ControlInterface, java.io.Serializable

Abstract class for both ApplicatioActors and DirectorActors

See Also:
Serialized Form

Field Summary
 ActorContext context
          Context data for this Actor
 Debug debug
          Debug
 java.util.Properties properties
          System properties
 
Constructor Summary
MicroActor()
           
 
Method Summary
 java.lang.String getGAI()
          Simple utility to convert GAI value to "Actor://node/pss/name" formatted String
 void init(ActorContext pContext)
          To leave constructor empty, this method is used to initialize Object data
 void start()
          Start method from the ActorInterface, here only to send Debug info
 Item status()
          Status report of the Actor in Item hierarchy of information element
 void term()
          Terminate method from the ActorInterface.
 void terminalMove(java.lang.String oldNode, java.lang.String newNode)
          Method to update all relevant properties once a terminal has moved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface MicroTAPAS.MicroActorInterface
actorEntry
 
Methods inherited from interface MicroTAPAS.ControlInterface
cleanUp, control
 

Field Detail

context

public ActorContext context
Context data for this Actor


properties

public java.util.Properties properties
System properties


debug

public Debug debug
Debug

Constructor Detail

MicroActor

public MicroActor()
Method Detail

init

public void init(ActorContext pContext)
To leave constructor empty, this method is used to initialize Object data

Parameters:
pContext - context data for this actor

terminalMove

public void terminalMove(java.lang.String oldNode,
                         java.lang.String newNode)
Method to update all relevant properties once a terminal has moved. Called by MicroActorManager.

Parameters:
oldNode - The old node
newNode - The new node

status

public Item status()
Status report of the Actor in Item hierarchy of information element

Returns:
Whatever context.status() returns

getGAI

public java.lang.String getGAI()
Simple utility to convert GAI value to "Actor://node/pss/name" formatted String

Returns:
linearized String-form of GAI fields

start

public void start()
Start method from the ActorInterface, here only to send Debug info

Specified by:
start in interface MicroActorInterface

term

public void term()
Terminate method from the ActorInterface. Closes the debug window

Specified by:
term in interface MicroActorInterface