|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlime.motes.MoteLimeTupleSpace.MotesReactionInterceptor
This private class is used to convert a tuple that was requested with a reaction from the lime format to the lime.motes format (i.e. extracting the MoteID).
Field Summary | |
(package private) MoteLimeTemplate |
lt
The template we'll react to. |
(package private) ReactionListener |
realListener
The listener we will return the tuple to. |
Constructor Summary | |
MoteLimeTupleSpace.MotesReactionInterceptor(MoteLimeTemplate ml,
ReactionListener rl)
Parameter is the real listener that will be returned of the tuple once the MoteID has been popped out of the tuple. |
Method Summary | |
void |
reactsTo(ReactionEvent e)
This method must extract the MoteID from the returned tuple, and create a ReactionEvent that will be returned to the real listener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
ReactionListener realListener
MoteLimeTemplate lt
Constructor Detail |
public MoteLimeTupleSpace.MotesReactionInterceptor(MoteLimeTemplate ml, ReactionListener rl)
rl
- the Reactionlistener
that sill be returned of the tuple.Method Detail |
public void reactsTo(ReactionEvent e)
reactsTo
in interface ReactionListener
e
- the reaction event that contains a tuple that includes
the MoteID, which will be taken out of the tuple.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |