lime
Class ReactionsOpDescriptor

java.lang.Object
  extended bylime.OpDescriptor
      extended bylime.LocalOpDescriptor
          extended bylime.ReactionsOpDescriptor
All Implemented Interfaces:
java.io.Serializable

class ReactionsOpDescriptor
extends LocalOpDescriptor

A ReactionDescriptor is an operation that passes an array of reactions through the lime system.


Field Summary
(package private)  AgentID caller
           
(package private)  Lock lock
           
(package private)  Reaction[] reactions
           
(package private)  short type
          The type of the operation.
 
Constructor Summary
(package private) ReactionsOpDescriptor(short type, Reaction[] reactions, AgentID caller, Lock lock)
          ReactionDescriptor constructor for any local operation involving reacitons
 
Method Summary
(package private)  Reaction[] getValue()
          'getValue' returns the value of a reaction descriptor, namely a reaction array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reactions

Reaction[] reactions

caller

AgentID caller

lock

Lock lock

type

short type
The type of the operation.

Constructor Detail

ReactionsOpDescriptor

ReactionsOpDescriptor(short type,
                      Reaction[] reactions,
                      AgentID caller,
                      Lock lock)
ReactionDescriptor constructor for any local operation involving reacitons

Parameters:
type - type of the ReactionOpDescriptor. this will be a constant defined in the LimeTSMgr such as REACTSTO, REMOVEREACTSTO, UPON, REMOVEUPON
reactions - a list of reaction objects to be installed
caller - The agent that is posting the operation.
lock - the object the agent is locked on, or NULL if the agent is not blocked
Method Detail

getValue

Reaction[] getValue()
'getValue' returns the value of a reaction descriptor, namely a reaction array

Returns:
a value of type 'Reaction[]'