public class BGPDispatcherImpl extends Object implements BGPDispatcher, AutoCloseable
| Constructor and Description |
|---|
BGPDispatcherImpl(MessageRegistry messageRegistry,
io.netty.channel.EventLoopGroup bossGroup,
io.netty.channel.EventLoopGroup workerGroup,
BGPPeerRegistry bgpPeerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
io.netty.util.concurrent.Future<BGPSessionImpl> |
createClient(InetSocketAddress localAddress,
InetSocketAddress remoteAddress,
int retryTimer,
boolean reuseAddress) |
io.netty.util.concurrent.Future<BGPSessionImpl> |
createClient(InetSocketAddress remoteAddress,
int retryTimer)
Creates BGP client.
|
io.netty.util.concurrent.Future<Void> |
createReconnectingClient(InetSocketAddress remoteAddress,
int retryTimer,
KeyMapping keys)
Creates Reconnecting client.
|
io.netty.channel.ChannelFuture |
createServer(InetSocketAddress serverAddress)
Create new BGP server to accept incoming bgp connections (bound to provided socket localAddress).
|
BGPPeerRegistry |
getBGPPeerRegistry()
Return BGP Peer Registry
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateReconnectingClientpublic BGPDispatcherImpl(MessageRegistry messageRegistry, io.netty.channel.EventLoopGroup bossGroup, io.netty.channel.EventLoopGroup workerGroup, BGPPeerRegistry bgpPeerRegistry)
public io.netty.util.concurrent.Future<BGPSessionImpl> createClient(InetSocketAddress remoteAddress, int retryTimer)
BGPDispatchercreateClient in interface BGPDispatcherremoteAddress - remote Peer addressretryTimer - Retry timerpublic io.netty.util.concurrent.Future<BGPSessionImpl> createClient(InetSocketAddress localAddress, InetSocketAddress remoteAddress, int retryTimer, boolean reuseAddress)
public void close()
throws InterruptedException
close in interface AutoCloseableInterruptedExceptionpublic io.netty.util.concurrent.Future<Void> createReconnectingClient(InetSocketAddress remoteAddress, int retryTimer, KeyMapping keys)
BGPDispatchercreateReconnectingClient in interface BGPDispatcherremoteAddress - remote Peer AddressretryTimer - Retry timerkeys - for TCPMD5public io.netty.channel.ChannelFuture createServer(InetSocketAddress serverAddress)
BGPDispatchercreateServer in interface BGPDispatcherserverAddress - Peer localAddresspublic BGPPeerRegistry getBGPPeerRegistry()
BGPDispatchergetBGPPeerRegistry in interface BGPDispatcherCopyright © 2018 OpenDaylight. All rights reserved.