lime.motes
Class MoteAgent.MoteStopOperation

java.lang.Object
  extended bylime.motes.MoteAgent.MoteStopOperation
All Implemented Interfaces:
java.util.EventListener, ReactionListener, java.io.Serializable
Enclosing class:
MoteAgent

private class MoteAgent.MoteStopOperation
extends java.lang.Object
implements ReactionListener

This class is used to react to a tuple that indicates the command to stop a running operation on the motes (typically a reaction).


Constructor Summary
MoteAgent.MoteStopOperation()
          Public constructor that builds the listener.
 
Method Summary
 void reactsTo(ReactionEvent e)
          This implementation of the reactsTo simply stops the injected operation in the IMoteAccess.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoteAgent.MoteStopOperation

public MoteAgent.MoteStopOperation()
Public constructor that builds the listener.

Method Detail

reactsTo

public void reactsTo(ReactionEvent e)
This implementation of the reactsTo simply stops the injected operation in the IMoteAccess.

Specified by:
reactsTo in interface ReactionListener
Parameters:
e - the event that triggered the reaction.
See Also:
ReactionListener.reactsTo(lime.ReactionEvent)