
public static class ServiceBusImpl.CallInjectorImpl extends Object implements ServiceBus.CallInjector
| Constructor and Description |
|---|
CallInjectorImpl(ServiceStrategy busStrategy) |
| 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. |
public CallInjectorImpl(ServiceStrategy busStrategy)
public void brokerCall(String callerID, PeerCard receiver, BusMessage call)
ServiceBus.CallInjectorServiceCallInjector 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.brokerCall in interface ServiceBus.CallInjectorcallerID - the ID of the caller that is sending the call.receiver - the PeerCard of the node that hosts the callee.public void brokerCall(String callerID, String receiver, BusMessage call)
ServiceBus.CallInjectorServiceCallInjector 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.brokerCall in interface ServiceBus.CallInjectorcallerID - 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.Copyright © 2018 universAAL Consortium. All rights reserved.