
public class CalleeWrapper extends ServiceCallee
| Modifier and Type | Field and Description |
|---|---|
static Hashtable<String,ServiceResponse> |
pendingCalls |
static String |
PROP_ORIGIN_CALL |
busResourceURI, owner, theBus| Constructor and Description |
|---|
CalleeWrapper(ModuleContext context,
ServiceProfile[] realizedServices,
Callee r,
String t) |
| 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.
|
Callee |
getResource() |
ServiceResponse |
handleCall(ServiceCall call)
The actual service method of the
ServiceCallee. |
void |
handleResponse(ServiceResponse newresponse,
String origin) |
void |
setResource(Callee resource) |
addNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfilesclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic static final String PROP_ORIGIN_CALL
public static Hashtable<String,ServiceResponse> pendingCalls
public CalleeWrapper(ModuleContext context, ServiceProfile[] realizedServices, Callee r, String t)
public Callee getResource()
public void setResource(Callee resource)
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.public void handleResponse(ServiceResponse newresponse, String origin)
Copyright © 2018 universAAL Consortium. All rights reserved.