PaP
Class ActorContext

java.lang.Object
  |
  +--PaP.ActorContext
All Implemented Interfaces:
java.io.Serializable

public class ActorContext
extends java.lang.Object
implements java.io.Serializable

ActorContext contains context data for all ApplicationActors and DirectorActors and consequently all the classes that inherits them.

See Also:
Serialized Form

Field Summary
 CapabilitySet capSet
          The actor's current set of capabilities
 java.lang.String DSL
          DebugServerLocation, takes the simple form of a IP node address
 GAI hI
          HomeInterface.
 java.lang.String nodeProfile
          Node profile for this node
 GAI parent
          GAI value pointing to the creator Actor.
 GAI pas
          GAI value pointing to the PAS of the Actor
 Play play
          Information about the actor's play definition
 Role role
          Information about the actor's role definition
 RoleSessionCollection rsc
          Vector of RoleSessions this Actor holds
 GAI self
          GAI value pointing to the very same Actor.
 
Constructor Summary
ActorContext(GAI pGAI, GAI pParent, GAI pPas, GAI pHI, java.lang.String pDSL, CapabilitySet caps, Play pPlay, Role pRole, java.lang.String profile)
          Creates a new ActorContext and sets the data variables to the specified values.
 
Method Summary
 Item status()
          Returns the status of this ActorContext in the form of an Item containing an array of Items.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

self

public GAI self
GAI value pointing to the very same Actor.

parent

public GAI parent
GAI value pointing to the creator Actor. This is the sender of the actor's ActorPlugIn request.

pas

public GAI pas
GAI value pointing to the PAS of the Actor

hI

public GAI hI
HomeInterface. GAI value pointing to the assigned Director of the Actor

DSL

public java.lang.String DSL
DebugServerLocation, takes the simple form of a IP node address

rsc

public RoleSessionCollection rsc
Vector of RoleSessions this Actor holds

capSet

public CapabilitySet capSet
The actor's current set of capabilities

play

public Play play
Information about the actor's play definition

role

public Role role
Information about the actor's role definition

nodeProfile

public java.lang.String nodeProfile
Node profile for this node
Constructor Detail

ActorContext

public ActorContext(GAI pGAI,
                    GAI pParent,
                    GAI pPas,
                    GAI pHI,
                    java.lang.String pDSL,
                    CapabilitySet caps,
                    Play pPlay,
                    Role pRole,
                    java.lang.String profile)
Creates a new ActorContext and sets the data variables to the specified values. This includes setting its capability set.
Parameters:
pGAI - Own actor identifier
pParent - This actor creator actor
pPas - This actor's PAS owner
pHI - Actor's Director identifier
pDSL - Actor's Debug server
caps - Actor's capability set
pPlay - Actor's play info
pRole - Actor's role info
Method Detail

status

public Item status()
Returns the status of this ActorContext in the form of an Item containing an array of Items. The Item array contains the values of all data fields in this class.
Returns:
Item containing the Item array with the status information.