MicroTAPAS
Class ActorPlugInReq

java.lang.Object
  |
  +--MicroTAPAS.ActorPlugInReq
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
 ActorContext context
          If old actor
 GAI location
          preferred location of new actor -or- location of existing actor; after plugIn: location of cooperator
 java.lang.String moveStrategy
          The selected move strategy for the actor
 Play play
          Play that the role belongs to, Director fills this by looking up role in repertoire base
 java.util.Hashtable props
          The properties for this actor
 Role role
          Role that the new actor will play
 CapabilitySet rqCaps
          The set of actor capabilities required.
 CapabilitySet rsCaps
          The set of actor capabilities asked for, if possible
 
Constructor Summary
ActorPlugInReq(ActorPlugInReq apir)
          Constructor to create a copy of the supplied APIR.
ActorPlugInReq(GAI pLocation, Role pRole)
          Deprecated. Only kept for backward compatibility
ActorPlugInReq(GAI pLocation, Role pRole, CapabilitySet rqc, CapabilitySet rsc)
          Deprecated. Only kept for backward compatibility
ActorPlugInReq(GAI pLocation, Role pRole, CapabilitySet rqc, CapabilitySet rsc, java.lang.String pMoveStrategy, ActorContext pContext)
          Constructor used for plugging in a moved actor
 
Method Summary
 java.lang.String toString()
          Simple utility to convert data field values into one string for debug purposes
static java.lang.String toString(ActorPlugInReq obj)
          Simple utility to convert data field values into one string for debug purposes
 boolean validate(int level)
          Validation of a request specification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

location

public GAI location
preferred location of new actor -or- location of existing actor; after plugIn: location of cooperator


role

public Role role
Role that the new actor will play


play

public Play play
Play that the role belongs to, Director fills this by looking up role in repertoire base


rqCaps

public CapabilitySet rqCaps
The set of actor capabilities required. Also used to keep current set of capabilities for actor when stored in Playing base .


rsCaps

public CapabilitySet rsCaps
The set of actor capabilities asked for, if possible


props

public java.util.Hashtable props
The properties for this actor


moveStrategy

public java.lang.String moveStrategy
The selected move strategy for the actor


context

public ActorContext context
If old actor

Constructor Detail

ActorPlugInReq

public ActorPlugInReq(GAI pLocation,
                      Role pRole)
Deprecated. Only kept for backward compatibility

Constructor only to fill data fields


ActorPlugInReq

public ActorPlugInReq(GAI pLocation,
                      Role pRole,
                      CapabilitySet rqc,
                      CapabilitySet rsc)
Deprecated. Only kept for backward compatibility

Constructor only to fill data fields


ActorPlugInReq

public ActorPlugInReq(GAI pLocation,
                      Role pRole,
                      CapabilitySet rqc,
                      CapabilitySet rsc,
                      java.lang.String pMoveStrategy,
                      ActorContext pContext)
Constructor used for plugging in a moved actor


ActorPlugInReq

public ActorPlugInReq(ActorPlugInReq apir)
Constructor to create a copy of the supplied APIR.

Method Detail

toString

public java.lang.String toString()
Simple utility to convert data field values into one string for debug purposes

Overrides:
toString in class java.lang.Object
Returns:
The string containing data field values

toString

public static java.lang.String toString(ActorPlugInReq obj)
Simple utility to convert data field values into one string for debug purposes

Parameters:
obj - Object to convert to string - if existing
Returns:
The string containing data field values

validate

public boolean validate(int level)
Validation of a request specification

Parameters:
level - validation level
Returns:
true means ok, else invalid


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.