lime
Class TupleOpDescriptor

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

class TupleOpDescriptor
extends LocalOpDescriptor

A TupleOpDescriptor will be an operation in one of the system processing vectors (namely incomingOps, incomingEvents, outgoing) that passes a tuple (either a pattern or an actual tuple). This will include operations that put tuples into the structure as well as those that request a tuple with a pattern, but will not include remote operations.


Field Summary
(package private)  AgentID caller
           
(package private)  Lock lock
           
(package private)  lights.interfaces.ITuple tuple
           
(package private)  short type
          The type of the operation.
 
Constructor Summary
(package private) TupleOpDescriptor(short type, lights.interfaces.ITuple tuple, AgentID caller, Lock lock)
          'TupleOpDescriptor' constructor for any local operation involving tuples
 
Method Summary
(package private)  lights.interfaces.ITuple getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tuple

lights.interfaces.ITuple tuple

caller

AgentID caller

lock

Lock lock

type

short type
The type of the operation.

Constructor Detail

TupleOpDescriptor

TupleOpDescriptor(short type,
                  lights.interfaces.ITuple tuple,
                  AgentID caller,
                  Lock lock)
'TupleOpDescriptor' constructor for any local operation involving tuples

Parameters:
type - type of the opearation
tuple - pattern or tuple
caller - The identifier of the agent posting the operation onto the tuple space.
lock - object the agent is locked on, or NULL if the agent is not blocked
Method Detail

getValue

lights.interfaces.ITuple getValue()