org.universAAL.samples.sensor.simulator
Class RoomTemperaturePublisher
java.lang.Object
org.universAAL.samples.sensor.simulator.RoomTemperaturePublisher
public class RoomTemperaturePublisher
- extends Object
Class used for publishing room temperature
Constructor Summary |
protected |
RoomTemperaturePublisher(ModuleContext context)
Constructor Here we set ContextEventPattern and add restrictions to it
that tell universAAL platform which infofmation we want to recieve |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
SLEEPING_ROOM_TEMP_SENSOR
public static final String SLEEPING_ROOM_TEMP_SENSOR
- See Also:
- Constant Field Values
LIVING_ROOM_TEMP_SENSOR
public static final String LIVING_ROOM_TEMP_SENSOR
- See Also:
- Constant Field Values
BATHROOM_TEMP_SENSOR
public static final String BATHROOM_TEMP_SENSOR
- See Also:
- Constant Field Values
KITCHEN_TEMP_SENSOR
public static final String KITCHEN_TEMP_SENSOR
- See Also:
- Constant Field Values
HOBBY_ROOM_TEMP_SENSOR
public static final String HOBBY_ROOM_TEMP_SENSOR
- See Also:
- Constant Field Values
myContextPublisher
public static ContextPublisher myContextPublisher
myModuleContext
public static ModuleContext myModuleContext
RoomTemperaturePublisher
protected RoomTemperaturePublisher(ModuleContext context)
- Constructor Here we set ContextEventPattern and add restrictions to it
that tell universAAL platform which infofmation we want to recieve
- Parameters:
context
-
publishContextEvent
public void publishContextEvent(TemperatureSensor temperatureSensor)
- Publish ContextEvent connected to temperatureSensor parameter
- Parameters:
temperatureSensor
-
Copyright © 2014 universAAL Consortium. All Rights Reserved.