public class SCallee extends ServiceCallee
Modifier and Type | Field and Description |
---|---|
protected static String |
NAMESPACE
Default namespace root.
|
busResourceURI, owner, theBus
Modifier | Constructor and Description |
---|---|
protected |
SCallee(ModuleContext context)
Default constructor.
|
protected |
SCallee(ModuleContext context,
ServiceProfile[] realizedServices)
Default 2-argument constructor.
|
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, removeMatchingProfiles
close, getComment, getLabel, getType, getURI, setComment, setLabel
protected static final String NAMESPACE
protected SCallee(ModuleContext context, ServiceProfile[] realizedServices)
context
- universAAL module contextrealizedServices
- provided service profilesprotected SCallee(ModuleContext context)
context
- universAAL module contextpublic void communicationChannelBroken()
ServiceCallee
communicationChannelBroken
in class ServiceCallee
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.Copyright © 2018 universAAL Consortium. All rights reserved.