# Uses of Class
org.xnio.XnioWorker

Packages that use XnioWorker
Package
Description
org.xnio
The main API package for XNIO.
org.xnio.channels
The core XNIO channel API.
org.xnio.conduits
The XNIO conduit SPI.
org.xnio.http
org.xnio.ssl
Utility classes for using and implementing SSL within XNIO providers.

## Uses of XnioWorker in org.xnio

Methods in org.xnio that return XnioWorker
Modifier and Type
Method
Description
`protected abstract XnioWorker`
Xnio.`build(XnioWorker.Builder builder)`
Construct an XNIO worker from a builder.
`XnioWorker`
XnioWorker.Builder.`build()`
`XnioWorker`
Xnio.`createWorker(ThreadGroup threadGroup, OptionMap optionMap)`
Construct a new XNIO worker.
`XnioWorker`
Xnio.`createWorker(ThreadGroup threadGroup, OptionMap optionMap, Runnable terminationTask)`
Construct a new XNIO worker.
`XnioWorker`
Xnio.`createWorker(OptionMap optionMap)`
Construct a new XNIO worker.
`XnioWorker`
XnioWorkerConfigurator.`createWorker()`
Create the worker, returning `null` if no worker is available.
`final XnioWorker`
Connection.`getWorker()`
`XnioWorker`
XnioIoThread.`getWorker()`
Get the XNIO worker associated with this thread.
Methods in org.xnio that return types with arguments of type XnioWorker
Modifier and Type
Method
Description
`static org.wildfly.common.context.ContextManager<XnioWorker>`
XnioWorker.`getContextManager()`
Get the context manager for XNIO workers.
`org.wildfly.common.context.ContextManager<XnioWorker>`
XnioWorker.`getInstanceContextManager()`
Get the instance context manager for XNIO workers by delegating to `getContextManager()`.
Constructors in org.xnio with parameters of type XnioWorker
Modifier
Constructor
Description
`protected`
`XnioIoThread(XnioWorker worker, int number)`
Construct a new instance.
`protected`
`XnioIoThread(XnioWorker worker, int number, String name)`
Construct a new instance.
`protected`
`XnioIoThread(XnioWorker worker, int number, ThreadGroup group, String name)`
Construct a new instance.
`protected`
`XnioIoThread(XnioWorker worker, int number, ThreadGroup group, String name, long stackSize)`
Construct a new instance.

## Uses of XnioWorker in org.xnio.channels

Methods in org.xnio.channels that return XnioWorker
Modifier and Type
Method
Description
`XnioWorker`
AssembledChannel.`getWorker()`
`XnioWorker`
AssembledMessageChannel.`getWorker()`
`XnioWorker`
AssembledStreamChannel.`getWorker()`
`XnioWorker`
CloseableChannel.`getWorker()`
Get the worker for this channel.
`XnioWorker`
EmptyStreamSourceChannel.`getWorker()`
`XnioWorker`
FixedLengthStreamSinkChannel.`getWorker()`
`XnioWorker`
FixedLengthStreamSourceChannel.`getWorker()`
`XnioWorker`
NullStreamSinkChannel.`getWorker()`
`XnioWorker`
PushBackStreamChannel.`getWorker()`
`XnioWorker`
SplitStreamSinkChannel.`getWorker()`
`XnioWorker`
SplitStreamSourceChannel.`getWorker()`
`XnioWorker`
TranslatingSuspendableChannel.`getWorker()`
Deprecated.
Get the worker for this channel.

## Uses of XnioWorker in org.xnio.conduits

Methods in org.xnio.conduits that return XnioWorker
Modifier and Type
Method
Description
`XnioWorker`
AbstractConduit.`getWorker()`
`XnioWorker`
Conduit.`getWorker()`
Get the XNIO worker associated with this conduit.
`XnioWorker`
ConduitReadableMessageChannel.`getWorker()`
`XnioWorker`
ConduitStreamSinkChannel.`getWorker()`
`XnioWorker`
ConduitStreamSourceChannel.`getWorker()`
`XnioWorker`
ConduitWritableMessageChannel.`getWorker()`
`XnioWorker`
EmptyStreamSourceConduit.`getWorker()`
`XnioWorker`
NullStreamSinkConduit.`getWorker()`
`XnioWorker`
StreamSinkChannelWrappingConduit.`getWorker()`
`XnioWorker`
StreamSourceChannelWrappingConduit.`getWorker()`

## Uses of XnioWorker in org.xnio.http

Methods in org.xnio.http with parameters of type XnioWorker
Modifier and Type
Method
Description
`static IoFuture<StreamConnection>`
HttpUpgrade.`performUpgrade(XnioWorker worker, InetSocketAddress bindAddress, URI uri, Map<String,String> headers, ChannelListener<? super StreamConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap, HandshakeChecker handshakeChecker)`
Connects to the target server using HTTP upgrade.
`static IoFuture<StreamConnection>`
HttpUpgrade.`performUpgrade(XnioWorker worker, InetSocketAddress bindAddress, URI uri, Map<String,List<String>> headers, ChannelListener<? super StreamConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap, ExtendedHandshakeChecker handshakeChecker)`
Connects to the target server using HTTP upgrade.
`static IoFuture<SslConnection>`
HttpUpgrade.`performUpgrade(XnioWorker worker, XnioSsl ssl, InetSocketAddress bindAddress, URI uri, Map<String,String> headers, ChannelListener<? super SslConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap, HandshakeChecker handshakeChecker)`
Perform a HTTP upgrade that results in a SSL secured connection.
`static IoFuture<SslConnection>`
HttpUpgrade.`performUpgrade(XnioWorker worker, XnioSsl ssl, InetSocketAddress bindAddress, URI uri, Map<String,List<String>> headers, ChannelListener<? super SslConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap, ExtendedHandshakeChecker handshakeChecker)`
Perform a HTTP upgrade that results in a SSL secured connection.

## Uses of XnioWorker in org.xnio.ssl

Methods in org.xnio.ssl with parameters of type XnioWorker
Modifier and Type
Method
Description
`IoFuture<ConnectedSslStreamChannel>`
JsseXnioSsl.`connectSsl(XnioWorker worker, InetSocketAddress bindAddress, InetSocketAddress destination, ChannelListener<? super ConnectedSslStreamChannel> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)`
`abstract IoFuture<ConnectedSslStreamChannel>`
XnioSsl.`connectSsl(XnioWorker worker, InetSocketAddress bindAddress, InetSocketAddress destination, ChannelListener<? super ConnectedSslStreamChannel> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)`
Deprecated.
`IoFuture<ConnectedSslStreamChannel>`
XnioSsl.`connectSsl(XnioWorker worker, InetSocketAddress bindAddress, InetSocketAddress destination, ChannelListener<? super ConnectedSslStreamChannel> openListener, OptionMap optionMap)`
Deprecated.
`IoFuture<ConnectedSslStreamChannel>`
XnioSsl.`connectSsl(XnioWorker worker, InetSocketAddress destination, ChannelListener<? super ConnectedSslStreamChannel> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)`
Deprecated.
`IoFuture<ConnectedSslStreamChannel>`
XnioSsl.`connectSsl(XnioWorker worker, InetSocketAddress destination, ChannelListener<? super ConnectedSslStreamChannel> openListener, OptionMap optionMap)`
Deprecated.
`AcceptingChannel<SslConnection>`
JsseXnioSsl.`createSslConnectionServer(XnioWorker worker, InetSocketAddress bindAddress, ChannelListener<? super AcceptingChannel<SslConnection>> acceptListener, OptionMap optionMap)`
`abstract AcceptingChannel<SslConnection>`
XnioSsl.`createSslConnectionServer(XnioWorker worker, InetSocketAddress bindAddress, ChannelListener<? super AcceptingChannel<SslConnection>> acceptListener, OptionMap optionMap)`
Create a bound TCP SSL server.
`AcceptingChannel<ConnectedSslStreamChannel>`
JsseXnioSsl.`createSslTcpServer(XnioWorker worker, InetSocketAddress bindAddress, ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> acceptListener, OptionMap optionMap)`
`abstract AcceptingChannel<ConnectedSslStreamChannel>`
XnioSsl.`createSslTcpServer(XnioWorker worker, InetSocketAddress bindAddress, ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> acceptListener, OptionMap optionMap)`
Deprecated.
`IoFuture<SslConnection>`
JsseXnioSsl.`openSslConnection(XnioWorker worker, InetSocketAddress bindAddress, InetSocketAddress destination, ChannelListener<? super SslConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)`
`abstract IoFuture<SslConnection>`
XnioSsl.`openSslConnection(XnioWorker worker, InetSocketAddress bindAddress, InetSocketAddress destination, ChannelListener<? super SslConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)`
Create an SSL connection to a remote host.
`IoFuture<SslConnection>`
XnioSsl.`openSslConnection(XnioWorker worker, InetSocketAddress bindAddress, InetSocketAddress destination, ChannelListener<? super SslConnection> openListener, OptionMap optionMap)`
Create an SSL connection to a remote host.
`IoFuture<SslConnection>`
XnioSsl.`openSslConnection(XnioWorker worker, InetSocketAddress destination, ChannelListener<? super SslConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)`
Create an SSL connection to a remote host.
`IoFuture<SslConnection>`
XnioSsl.`openSslConnection(XnioWorker worker, InetSocketAddress destination, ChannelListener<? super SslConnection> openListener, OptionMap optionMap)`
Create an SSL connection to a remote host.