public class TemperatureSensorCallee extends ExporterSensorCallee implements it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.event.MeasuredValueListener
IN_DEVICE, NAMESPACE, newProfiles, OUT_GET_VALUE, SERVICE_GET_VALUE
busResourceURI, owner, theBus
Constructor and Description |
---|
TemperatureSensorCallee(ModuleContext context,
it.cnr.isti.zigbee.ha.device.api.hvac.TemperatureSensor serv)
Constructor to be used in the exporter, which sets up all the exporting
process.
|
Modifier and Type | Method and Description |
---|---|
void |
changedMeasuredValue(it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.event.MeasuredValueEvent event) |
protected ServiceResponse |
getValue()
This is a sensor, so it must provide its sensed value when asked.
|
communicationChannelBroken, getServiceProfiles, handleCall, unregister
addNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfiles
close, getComment, getLabel, getType, getURI, setComment, setLabel
public TemperatureSensorCallee(ModuleContext context, it.cnr.isti.zigbee.ha.device.api.hvac.TemperatureSensor serv)
context
- The OSGi contextserv
- The OSGi service backing the interaction with the device in
the abstraction layerprotected ServiceResponse getValue()
ExporterSensorCallee
getValue
in class ExporterSensorCallee
public void changedMeasuredValue(it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.event.MeasuredValueEvent event)
changedMeasuredValue
in interface it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.event.MeasuredValueListener
Copyright © 2018 universAAL Consortium. All rights reserved.