Package | Description |
---|---|
de.hawhamburg.reachability.sensor |
Common data objects and enumerations related to sensor adapters.
|
de.hawhamburg.reachability.sensor.adapter |
All defined sensor adapter to get the reasoner inhabitant informations.
|
Modifier and Type | Field and Description |
---|---|
private SensorAdapter |
SensorAgent.worker
The
SensorAdapter , a thread which provides sensor data of a certain context dimension in an internal data
format. |
Modifier and Type | Method and Description |
---|---|
static SensorAdapter |
SensorAdapterFactory.getConnectedSensorAdapter(java.lang.String className,
ReasonerDimension dimension)
Loads the adapter specified by its class name from the sub-package "adapter" using
SensorAdapterFactory.getSensorAdapter(String, ReasonerDimension) and connects it afterwards using
connect() . |
static SensorAdapter |
SensorAdapterFactory.getSensorAdapter(java.lang.String className,
ReasonerDimension dimension)
Tries to instantiate a
SensorAdapter by a supplied class name from the sub-package "adapter". |
Constructor and Description |
---|
SensorAgent(SensorAdapter adapter)
Create a new
SensorAgent which starts the supplied SensorAdapter as LifeCycleApp and
manages control messages for this SensorAdapter , such as "start", "stop", "info" and "sleep". |
Modifier and Type | Class and Description |
---|---|
class |
ExampleAdapter
Example
SensorAdapter to illustrate the basic sensor agent implementation. |
class |
GoogleCalendarAdapter
Sensor to read events from the users Google(TM) calendar.
|
class |
GoogleCalendarHookAdapter
Sensor to read events from the users Google(TM) calendar using the projects google calendar hook service via
ActiveMQ.
|
class |
LP3DObjectLocationAdapter
Sensor to locate the inhabitants position.
|
class |
RSDFAdapter
Receiving simulated sensor data for certain context dimensions.
|
class |
StressCompanionAdapter
Sensor to determine the inhabitants level of stress.
|
class |
TimeAdapter
Sensor to sense the current system time.
|