org.universAAL.samples.sensor.simulator
Class RoomTemperaturePublisher

Package class diagram package RoomTemperaturePublisher
java.lang.Object
  extended by org.universAAL.samples.sensor.simulator.RoomTemperaturePublisher

public class RoomTemperaturePublisher
extends Object

Class used for publishing room temperature


Field Summary
static String BATHROOM_TEMP_SENSOR
           
static String HOBBY_ROOM_TEMP_SENSOR
           
static String KITCHEN_TEMP_SENSOR
           
static String LIVING_ROOM_TEMP_SENSOR
           
static ContextPublisher myContextPublisher
           
static ModuleContext myModuleContext
           
static String NAMESPACE
           
static String SLEEPING_ROOM_TEMP_SENSOR
           
 
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
 
Method Summary
 void publishContextEvent(TemperatureSensor temperatureSensor)
          Publish ContextEvent connected to temperatureSensor parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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 -
Method Detail

publishContextEvent

public void publishContextEvent(TemperatureSensor temperatureSensor)
Publish ContextEvent connected to temperatureSensor parameter

Parameters:
temperatureSensor -


Copyright © 2014 universAAL Consortium. All Rights Reserved.