Class BGPDispatcherImpl

    • Constructor Detail

      • BGPDispatcherImpl

        public BGPDispatcherImpl​(BGPExtensionConsumerContext extensions,
                                 BGPPeerRegistry bgpPeerRegistry)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
      • createReconnectingClient

        public io.netty.util.concurrent.Future<Void> createReconnectingClient​(InetSocketAddress remoteAddress,
                                                                              InetSocketAddress localAddress,
                                                                              int retryTimer,
                                                                              KeyMapping keys)
        Description copied from interface: BGPDispatcher
        Creates Reconnecting client.
        Specified by:
        createReconnectingClient in interface BGPDispatcher
        remoteAddress - remote Peer Address
        localAddress - local Peer address
        retryTimer - Retry timer
        keys - for TCPMD5
        Future promising a client session
      • createServer

        public createServer​(InetSocketAddress serverAddress)
        Description copied from interface: BGPDispatcher
        Create new BGP server to accept incoming bgp connections (bound to provided socket localAddress).
        Specified by:
        createServer in interface BGPDispatcher
        serverAddress - Peer localAddress
        ChannelFuture promising a client session