public interface ConnectionProviderContext
Modifier and Type | Method and Description |
---|---|
void |
accept(ConnectionHandlerFactory connectionHandlerFactory)
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.
|
org.xnio.Xnio |
getXnio()
Get the XNIO instance.
|
org.xnio.XnioWorker |
getXnioWorker()
Get the XNIO worker to use for network operations.
|
void accept(ConnectionHandlerFactory connectionHandlerFactory)
connectionHandlerFactory
- the connection handler factoryEndpoint getEndpoint()
org.xnio.Xnio getXnio()
Executor getExecutor()
org.xnio.XnioWorker getXnioWorker()
Copyright © 2016 JBoss, a division of Red Hat, Inc.. All Rights Reserved.