|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SensorShellException | |
---|---|
org.hackystat.sensorshell | Implements the SensorShell service, which provides client-side "middleware" that facilitates collection and transmission of sensor data to a Hackystat server. |
org.hackystat.sensorshell.command | Provides the commands for the SensorShell. |
Uses of SensorShellException in org.hackystat.sensorshell |
---|
Methods in org.hackystat.sensorshell that throw SensorShellException | |
---|---|
void |
SingleSensorShell.add(java.util.Map<java.lang.String,java.lang.String> keyValMap)
Converts the values in the KeyValMap to a SensorData instance and adds it to the Shell. |
void |
Shell.add(java.util.Map<java.lang.String,java.lang.String> keyValMap)
Converts the values in the KeyValMap to a SensorData instance and adds it to the Shell. |
void |
SensorShell.add(java.util.Map<java.lang.String,java.lang.String> keyValMap)
Converts the values in the KeyValMap to a SensorData instance and adds it to the Shell. |
void |
MultiSensorShell.add(java.util.Map<java.lang.String,java.lang.String> keyValMap)
Converts the values in the KeyValMap to a SensorData instance and adds it to the Shell. |
void |
SingleSensorShell.add(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData sensorData)
Adds the passed SensorData instance to the Shell. |
void |
Shell.add(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData sensorData)
Adds the passed SensorData instance to the Shell. |
void |
SensorShell.add(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData sensorData)
Adds the passed SensorData instance to the Shell. |
void |
MultiSensorShell.add(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData sensorData)
Adds the passed SensorData instance to the Shell. |
static SensorShellProperties |
SensorShellProperties.getOfflineMode(SensorShellProperties properties)
Returns a new SensorShellProperties instance customized for offline data recovery. |
static SensorShellProperties |
SensorShellProperties.getTestInstance(java.lang.String host,
java.lang.String email,
java.lang.String password)
Constructs a "test" instance with the supplied three required properties. |
static void |
SensorShell.main(java.lang.String[] args)
The command line shell interface for invoking a single sensor shell interactively. |
(package private) void |
SingleSensorShell.processInputString(java.lang.String inputString)
Process a single input string representing a command. |
void |
SingleSensorShell.quit()
Invokes quit() on this Shell, which invokes a final send() and closes any logging files. |
void |
Shell.quit()
Invokes quit() on this Shell, which invokes a final send() and closes any logging files. |
void |
SensorShell.quit()
Invokes quit() on this Shell, which invokes a final send() and closes any logging files. |
void |
MultiSensorShell.quit()
Invokes quit() on this Shell, which invokes a final send() and closes any logging files. |
void |
OfflineManager.recover()
Attempts to resend any previously stored SensorDatas instances from their serialized files. |
int |
SingleSensorShell.send()
Immediately invokes send() on this Shell. |
int |
Shell.send()
Immediately invokes send() on this Shell. |
int |
SensorShell.send()
Immediately invokes send() on this Shell. |
int |
MultiSensorShell.send()
Immediately invokes send() on this Shell. |
void |
TestSensorShellProperties.testInvalidSensorProperties()
Tests basic functions of an invalid creation of a SensorProperties instance. |
void |
TestSensorShellProperties.testNullSensorProperties()
Tests basic functions of an invalid creation of a SensorProperties instance. |
Constructors in org.hackystat.sensorshell that throw SensorShellException | |
---|---|
SensorShellProperties()
Initializes SensorShell properties using the default sensorshell.properties file. |
|
SensorShellProperties(java.io.File sensorFile)
Creates a SensorShellProperties instance using the specified properties file. |
|
SensorShellProperties(java.util.Properties properties,
boolean overrideFile)
Creates a SensorShell properties instance, initializing it using the passed properties as well as any settings found in the sensorshell.properties file. |
|
SensorShellProperties(SensorShellProperties orig,
java.util.Properties newProps)
Creates and returns a new SensorShellProperties instance which is initialized to the contents of the passed SensorProperties instance, with additional new properties overriding the previous selection. |
|
SensorShellProperties(java.lang.String host,
java.lang.String email,
java.lang.String password)
Constructs a "basic" instance with the supplied three required properties. |
|
SensorShellProperties(java.lang.String host,
java.lang.String email,
java.lang.String password,
java.util.Properties properties,
boolean overrideFile)
Constructs an instance with the supplied three required properties and any other properties provided in the properties argument. |
Uses of SensorShellException in org.hackystat.sensorshell.command |
---|
Methods in org.hackystat.sensorshell.command that return SensorShellException | |
---|---|
SensorShellException |
AutoSendCommand.getException()
Returns the exception that was thrown during autosend, or null if none was thrown. |
Methods in org.hackystat.sensorshell.command that throw SensorShellException | |
---|---|
void |
SensorDataCommand.add(java.util.Map<java.lang.String,java.lang.String> keyValMap)
Given a Map containing key-value pairs corresponding to SensorData fields and properties, constructs a SensorData instance and stores it for subsequent sending to the SensorBase. |
void |
SensorDataCommand.add(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData data)
Adds the SensorData instance, invoking send if the max buffer size has been exceeded. |
void |
QuitCommand.quit()
Quits the shell. |
int |
SensorDataCommand.send()
Sends accumulated data, including offline and current data from the AddCommand. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |