| Package | Description | 
|---|---|
| de.hawhamburg.reachability | The reachability agents root package which contains common configuration, services and tools, the worker threads and 
 its main start classes. | 
| de.hawhamburg.reachability.json | Basic reachability JSON messages. | 
| de.hawhamburg.reachability.reasoner.enumeration | Important enumerations required for the reasoning engines. | 
| de.hawhamburg.reachability.registry.json | Reachability agent registry service related JSON messages. | 
| de.hawhamburg.reachability.sensor | Common data objects and enumerations related to sensor adapters. | 
| Modifier and Type | Field and Description | 
|---|---|
| private java.util.Map<ReasonerDimension,java.util.List<java.lang.String>> | ReachabilityWorker. registeredSensors | 
| private java.util.Map<ReasonerDimension,java.lang.String> | ReachabilityWorker. runningSensorsA  Mapof context dimensions (ReasonerDimension) to sensor agents, which contains all actual
 running sensor agents and their specific context dimension. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ReachabilityWorker. register(RegistryAgentType type,
        java.lang.String name,
        ReasonerDimension dimension)Registers a new component. | 
| private void | ReachabilityWorker. startSensor(ReasonerDimension dimension,
           java.lang.String sensor)Starts a certain sensor agent by sending a start control message. | 
| private void | ReachabilityWorker. stopSensor(ReasonerDimension dimension,
          java.lang.String sensor)Stops a certain sensor agent by sending a sleep control message. | 
| private void | ReachabilityWorker. suspendSensor(ReasonerDimension dimension,
             java.lang.String sensor)Suspends a certain sensor agent by sending a sleep control message. | 
| void | ReachabilityWorker. unregister(RegistryAgentType type,
          java.lang.String name,
          ReasonerDimension dimension)Unregisters a component (sensor or reasoner agent) and handles its consequences. | 
| Modifier and Type | Field and Description | 
|---|---|
| ReasonerDimension | JsonReachabilitySensorData. DimensionThe context dimension, for which this data is meant, as  ReasonerDimension. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ReasonerDimension | ReasonerDimension. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ReasonerDimension[] | ReasonerDimension. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Field and Description | 
|---|---|
| ReasonerDimension | JsonRARegistryMessage. DimensionThe context dimension which this agent may support (only for  RegistryAgentType.SENSORasReasonerDimension. | 
| Modifier and Type | Field and Description | 
|---|---|
| private ReasonerDimension | SensorData. dimensionThe  ReasonerDimensionfor which this data object was measured. | 
| Modifier and Type | Method and Description | 
|---|---|
| ReasonerDimension | SensorData. getDimension()Returns the data dimension as  ReasonerDimension. | 
| Constructor and Description | 
|---|
| SensorData(java.lang.String sensorName,
          ReasonerDimension dataDimension,
          double sensorValue)Creates a new sensor data object. | 
| SensorData(java.lang.String sensorName,
          ReasonerDimension dataDimension,
          double[] sensorValues)Creates a new sensor data object. | 
| SensorData(java.lang.String sensorName,
          ReasonerDimension dataDimension,
          java.util.Map<java.lang.Integer,java.lang.Double> sensorValues)Creates a new sensor data object. |