
public class DimmerLightCallee extends ExporterDimmerCallee implements it.cnr.isti.zigbee.ha.cluster.glue.general.event.CurrentLevelListener
IN_DEVICE, IN_SET_VALUE, NAMESPACE, newProfiles, OUT_GET_VLAUE, SERVICE_GET_VALUE, SERVICE_SET_VALUEbusResourceURI, owner, theBus| Constructor and Description |
|---|
DimmerLightCallee(ModuleContext context,
it.cnr.isti.zigbee.ha.device.api.lighting.DimmableLight serv)
Constructor to be used in the exporter, which sets up all the exporting
process.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changedCurrentLevel(it.cnr.isti.zigbee.ha.cluster.glue.general.event.CurrentLevelEvent event) |
Integer |
executeGet()
When a GET STATUS service request is received, this method is called
automatically.
|
boolean |
executeSet(Integer value)
When a SET STATUS service request is received, this method is called
automatically.
|
communicationChannelBroken, getServiceProfiles, handleCall, unregisteraddNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfilesclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic DimmerLightCallee(ModuleContext context, it.cnr.isti.zigbee.ha.device.api.lighting.DimmableLight serv)
context - The OSGi contextserv - The OSGi service backing the interaction with the device in
the abstraction layerpublic Integer executeGet()
ExporterDimmerCalleeexecuteGet in class ExporterDimmerCalleepublic boolean executeSet(Integer value)
ExporterDimmerCalleeexecuteSet in class ExporterDimmerCalleevalue - The Integer representing the dimmed valuepublic void changedCurrentLevel(it.cnr.isti.zigbee.ha.cluster.glue.general.event.CurrentLevelEvent event)
changedCurrentLevel in interface it.cnr.isti.zigbee.ha.cluster.glue.general.event.CurrentLevelListenerCopyright © 2018 universAAL Consortium. All rights reserved.