|
||||||||||
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.QuitCommand
public class QuitCommand
Implements the Quit command, which sends any buffered data and closes the loggers.
Field Summary |
---|
Fields inherited from class org.hackystat.sensorshell.command.Command |
---|
cr, email, host, password, properties, shell |
Constructor Summary | |
---|---|
QuitCommand(SingleSensorShell shell,
SensorShellProperties properties,
SensorDataCommand sensorDataCommand,
AutoSendCommand autoSendCommand)
Creates the QuitCommand. |
Method Summary | |
---|---|
void |
quit()
Quits the shell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuitCommand(SingleSensorShell shell, SensorShellProperties properties, SensorDataCommand sensorDataCommand, AutoSendCommand autoSendCommand)
shell
- The sensorshell.properties
- The sensorproperties.sensorDataCommand
- The SensorDataCommand.autoSendCommand
- The AutoSendCommand.Method Detail |
---|
public void quit() throws SensorShellException
SensorShellException
- if an exception occurred during an autosend event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |