moteaccess
Interface TOSMoteAccessUI

All Known Implementing Classes:
SwingTOSMoteAccessUI, TextTOSMoteAccessUI

public interface TOSMoteAccessUI

Author:
Matteo Giani

Method Summary
 void addedReaction(RequestID rid, MoteReaction req)
          Notifies the user that a new reaction has been installed.
 void addedRequest(RequestID rid, MoteRequest req)
          Notifies the user that a new request is being sent to the network.
 void printStatusLine(java.lang.String status)
          Prints a status message.
 void stoppedReaction(RequestID rid, MoteReaction req, java.lang.String reason)
          Notifies the user that a reaction was stopped.
 void stoppedRequest(RequestID rid, MoteRequest req, java.lang.String reason)
          Notifies the user that a running request was stopped.
 

Method Detail

printStatusLine

public void printStatusLine(java.lang.String status)
Prints a status message.

Parameters:
status - : status message to print.

addedRequest

public void addedRequest(RequestID rid,
                         MoteRequest req)
Notifies the user that a new request is being sent to the network.

Parameters:
req - : the MoteRequest object describing the new request.

addedReaction

public void addedReaction(RequestID rid,
                          MoteReaction req)
Notifies the user that a new reaction has been installed.

Parameters:
req - : the MoteReaction object describing the new reaction.

stoppedRequest

public void stoppedRequest(RequestID rid,
                           MoteRequest req,
                           java.lang.String reason)
Notifies the user that a running request was stopped.

Parameters:
req - : the MoteRequest that just stopped.
reason - : the reason why the request was stopped.

stoppedReaction

public void stoppedReaction(RequestID rid,
                            MoteReaction req,
                            java.lang.String reason)
Notifies the user that a reaction was stopped.

Parameters:
req - : the MoteReaction that just stopped.
reason - : the reason why the reaction was stopped.