Class BGPDispatcherImpl
java.lang.Object
org.opendaylight.protocol.bgp.rib.impl.BGPDispatcherImpl
- All Implemented Interfaces:
 BGPDispatcher
Implementation of BGPDispatcher.
- 
Constructor Summary
ConstructorsConstructorDescriptionBGPDispatcherImpl(BGPExtensionConsumerContext extensions, BGPNettyGroups nettyGroups, BGPPeerRegistry bgpPeerRegistry)  - 
Method Summary
Modifier and TypeMethodDescriptionio.netty.util.concurrent.Future<BGPSessionImpl>createClient(InetSocketAddress localAddress, InetSocketAddress remoteAddress, int retryTimer, boolean reuseAddress) io.netty.util.concurrent.Future<Void>createReconnectingClient(InetSocketAddress remoteAddress, InetSocketAddress localAddress, int retryTimer, KeyMapping keys) Creates Reconnecting client.io.netty.channel.ChannelFuturecreateServer(InetSocketAddress serverAddress) Create new BGP server to accept incoming bgp connections (bound to provided socket localAddress).Return BGP Peer Registry. 
- 
Constructor Details
- 
BGPDispatcherImpl
@Inject public BGPDispatcherImpl(BGPExtensionConsumerContext extensions, BGPNettyGroups nettyGroups, BGPPeerRegistry bgpPeerRegistry)  
 - 
 - 
Method Details
- 
createClient
public io.netty.util.concurrent.Future<BGPSessionImpl> createClient(InetSocketAddress localAddress, InetSocketAddress remoteAddress, int retryTimer, boolean reuseAddress)  - 
createReconnectingClient
public io.netty.util.concurrent.Future<Void> createReconnectingClient(InetSocketAddress remoteAddress, InetSocketAddress localAddress, int retryTimer, KeyMapping keys) Description copied from interface:BGPDispatcherCreates Reconnecting client.- Specified by:
 createReconnectingClientin interfaceBGPDispatcher- Parameters:
 remoteAddress- remote Peer AddresslocalAddress- local Peer addressretryTimer- Retry timerkeys- for TCPMD5- Returns:
 - Future promising a client session
 
 - 
createServer
Description copied from interface:BGPDispatcherCreate new BGP server to accept incoming bgp connections (bound to provided socket localAddress).- Specified by:
 createServerin interfaceBGPDispatcher- Parameters:
 serverAddress- Peer localAddress- Returns:
 - ChannelFuture promising a client session
 
 - 
getBGPPeerRegistry
Description copied from interface:BGPDispatcherReturn BGP Peer Registry.- Specified by:
 getBGPPeerRegistryin interfaceBGPDispatcher- Returns:
 - BGPPeerRegistry
 
 
 -