lime
Class RemoteTupleOpDescriptor

java.lang.Object
  extended bylime.OpDescriptor
      extended bylime.RemoteOpDescriptor
          extended bylime.TSOpDescriptor
              extended bylime.RemoteTupleOpDescriptor
All Implemented Interfaces:
java.io.Serializable

class RemoteTupleOpDescriptor
extends TSOpDescriptor


Field Summary
(package private)  LimeServerID dest
          Where the message is destined.
(package private)  boolean isGroupCast
          Is this message a group cast?
(package private)  AgentID opDestAgent
          The destination agent (or null if host).
(package private)  AgentID opSourceAgent
          The source agent (or null if host).
(package private)  long seqNum
           
(package private)  LimeServerID source
          The ID of the LimeServer on which this descriptor was created.
(package private)  AgentID sourceAgent
           
(package private)  java.lang.String tsName
           
(package private)  lights.interfaces.ITuple tuple
           
(package private)  short type
          The type of the operation.
 
Constructor Summary
(package private) RemoteTupleOpDescriptor(LimeServerID dest, short type, lights.interfaces.ITuple tuple, java.lang.String tsName, long seqNum, AgentID sourceAgent, AgentID destAgent)
          For simple tuple operations to be performed on remote tuple spaces, and for replies to remote operations.
 
Method Summary
(package private)  AgentID getIncomingOpDestAgent()
           
(package private)  AgentID getIncomingOpSourceAgent()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tuple

lights.interfaces.ITuple tuple

seqNum

long seqNum

tsName

java.lang.String tsName

sourceAgent

AgentID sourceAgent

source

LimeServerID source
The ID of the LimeServer on which this descriptor was created. It is automatically initialized by the constructor.


dest

transient LimeServerID dest
Where the message is destined.


opSourceAgent

transient AgentID opSourceAgent
The source agent (or null if host).


opDestAgent

transient AgentID opDestAgent
The destination agent (or null if host).


isGroupCast

transient boolean isGroupCast
Is this message a group cast?


type

short type
The type of the operation.

Constructor Detail

RemoteTupleOpDescriptor

RemoteTupleOpDescriptor(LimeServerID dest,
                        short type,
                        lights.interfaces.ITuple tuple,
                        java.lang.String tsName,
                        long seqNum,
                        AgentID sourceAgent,
                        AgentID destAgent)
For simple tuple operations to be performed on remote tuple spaces, and for replies to remote operations. Only difference between this and an UponOpDescriptor is that this does not have a mode associated with it.

Parameters:
type - operation type: any remote operation.
tuple - a tuple template or value
tsName - the named tuple space that requested the operation
seqNum - the reference into the PendingUpon data structure.
sourceAgent - the agent that requested the operation.
Method Detail

toString

public java.lang.String toString()

getIncomingOpSourceAgent

AgentID getIncomingOpSourceAgent()

getIncomingOpDestAgent

AgentID getIncomingOpDestAgent()