
public class DMServiceCaller extends ServiceCaller
ServiceCaller. To be able to call services like consulting user
profiles, starting UI applications, etc...busResourceURI, owner, theBus| Constructor and Description |
|---|
DMServiceCaller(ModuleContext context)
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.
|
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 DMServiceCaller(ModuleContext context)
context - public void communicationChannelBroken()
communicationChannelBroken in class ServiceCallerpublic void handleResponse(String reqID, ServiceResponse response)
ServiceCaller.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.