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, sendRequest
close, getComment, getLabel, getType, getURI, setComment, setLabel
public DMServiceCaller(ModuleContext context)
context
- public void communicationChannelBroken()
communicationChannelBroken
in class ServiceCaller
public void handleResponse(String reqID, ServiceResponse response)
ServiceCaller.sendRequest(ServiceRequest)
is ready.handleResponse
in class ServiceCaller
reqID
- the ID returned by the previous call to
ServiceCaller.sendRequest(ServiceRequest)
.response
- the expected response.Copyright © 2015 universAAL Consortium. All Rights Reserved.