|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensorshell.command.Command
org.hackystat.sensorshell.command.AutoSendCommand
public class AutoSendCommand
Implements the AutoSend facility, which automatically sends all SensorData to the Sensorbase at regular intervals as specified in the sensorshell.autosend.timeinterval property.
Field Summary |
---|
Fields inherited from class org.hackystat.sensorshell.command.Command |
---|
cr, email, host, password, properties, shell |
Constructor Summary | |
---|---|
AutoSendCommand(SingleSensorShell shell,
SensorShellProperties properties)
Creates the AutoSendCommand and starts a timer-based process running that wakes up and invokes send based upon the value of the SensorShellProperties autosend timeinterval. |
Method Summary | |
---|---|
SensorShellException |
getException()
Returns the exception that was thrown during autosend, or null if none was thrown. |
void |
quit()
Cancels the timer if there is one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoSendCommand(SingleSensorShell shell, SensorShellProperties properties)
shell
- The sensorshell.properties
- The sensorproperties.Method Detail |
---|
public void quit()
public SensorShellException getException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |