Interface BGPDispatcher
- All Known Implementing Classes:
BGPDispatcherImpl
public interface BGPDispatcher
Dispatcher class for creating BGP clients.
-
Method Summary
Modifier and TypeMethodDescription@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
Return BGP Peer Registry.
-
Method Details
-
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
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
-