Interface ConnectorHandler<E>

    • Method Detail

      • connect

        Future<Connection> connect​(E remoteAddress)
        Creates, initializes and establishes Connection to the specific remoteAddress.
        Parameters:
        remoteAddress - remote address to connect to
        Returns:
        Future of connect operation, which could be used to get resulting Connection
      • connect

        Future<Connection> connect​(E remoteAddress,
                                   E localAddress)
        Creates, initializes Connection, binds it to the specific local and remote remoteAddress.
        Parameters:
        remoteAddress - remote address to connect to
        localAddress - local address to bind a Connection to
        Returns:
        Future of connect operation, which could be used to get resulting Connection
      • connect

        void connect​(E remoteAddress,
                     E localAddress,
                     CompletionHandler<Connection> completionHandler)
        Creates, initializes Connection, binds it to the specific local and remote remoteAddress.
        Parameters:
        remoteAddress - remote address to connect to
        localAddress - local address to bind a Connection to
        completionHandler - CompletionHandler