
public class MyServiceCallee extends ServiceCallee
handleCall(ServiceCall) is
our callback method.| Modifier and Type | Field and Description |
|---|---|
static String |
INPUT_LIGHT_URI |
static String |
SERVICE_TURN_ON |
busResourceURI, owner, theBus| Constructor and Description |
|---|
MyServiceCallee(ModuleContext context) |
| 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.
|
static ServiceProfile[] |
getProfiles()
Create the service profile that describes what the service does.
|
ServiceResponse |
handleCall(ServiceCall call)
The actual service method of the
ServiceCallee. |
addNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfilesclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic static String SERVICE_TURN_ON
public static String INPUT_LIGHT_URI
public MyServiceCallee(ModuleContext context)
public static ServiceProfile[] getProfiles()
public ServiceResponse handleCall(ServiceCall call)
ServiceCalleeServiceCallee. It is called
by the bus whenever there is a call that need to be serviced by this
ServiceCallee.handleCall in class ServiceCalleecall - the call that needs to be serviced.ServiceCallee.handleCall(ServiceCall)public void communicationChannelBroken()
ServiceCalleecommunicationChannelBroken in class ServiceCalleeServiceCallee.communicationChannelBroken()Copyright © 2018 universAAL Consortium. All rights reserved.