
public class CallerWrapper extends ServiceCaller
busResourceURI, owner, theBus| Constructor and Description |
|---|
CallerWrapper(ModuleContext context,
Caller r) |
| 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.
|
Caller |
getResource() |
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. |
void |
setResource(Caller resource) |
addAvailabilitySubscription, busDyingOut, call, call, getAllServices, getMatchingService, getMatchingService, getMatchingService, getMyID, handleReply, inject, inject, removeAvailabilitySubscription, sendCall, sendCall, sendRequestclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic CallerWrapper(ModuleContext context, Caller r)
public Caller getResource()
public void setResource(Caller resource)
public void communicationChannelBroken()
ServiceCallercommunicationChannelBroken in class ServiceCallerpublic 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.Copyright © 2018 universAAL Consortium. All rights reserved.