Interface BGPDispatcher

  • All Known Implementing Classes:
    BGPDispatcherImpl

    public interface BGPDispatcher
    Dispatcher class for creating BGP clients.
    • 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 Address
        localAddress - local Peer address
        retryTimer - Retry timer
        keys - 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