
public class SwitchActuatorWrapper extends AbstractStatusValueCallee
IN_DEVICE, IN_SET_VALUE, namespace, newProfiles, OUT_GET_VALUE, SERVICE_GET_VALUE, SERVICE_SET_VALUEbusResourceURI, owner, theBus| Constructor and Description |
|---|
SwitchActuatorWrapper(ModuleContext context,
String itemName) |
| Modifier and Type | Method and Description |
|---|---|
StatusValue |
executeGet()
When a GET STATUS service request is received, this method is called
automatically.
|
boolean |
executeSet(StatusValue value)
When a SET STATUS service request is received, this method is called
automatically.
|
void |
publish(org.eclipse.smarthome.core.events.Event event)
This must be called from the single receiver once it determines it is up
to this wrapper to publish its state.
|
void |
unregister()
This will be called when its time to close.
|
communicationChannelBroken, getServiceProfileGET, getServiceProfiles, getServiceProfileSET, handleCalladdNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfilesclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic SwitchActuatorWrapper(ModuleContext context, String itemName)
public StatusValue executeGet()
AbstractStatusValueCalleeexecuteGet in class AbstractStatusValueCalleepublic boolean executeSet(StatusValue value)
AbstractStatusValueCalleeexecuteSet in class AbstractStatusValueCalleevalue - The StatusValue representing the dimmed valuepublic void publish(org.eclipse.smarthome.core.events.Event event)
GenericDeviceevent - The event data where to take info frompublic void unregister()
GenericDeviceunregister in interface GenericDeviceunregister in class AbstractStatusValueCalleeCopyright © 2018 universAAL Consortium. All rights reserved.