lime
Class ResultReactions

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

class ResultReactions
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) ResultReactions()
           
 
Method Summary
(package private)  RegisteredReaction[] getReactions()
           
(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 setReactions(RegisteredReaction[] reactions)
           
 
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

ResultReactions

ResultReactions()
Method Detail

getReactions

RegisteredReaction[] getReactions()

setReactions

void setReactions(RegisteredReaction[] reactions)

hold

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


release

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