|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlime.LSTSListener
A simple listener for the Lime System Tuple Space which returns the tuple that triggered the event to the process waiting for the tuple. It will be used for the WaitToRead operation. Because the LSTS does not have a WaitToTake, there is no need to add that functionality to this listener in order to have a more general listener. It is also NOT possible to use the SystemUponListener which is used for upons because of the complications with handling the PendingUpon structure. Otherwise, the basic functionality is the same (for a read, return the tuple).
Field Summary | |
(package private) ResultTuple |
resultTuple
|
Constructor Summary | |
(package private) |
LSTSListener(ResultTuple resultTuple)
|
Method Summary | |
void |
reactsTo(ReactionEvent e)
This method is invoked automatically by the system when the corresponding reaction must be fired. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
ResultTuple resultTuple
Constructor Detail |
LSTSListener(ResultTuple resultTuple)
Method Detail |
public void reactsTo(ReactionEvent e)
ReactionListener
reactsTo
in interface ReactionListener
e
- the event that triggered the reaction.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |