Class JakartaWebSocketConnector

    • Constructor Detail

      • JakartaWebSocketConnector

        public JakartaWebSocketConnector()
    • Method Detail

      • connect

        public final CompletableFuture<Connection> connect​(XmppSession xmppSession,
                                                           WebSocketConnectionConfiguration configuration,
                                                           SessionOpen sessionOpen)
        Description copied from interface: TransportConnector
        Establishes a connection using the transport protocol specific configuration.
        Parameters:
        xmppSession - The XMPP session which will be bound to the transport protocol.
        configuration - The connection configuration for the specific transport protocol.
        sessionOpen - The session open element.
        Returns:
        A CompletableFuture which returns an established (connected) connection on completion.