Package joynr.system
Class DefaultRoutingProvider
- java.lang.Object
-
- io.joynr.provider.AbstractJoynrProvider
-
- joynr.system.RoutingAbstractProvider
-
- joynr.system.DefaultRoutingProvider
-
- All Implemented Interfaces:
JoynrProvider,SubscriptionPublisherInjection<RoutingSubscriptionPublisher>,RoutingProvider
public class DefaultRoutingProvider extends RoutingAbstractProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface joynr.system.RoutingProvider
RoutingProvider.ResolveNextHopDeferred
-
-
Field Summary
Fields Modifier and Type Field Description protected StringglobalAddressprotected StringreplyToAddress-
Fields inherited from class joynr.system.RoutingAbstractProvider
routingSubscriptionPublisher
-
-
Constructor Summary
Constructors Constructor Description DefaultRoutingProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Promise<DeferredVoid>addMulticastReceiver(String multicastId, String subscriberParticipantId, String providerParticipantId)addMulticastReceiverPromise<DeferredVoid>addNextHop(String participantId, BinderAddress binderAddress, Boolean isGloballyVisible)addNextHopPromise<DeferredVoid>addNextHop(String participantId, BrowserAddress browserAddress, Boolean isGloballyVisible)addNextHopPromise<DeferredVoid>addNextHop(String participantId, ChannelAddress channelAddress, Boolean isGloballyVisible)addNextHopPromise<DeferredVoid>addNextHop(String participantId, MqttAddress mqttAddress, Boolean isGloballyVisible)addNextHopPromise<DeferredVoid>addNextHop(String participantId, UdsAddress udsAddress, Boolean isGloballyVisible)addNextHopPromise<DeferredVoid>addNextHop(String participantId, UdsClientAddress udsClientAddress, Boolean isGloballyVisible)addNextHopPromise<DeferredVoid>addNextHop(String participantId, WebSocketAddress webSocketAddress, Boolean isGloballyVisible)addNextHopPromise<DeferredVoid>addNextHop(String participantId, WebSocketClientAddress webSocketClientAddress, Boolean isGloballyVisible)addNextHopPromise<Deferred<String>>getGlobalAddress()Promise<Deferred<String>>getReplyToAddress()Promise<DeferredVoid>removeMulticastReceiver(String multicastId, String subscriberParticipantId, String providerParticipantId)removeMulticastReceiverPromise<DeferredVoid>removeNextHop(String participantId)removeNextHopPromise<RoutingProvider.ResolveNextHopDeferred>resolveNextHop(String participantId)resolveNextHop-
Methods inherited from class joynr.system.RoutingAbstractProvider
globalAddressChanged, replyToAddressChanged, setSubscriptionPublisher
-
Methods inherited from class io.joynr.provider.AbstractJoynrProvider
getCallContext, removeCallContext, setCallContext
-
-
-
-
Method Detail
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, ChannelAddress channelAddress, Boolean isGloballyVisible)
Description copied from interface:RoutingProvideraddNextHop- Parameters:
participantId- the parameter participantIdchannelAddress- the parameter channelAddressisGloballyVisible- the parameter isGloballyVisible- Returns:
- promise for asynchronous handling
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, MqttAddress mqttAddress, Boolean isGloballyVisible)
Description copied from interface:RoutingProvideraddNextHop- Parameters:
participantId- the parameter participantIdmqttAddress- the parameter mqttAddressisGloballyVisible- the parameter isGloballyVisible- Returns:
- promise for asynchronous handling
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, BrowserAddress browserAddress, Boolean isGloballyVisible)
Description copied from interface:RoutingProvideraddNextHop- Parameters:
participantId- the parameter participantIdbrowserAddress- the parameter browserAddressisGloballyVisible- the parameter isGloballyVisible- Returns:
- promise for asynchronous handling
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, WebSocketAddress webSocketAddress, Boolean isGloballyVisible)
Description copied from interface:RoutingProvideraddNextHop- Parameters:
participantId- the parameter participantIdwebSocketAddress- the parameter webSocketAddressisGloballyVisible- the parameter isGloballyVisible- Returns:
- promise for asynchronous handling
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, UdsAddress udsAddress, Boolean isGloballyVisible)
Description copied from interface:RoutingProvideraddNextHop- Parameters:
participantId- the parameter participantIdudsAddress- the parameter udsAddressisGloballyVisible- the parameter isGloballyVisible- Returns:
- promise for asynchronous handling
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, BinderAddress binderAddress, Boolean isGloballyVisible)
Description copied from interface:RoutingProvideraddNextHop- Parameters:
participantId- the parameter participantIdbinderAddress- the parameter binderAddressisGloballyVisible- the parameter isGloballyVisible- Returns:
- promise for asynchronous handling
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, WebSocketClientAddress webSocketClientAddress, Boolean isGloballyVisible)
Description copied from interface:RoutingProvideraddNextHop- Parameters:
participantId- the parameter participantIdwebSocketClientAddress- the parameter webSocketClientAddressisGloballyVisible- the parameter isGloballyVisible- Returns:
- promise for asynchronous handling
-
addNextHop
public Promise<DeferredVoid> addNextHop(String participantId, UdsClientAddress udsClientAddress, Boolean isGloballyVisible)
Description copied from interface:RoutingProvideraddNextHop- Parameters:
participantId- the parameter participantIdudsClientAddress- the parameter udsClientAddressisGloballyVisible- the parameter isGloballyVisible- Returns:
- promise for asynchronous handling
-
removeNextHop
public Promise<DeferredVoid> removeNextHop(String participantId)
Description copied from interface:RoutingProviderremoveNextHop- Parameters:
participantId- the parameter participantId- Returns:
- promise for asynchronous handling
-
resolveNextHop
public Promise<RoutingProvider.ResolveNextHopDeferred> resolveNextHop(String participantId)
Description copied from interface:RoutingProviderresolveNextHop- Parameters:
participantId- the parameter participantId- Returns:
- promise for asynchronous handling
-
addMulticastReceiver
public Promise<DeferredVoid> addMulticastReceiver(String multicastId, String subscriberParticipantId, String providerParticipantId)
Description copied from interface:RoutingProvideraddMulticastReceiver- Parameters:
multicastId- the parameter multicastIdsubscriberParticipantId- the parameter subscriberParticipantIdproviderParticipantId- the parameter providerParticipantId- Returns:
- promise for asynchronous handling
-
removeMulticastReceiver
public Promise<DeferredVoid> removeMulticastReceiver(String multicastId, String subscriberParticipantId, String providerParticipantId)
Description copied from interface:RoutingProviderremoveMulticastReceiver- Parameters:
multicastId- the parameter multicastIdsubscriberParticipantId- the parameter subscriberParticipantIdproviderParticipantId- the parameter providerParticipantId- Returns:
- promise for asynchronous handling
-
-