Class BGPDispatcherImpl
- java.lang.Object
- 
- org.opendaylight.protocol.bgp.rib.impl.BGPDispatcherImpl
 
- 
- All Implemented Interfaces:
- AutoCloseable,- BGPDispatcher
 
 public class BGPDispatcherImpl extends Object implements BGPDispatcher, AutoCloseable Implementation of BGPDispatcher.
- 
- 
Constructor SummaryConstructors Constructor Description BGPDispatcherImpl(MessageRegistry messageRegistry, io.netty.channel.EventLoopGroup bossGroup, io.netty.channel.EventLoopGroup workerGroup, BGPPeerRegistry bgpPeerRegistry)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()io.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).BGPPeerRegistrygetBGPPeerRegistry()Return BGP Peer Registry.
 
- 
- 
- 
Constructor Detail- 
BGPDispatcherImplpublic BGPDispatcherImpl(MessageRegistry messageRegistry, io.netty.channel.EventLoopGroup bossGroup, io.netty.channel.EventLoopGroup workerGroup, BGPPeerRegistry bgpPeerRegistry) 
 
- 
 - 
Method Detail- 
createClientpublic io.netty.util.concurrent.Future<BGPSessionImpl> createClient(InetSocketAddress localAddress, InetSocketAddress remoteAddress, int retryTimer, boolean reuseAddress) 
 - 
closepublic void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
createReconnectingClientpublic 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 interface- BGPDispatcher
- Parameters:
- remoteAddress- remote Peer Address
- localAddress- local Peer address
- retryTimer- Retry timer
- keys- for TCPMD5
- Returns:
- Future promising a client session
 
 - 
createServerpublic io.netty.channel.ChannelFuture createServer(InetSocketAddress serverAddress) Description copied from interface:BGPDispatcherCreate new BGP server to accept incoming bgp connections (bound to provided socket localAddress).- Specified by:
- createServerin interface- BGPDispatcher
- Parameters:
- serverAddress- Peer localAddress
- Returns:
- ChannelFuture promising a client session
 
 - 
getBGPPeerRegistrypublic BGPPeerRegistry getBGPPeerRegistry() Description copied from interface:BGPDispatcherReturn BGP Peer Registry.- Specified by:
- getBGPPeerRegistryin interface- BGPDispatcher
- Returns:
- BGPPeerRegistry
 
 
- 
 
-