
public class DefaultServiceCaller extends ServiceCaller
ServiceCaller.call(org.universAAL.middleware.service.ServiceRequest)) or ignores
the asynchronous responses.busResourceURI, owner, theBus| Constructor and Description |
|---|
DefaultServiceCaller(ModuleContext context)
Constructor for usage by de-serializers.
|
| 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.
|
void |
handleResponse(String reqID,
ServiceResponse response)
Will be called automatically in a new thread whenever the response
corresponding to a previous call to
ServiceCaller.sendRequest(ServiceRequest)
is ready. |
addAvailabilitySubscription, busDyingOut, call, call, getAllServices, getMatchingService, getMatchingService, getMatchingService, getMyID, handleReply, inject, inject, removeAvailabilitySubscription, sendCall, sendCall, sendRequestclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic DefaultServiceCaller(ModuleContext context)
context - public void communicationChannelBroken()
ServiceCallercommunicationChannelBroken in class ServiceCallerServiceCaller.communicationChannelBroken()public void handleResponse(String reqID, ServiceResponse response)
ServiceCallerServiceCaller.sendRequest(ServiceRequest)
is ready.handleResponse in class ServiceCallerreqID - the ID returned by the previous call to
ServiceCaller.sendRequest(ServiceRequest).response - the expected response.ServiceCaller.handleResponse(String, ServiceResponse)Copyright © 2018 universAAL Consortium. All rights reserved.