
public class ServiceProvider extends ServiceCallee
busResourceURI, owner, theBus| Constructor and Description |
|---|
ServiceProvider(ModuleContext mc,
ServiceProfile[] profiles,
ScriptEngine engine,
String callback) |
| 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.
|
ServiceResponse |
handleCall(ServiceCall call)
The actual service method of the
ServiceCallee. |
addNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfilesclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic ServiceProvider(ModuleContext mc, ServiceProfile[] profiles, ScriptEngine engine, String callback)
public void communicationChannelBroken()
ServiceCalleecommunicationChannelBroken in class ServiceCalleepublic 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.Copyright © 2018 universAAL Consortium. All rights reserved.