
public static interface ServiceBus.CallInjector
ServiceCall. There is no matchmaking done and the callee needs to
be known. This is not the normal way of invoking a service; normally, a
ServiceRequest should be sent.
This interface is separated from the rest of the bus to have a different
shared object and, thus, to allow for low-level security. In OSGi terms,
this would be a separate OSGi service that the application needs to have
permissions to use.| Modifier and Type | Method and Description |
|---|---|
void |
brokerCall(String callerID,
PeerCard receiver,
BusMessage call)
Can be used by
ServiceCallInjector to inject a
ServiceCall to the bus. |
void |
brokerCall(String callerID,
String receiver,
BusMessage call)
Can be used by
ServiceCallInjector to inject a
ServiceCall to the bus. |
void brokerCall(String callerID, PeerCard receiver, BusMessage call)
ServiceCallInjector to inject a
ServiceCall to the bus. Compared to the
ServiceBus.brokerRequest(String, BusMessage) method that is used by the
ServiceCaller, there is no matchmaking; the call will be sent
directly to a given ServiceCallee.callerID - the ID of the caller that is sending the call.receiver - the PeerCard of the node that hosts the callee.request - the actual request message.void brokerCall(String callerID, String receiver, BusMessage call)
ServiceCallInjector to inject a
ServiceCall to the bus. Compared to the
ServiceBus.brokerRequest(String, BusMessage) method that is used by the
ServiceCaller, there is no matchmaking; the call will be sent
directly to a given ServiceCallee.callerID - the ID of the caller that is sending the call.receiver - the URI of the bus member that has registered the matching
ServiceProfile. Only the identifier of the node
that hosts the callee is used from the bus member URI.request - the actual request message.Copyright © 2018 universAAL Consortium. All rights reserved.