public interface ConnectionProviderContext
Modifier and Type | Method and Description |
---|---|
void |
accept(ConnectionHandlerFactory connectionHandlerFactory,
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.
|
Xnio |
getXnio()
Get the XNIO instance.
|
XnioWorker |
getXnioWorker()
Get the XNIO worker to use for network operations.
|
void accept(ConnectionHandlerFactory connectionHandlerFactory, SaslAuthenticationFactory authenticationFactory)
connectionHandlerFactory
- the connection handler factoryauthenticationFactory
- the SASL authentication factory to use for server-side authenticationsEndpoint getEndpoint()
Xnio getXnio()
Executor getExecutor()
XnioWorker getXnioWorker()
String getProtocol()
null
)Copyright © 2019 JBoss by Red Hat. All rights reserved.