Package org.jboss.remoting3.spi
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(ConnectionHandlerFactory connectionHandlerFactory, org.wildfly.security.auth.server.SaslAuthenticationFactory authenticationFactory)
Accept a connection that was received by the corresponding protocol handler.Endpoint
getEndpoint()
Get the endpoint.Executor
getExecutor()
Get an executor usable for running asynchronous tasks.String
getProtocol()
Get the protocol of this connection provider.org.xnio.Xnio
getXnio()
Get the XNIO instance.org.xnio.XnioWorker
getXnioWorker()
Get the XNIO worker to use for network operations.
-
-
-
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 factoryauthenticationFactory
- 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
)
-
-