
public class PresenceDetectorCallee extends ExporterSensorCallee implements it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.event.OccupancyListener
IN_DEVICE, NAMESPACE, newProfiles, OUT_GET_VALUE, SERVICE_GET_VALUEbusResourceURI, owner, theBus| Constructor and Description |
|---|
PresenceDetectorCallee(ModuleContext context,
it.cnr.isti.zigbee.ha.device.api.lighting.OccupancySensor serv)
Constructor to be used in the exporter, which sets up all the exporting
process.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changedOccupancy(it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.event.OccupancyEvent event) |
protected ServiceResponse |
getValue()
This is a sensor, so it must provide its sensed value when asked.
|
communicationChannelBroken, getServiceProfiles, handleCall, unregisteraddNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfilesclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic PresenceDetectorCallee(ModuleContext context, it.cnr.isti.zigbee.ha.device.api.lighting.OccupancySensor serv)
context - The OSGi contextserv - The OSGi service backing the interaction with the device in
the abstraction layerprotected ServiceResponse getValue()
ExporterSensorCalleegetValue in class ExporterSensorCalleepublic void changedOccupancy(it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.event.OccupancyEvent event)
changedOccupancy in interface it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.event.OccupancyListenerCopyright © 2018 universAAL Consortium. All rights reserved.