org.hackystat.sensorshell.command
Class Command

java.lang.Object
  extended by org.hackystat.sensorshell.command.Command
Direct Known Subclasses:
AutoSendCommand, PingCommand, QuitCommand, SensorDataCommand

public class Command
extends java.lang.Object

A class providing access to information useful for all Command instances.

Author:
Philip Johnson

Field Summary
protected  java.lang.String cr
          The line separator.
protected  java.lang.String email
          The client email.
protected  java.lang.String host
          The sensorbase host.
protected  java.lang.String password
          The client password.
protected  SensorShellProperties properties
          The SensorProperties.
protected  SingleSensorShell shell
          The sensorshell.
 
Constructor Summary
Command(SingleSensorShell shell, SensorShellProperties properties)
          Constructs a Command instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shell

protected SingleSensorShell shell
The sensorshell.


properties

protected SensorShellProperties properties
The SensorProperties.


host

protected java.lang.String host
The sensorbase host.


email

protected java.lang.String email
The client email.


password

protected java.lang.String password
The client password.


cr

protected java.lang.String cr
The line separator.

Constructor Detail

Command

public Command(SingleSensorShell shell,
               SensorShellProperties properties)
Constructs a Command instance. Only subclasses call this method.

Parameters:
shell - The sensorshell.
properties - The properties.