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.
|
handleCall
addNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfiles
close, getComment, getLabel, getType, getURI, setComment, setLabel
public CalleeExample(ModuleContext context, String namespace, Actuator actuator) throws InvalidOntologyUtilException
InvalidOntologyUtilException
public boolean executeGet()
UtilActuatorCallee
executeGet
in class UtilActuatorCallee
public boolean executeOff()
UtilActuatorCallee
executeOff
in class UtilActuatorCallee
true
if the actuator could be set to OFFpublic boolean executeOn()
UtilActuatorCallee
executeOn
in class UtilActuatorCallee
true
if the actuator could be set to ONpublic void communicationChannelBroken()
ServiceCallee
communicationChannelBroken
in class ServiceCallee
Copyright © 2018 universAAL Consortium. All rights reserved.