lime
Class ResultTuple

java.lang.Object
  extended bylime.Lock
      extended bylime.Result
          extended bylime.ResultTuple

class ResultTuple
extends Result

Result will hold either a tuple or the response to the installation of the reaction (an array of objects). By extending lock, we have the ability to suspend and resume a thread on a result object.


Field Summary
(package private)  java.lang.Object value
           
 
Constructor Summary
(package private) ResultTuple()
           
 
Method Summary
(package private)  lights.interfaces.ITuple getTuple()
           
(package private)  void hold()
          hold: Suspend the thread on this instance of this object.
(package private)  void release()
          release: resume the thread suspended on this object.
(package private)  void setTuple(lights.interfaces.ITuple tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

java.lang.Object value
Constructor Detail

ResultTuple

ResultTuple()
Method Detail

getTuple

lights.interfaces.ITuple getTuple()

setTuple

void setTuple(lights.interfaces.ITuple tuple)

hold

void hold()
hold: Suspend the thread on this instance of this object.


release

void release()
release: resume the thread suspended on this object.