PaP
Interface ActorInterface

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Actor, Director1

public interface ActorInterface
extends java.io.Serializable

Interface that all actors implement through the abstract superclass Actor. This interface can also be used to reference the dynamically created Actor objects.

See Also:
Actor

Method Summary
 RequestResult actorEntry(RequestPars rp)
          Common entry point of Actors to invoke some activity from outside the Actors.
 void start()
          Common start-up entry point of all Actors after creation.
 void term()
          Common termination entry point of all Actors.
 

Method Detail

actorEntry

public RequestResult actorEntry(RequestPars rp)
                         throws java.lang.Exception
Common entry point of Actors to invoke some activity from outside the Actors.
Parameters:
rp - RequestPars which contains parameters for the activity this actorEntry will attempt to carry out.
Returns:
RequestResult that indicates wether the activity was carried out successfully or not.
Throws:
Exception. -  

start

public void start()
Common start-up entry point of all Actors after creation.

term

public void term()
Common termination entry point of all Actors.