Package | Description |
---|---|
io.undertow | |
io.undertow.protocols.ssl | |
org.jboss.remoting3.spi |
Service provider classes and interfaces.
|
org.xnio |
The main API package for XNIO.
|
org.xnio._private | |
org.xnio.channels |
The core XNIO channel API.
|
org.xnio.ssl |
Utility classes for using and implementing SSL within XNIO providers.
|
Constructor and Description |
---|
ListenerInfo(String protcol,
SocketAddress address,
OpenListener openListener,
UndertowXnioSsl ssl,
AcceptingChannel<? extends StreamConnection> channel) |
Modifier and Type | Method and Description |
---|---|
AcceptingChannel<SslConnection> |
UndertowXnioSsl.createSslConnectionServer(XnioWorker worker,
InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<SslConnection>> acceptListener,
OptionMap optionMap) |
AcceptingChannel<ConnectedSslStreamChannel> |
UndertowXnioSsl.createSslTcpServer(XnioWorker worker,
InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> acceptListener,
OptionMap optionMap) |
Modifier and Type | Method and Description |
---|---|
AcceptingChannel<SslConnection> |
UndertowXnioSsl.createSslConnectionServer(XnioWorker worker,
InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<SslConnection>> acceptListener,
OptionMap optionMap) |
AcceptingChannel<ConnectedSslStreamChannel> |
UndertowXnioSsl.createSslTcpServer(XnioWorker worker,
InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> acceptListener,
OptionMap optionMap) |
Modifier and Type | Method and Description |
---|---|
AcceptingChannel<StreamConnection> |
NetworkServerProvider.createServer(SocketAddress bindAddress,
OptionMap optionMap,
SaslAuthenticationFactory saslAuthenticationFactory,
SSLContext sslContext)
Create a network server.
|
Modifier and Type | Method and Description |
---|---|
protected AcceptingChannel<StreamConnection> |
XnioWorker.createLocalStreamConnectionServer(LocalSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<StreamConnection>> acceptListener,
OptionMap optionMap)
Implementation helper method to create a UNIX domain stream server.
|
AcceptingChannel<StreamConnection> |
XnioWorker.createStreamConnectionServer(SocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<StreamConnection>> acceptListener,
OptionMap optionMap)
Create a stream server, for TCP or UNIX domain servers.
|
AcceptingChannel<? extends ConnectedStreamChannel> |
XnioWorker.createStreamServer(SocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>> acceptListener,
OptionMap optionMap)
Deprecated.
|
protected AcceptingChannel<StreamConnection> |
XnioWorker.createTcpConnectionServer(InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<StreamConnection>> acceptListener,
OptionMap optionMap)
Implementation helper method to create a TCP stream server.
|
Modifier and Type | Method and Description |
---|---|
static <C extends ConnectedChannel> |
ChannelListeners.openListenerAdapter(ChannelListener<? super C> openListener)
Create an open listener adapter which automatically accepts connections and invokes an open listener.
|
Modifier and Type | Method and Description |
---|---|
protected AcceptingChannel<StreamConnection> |
XnioWorker.createLocalStreamConnectionServer(LocalSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<StreamConnection>> acceptListener,
OptionMap optionMap)
Implementation helper method to create a UNIX domain stream server.
|
AcceptingChannel<StreamConnection> |
XnioWorker.createStreamConnectionServer(SocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<StreamConnection>> acceptListener,
OptionMap optionMap)
Create a stream server, for TCP or UNIX domain servers.
|
AcceptingChannel<? extends ConnectedStreamChannel> |
XnioWorker.createStreamServer(SocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>> acceptListener,
OptionMap optionMap)
Deprecated.
|
protected AcceptingChannel<StreamConnection> |
XnioWorker.createTcpConnectionServer(InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<StreamConnection>> acceptListener,
OptionMap optionMap)
Implementation helper method to create a TCP stream server.
|
Modifier and Type | Method and Description |
---|---|
void |
Messages_$logger.acceptFailed(AcceptingChannel<? extends ConnectedChannel> channel,
IOException reason) |
void |
Messages.acceptFailed(AcceptingChannel<? extends ConnectedChannel> channel,
IOException reason) |
Modifier and Type | Method and Description |
---|---|
static <C extends ConnectedChannel,A extends AcceptingChannel<C>> |
Channels.acceptBlocking(A channel)
Simple utility method to execute a blocking accept on an accepting channel.
|
static <C extends ConnectedChannel,A extends AcceptingChannel<C>> |
Channels.acceptBlocking(A channel,
long time,
TimeUnit unit)
Simple utility method to execute a blocking accept on an accepting channel, with a timeout.
|
static <T extends AcceptingChannel<?>> |
Channels.setAcceptListener(T channel,
ChannelListener<? super T> listener)
Set the accept listener for a channel (type-safe).
|
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends AcceptingChannel<C>> |
AcceptingChannel.getAcceptSetter()
Get the setter which can be used to change the accept listener for this channel.
|
ChannelListener.Setter<? extends AcceptingChannel<C>> |
AcceptingChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.