Package io.joynr.messaging.routing
Class RoutingProviderImpl
- java.lang.Object
-
- io.joynr.provider.AbstractJoynrProvider
-
- joynr.system.RoutingAbstractProvider
-
- io.joynr.messaging.routing.RoutingProviderImpl
-
- All Implemented Interfaces:
JoynrProvider,SubscriptionPublisherInjection<RoutingSubscriptionPublisher>,RoutingProvider
public class RoutingProviderImpl extends RoutingAbstractProvider
Implements the RoutingProvider interface to receive routing information from connected libjoynrs
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface joynr.system.RoutingProvider
RoutingProvider.ResolveNextHopDeferred
-
-
Field Summary
-
Fields inherited from class joynr.system.RoutingAbstractProvider
routingSubscriptionPublisher
-
-
Constructor Summary
Constructors Constructor Description RoutingProviderImpl(MessageRouter messageRouter, MulticastReceiverRegistrar multicastReceiverRegistrar)
-
Method Summary
-
Methods inherited from class joynr.system.RoutingAbstractProvider
globalAddressChanged, replyToAddressChanged, setSubscriptionPublisher
-
Methods inherited from class io.joynr.provider.AbstractJoynrProvider
getCallContext, removeCallContext, setCallContext
-
-
-
-
Constructor Detail
-
RoutingProviderImpl
@Inject public RoutingProviderImpl(MessageRouter messageRouter, MulticastReceiverRegistrar multicastReceiverRegistrar)
- Parameters:
messageRouter- handles the logic for the RoutingProvidermulticastReceiverRegistrar- registry for multicast subscriber participantIds
-
-
Method Detail
-
init
@Inject public void init()
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, ChannelAddress address, Boolean isGloballyVisible)
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, MqttAddress address, Boolean isGloballyVisible)
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, BrowserAddress address, Boolean isGloballyVisible)
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, WebSocketAddress address, Boolean isGloballyVisible)
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, UdsAddress address, Boolean isGloballyVisible)
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, BinderAddress binderAddress, Boolean isGloballyVisible)
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, WebSocketClientAddress address, Boolean isGloballyVisible)
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, UdsClientAddress address, Boolean isGloballyVisible)
-
removeNextHop
public Promise<DeferredVoid> removeNextHop(String participantId)
-
resolveNextHop
public Promise<RoutingProvider.ResolveNextHopDeferred> resolveNextHop(String participantId)
-
addMulticastReceiver
public Promise<DeferredVoid> addMulticastReceiver(String multicastId, String subscriberParticipantId, String providerParticipantId)
-
removeMulticastReceiver
public Promise<DeferredVoid> removeMulticastReceiver(String multicastId, String subscriberParticipantId, String providerParticipantId)
-
-