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, removeMatchingProfiles
close, getComment, getLabel, getType, getURI, setComment, setLabel
public static String SERVICE_TURN_ON
public static String INPUT_LIGHT_URI
public MyServiceCallee(ModuleContext context)
public static ServiceProfile[] getProfiles()
public ServiceResponse handleCall(ServiceCall call)
ServiceCallee
ServiceCallee
. It is called
by the bus whenever there is a call that need to be serviced by this
ServiceCallee
.handleCall
in class ServiceCallee
call
- the call that needs to be serviced.ServiceCallee.handleCall(ServiceCall)
public void communicationChannelBroken()
ServiceCallee
communicationChannelBroken
in class ServiceCallee
ServiceCallee.communicationChannelBroken()
Copyright © 2018 universAAL Consortium. All rights reserved.