Interface BGPDispatcher
-
- All Known Implementing Classes:
BGPDispatcherImpl
public interface BGPDispatcher
Dispatcher class for creating BGP clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull io.netty.util.concurrent.Future<Void>
createReconnectingClient(@NonNull InetSocketAddress remoteAddress, @Nullable InetSocketAddress localAddress, int retryTimer, @NonNull KeyMapping keys)
Creates Reconnecting client.@NonNull io.netty.channel.ChannelFuture
createServer(InetSocketAddress localAddress)
Create new BGP server to accept incoming bgp connections (bound to provided socket localAddress).@NonNull BGPPeerRegistry
getBGPPeerRegistry()
Return BGP Peer Registry.
-
-
-
Method Detail
-
createReconnectingClient
@NonNull io.netty.util.concurrent.Future<Void> createReconnectingClient(@NonNull InetSocketAddress remoteAddress, @Nullable InetSocketAddress localAddress, int retryTimer, @NonNull KeyMapping keys)
Creates Reconnecting client.- Parameters:
remoteAddress
- remote Peer AddresslocalAddress
- local Peer addressretryTimer
- Retry timerkeys
- for TCPMD5- Returns:
- Future promising a client session
-
createServer
@NonNull io.netty.channel.ChannelFuture createServer(InetSocketAddress localAddress)
Create new BGP server to accept incoming bgp connections (bound to provided socket localAddress).- Parameters:
localAddress
- Peer localAddress- Returns:
- ChannelFuture promising a client session
-
getBGPPeerRegistry
@NonNull BGPPeerRegistry getBGPPeerRegistry()
Return BGP Peer Registry.- Returns:
- BGPPeerRegistry
-
-