|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lime.Reaction lime.RegisteredReaction lime.motes.MoteRegisteredReaction
This class extends Lime's RegisteredReaction basically adding the MoteID information. It has the same meaning that lime.RegisteredReaction has in Lime.
lime.RegisteredReaction.
,
Serialized FormField Summary | |
private RequestID |
id
ID of the request, used for identifying it in the motes subsystem. |
private MoteID |
moteID
The id of the MoteID we are setting the reaction on. |
Fields inherited from class lime.RegisteredReaction |
|
Fields inherited from class lime.Reaction |
ONCE, ONCEPERTUPLE |
Constructor Summary | |
MoteRegisteredReaction(RequestID id,
MoteID moteID,
RegisteredReaction r)
Public constructor that allows to build a MoteRegisteredReaction starting from a RequestID, which is the one that identifies the reaction in the whole motes subsystem, the MoteID (that may be unspecified) that idicates the reaction loacation at the motes level, and the RegisteredReaction as in the construction of a lime RegisteredReaction. |
Method Summary | |
RequestID |
getId()
Getter for the request id. |
MoteID |
getMoteID()
Getter for the MoteID attribute. |
Methods inherited from class lime.RegisteredReaction |
getSeqNum, getSubscriber, getTupleSpaceName, isWeakReaction, toString |
Methods inherited from class lime.Reaction |
getCurrentLocation, getDestinationLocation, getListener, getMode, getTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private RequestID id
private MoteID moteID
Constructor Detail |
public MoteRegisteredReaction(RequestID id, MoteID moteID, RegisteredReaction r)
id
- the id of the request.moteID
- location of the reaction at the motes level. May be unspecified.r
- the lime RegisteredReaction.Method Detail |
public RequestID getId()
public MoteID getMoteID()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |