Interface ConnectionProviderContext


  • public interface ConnectionProviderContext
    A context for a connection provider. This provides additional endpoint methods to connection providers which are not accessible otherwise.
    • Method Detail

      • accept

        void accept​(ConnectionHandlerFactory connectionHandlerFactory,
                    org.wildfly.security.auth.server.SaslAuthenticationFactory authenticationFactory)
        Accept a connection that was received by the corresponding protocol handler.
        Parameters:
        connectionHandlerFactory - the connection handler factory
        authenticationFactory - the SASL authentication factory to use for server-side authentications
      • getEndpoint

        Endpoint getEndpoint()
        Get the endpoint.
        Returns:
        the endpoint
      • getXnio

        org.xnio.Xnio getXnio()
        Get the XNIO instance.
        Returns:
        the XNIO instance
      • getExecutor

        Executor getExecutor()
        Get an executor usable for running asynchronous tasks.
        Returns:
        the executor
      • getXnioWorker

        org.xnio.XnioWorker getXnioWorker()
        Get the XNIO worker to use for network operations.
        Returns:
        the XNIO worker
      • getProtocol

        String getProtocol()
        Get the protocol of this connection provider.
        Returns:
        the protocol of this connection provider (not null)