MicroTAPAS
Class MicroDirectorActor

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

public abstract class MicroDirectorActor
extends MicroActor
implements java.io.Serializable

Practically empty or transparent class, same role for Directors as ApplicationActor for Applications.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class MicroTAPAS.MicroActor
bf, context, debug, fh, properties
 
Constructor Summary
MicroDirectorActor()
           
 
Method Summary
 RequestResult actorEntry(RequestPars pRP)
          Common entry point for all requests to an actor (called from PSS)
abstract  RequestResult directorActorEntry(RequestPars rp)
          Following method MUST be defined by the real director, else the real director will never be accessed.
 void init(ActorContext pAC)
          Initiation of common functionality for any director actor
 
Methods inherited from class MicroTAPAS.MicroActor
findRoleSession, getGAI, start, status, 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.ControlInterface
cleanUp, control
 

Constructor Detail

MicroDirectorActor

public MicroDirectorActor()
Method Detail

init

public void init(ActorContext pAC)
Initiation of common functionality for any director actor

Overrides:
init in class MicroActor
Parameters:
pAC - The defined director actor context

actorEntry

public RequestResult actorEntry(RequestPars pRP)
                         throws java.lang.Exception
Common entry point for all requests to an actor (called from PSS)

Specified by:
actorEntry in interface MicroActorInterface
Parameters:
pRP - The request specification
Returns:
The result of the request serving
java.lang.Exception

directorActorEntry

public abstract RequestResult directorActorEntry(RequestPars rp)
                                          throws java.lang.Exception
Following method MUST be defined by the real director, else the real director will never be accessed. This is the ONLY entry to director actor. This method is called from 'actorEntry()'.

Parameters:
rp - The request specification
Returns:
The result of the request execution
java.lang.Exception


The Telematics Architecture for Plug-and-Play Systems (TAPAS) is a research project undertaken by the Norwegian University of Science and Technology's Telematics department which aims at developing an architecture for network-based service systems with a) flexibility and adaptability, b) robustness and survivability, and c) QoS awareness and resource control.

More information can be found at the project's homepage at http://tapas.item.ntnu.no and the project manager, Professor Finn Arve Aagesen, can be reached at finn.arve.aagesen@item.ntnu.no.