public class CalleeExample extends UtilActuatorCallee
busResourceURI, owner, theBus| Constructor and Description |
|---|
CalleeExample(ModuleContext context,
String namespace,
Actuator actuator) |
| Modifier and Type | Method and Description |
|---|---|
void |
communicationChannelBroken()
This abstract method is called for each member of the bus when the bus is
being stopped.
|
boolean |
executeGet()
When a GET STATUS service request is received, this method is called
automatically.
|
boolean |
executeOff()
When a SET OFF service request is received, this method is called
automatically.
|
boolean |
executeOn()
When a SET ON service request is received, this method is called
automatically.
|
handleCalladdNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfilesclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic CalleeExample(ModuleContext context, String namespace, Actuator actuator) throws InvalidOntologyUtilException
InvalidOntologyUtilExceptionpublic boolean executeGet()
UtilActuatorCalleeexecuteGet in class UtilActuatorCalleepublic boolean executeOff()
UtilActuatorCalleeexecuteOff in class UtilActuatorCalleetrue if the actuator could be set to OFFpublic boolean executeOn()
UtilActuatorCalleeexecuteOn in class UtilActuatorCalleetrue if the actuator could be set to ONpublic void communicationChannelBroken()
ServiceCalleecommunicationChannelBroken in class ServiceCalleeCopyright © 2018 universAAL Consortium. All rights reserved.