Package | Description |
---|---|
org.jboss.remoting3.spi |
Service provider classes and interfaces.
|
org.xnio |
The main API package for XNIO.
|
org.xnio.channels | |
org.xnio.ssl |
Modifier and Type | Method and Description |
---|---|
AcceptingChannel<? extends ConnectedStreamChannel> |
NetworkServerProvider.createServer(SocketAddress bindAddress,
OptionMap optionMap,
ServerAuthenticationProvider authenticationProvider,
XnioSsl xnioSsl)
Create a network server.
|
Modifier and Type | Method and Description |
---|---|
protected AcceptingChannel<? extends ConnectedStreamChannel> |
XnioWorker.createLocalStreamServer(LocalSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>> acceptListener,
OptionMap optionMap)
Implementation helper method to create a UNIX domain stream server.
|
AcceptingChannel<? extends ConnectedStreamChannel> |
XnioWorker.createStreamServer(SocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>> acceptListener,
OptionMap optionMap)
Create a stream server, for TCP or UNIX domain servers.
|
protected AcceptingChannel<? extends ConnectedStreamChannel> |
XnioWorker.createTcpServer(InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>> 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<? extends ConnectedStreamChannel> |
XnioWorker.createLocalStreamServer(LocalSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>> acceptListener,
OptionMap optionMap)
Implementation helper method to create a UNIX domain stream server.
|
AcceptingChannel<? extends ConnectedStreamChannel> |
XnioWorker.createStreamServer(SocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>> acceptListener,
OptionMap optionMap)
Create a stream server, for TCP or UNIX domain servers.
|
protected AcceptingChannel<? extends ConnectedStreamChannel> |
XnioWorker.createTcpServer(InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedStreamChannel>> acceptListener,
OptionMap optionMap)
Implementation helper method to create a TCP stream server.
|
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.
|
Modifier and Type | Method and Description |
---|---|
abstract AcceptingChannel<ConnectedSslStreamChannel> |
XnioSsl.createSslTcpServer(XnioWorker worker,
InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> acceptListener,
OptionMap optionMap)
Create a bound TCP SSL server.
|
AcceptingChannel<ConnectedSslStreamChannel> |
JsseXnioSsl.createSslTcpServer(XnioWorker worker,
InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> acceptListener,
OptionMap optionMap) |
Modifier and Type | Method and Description |
---|---|
abstract AcceptingChannel<ConnectedSslStreamChannel> |
XnioSsl.createSslTcpServer(XnioWorker worker,
InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> acceptListener,
OptionMap optionMap)
Create a bound TCP SSL server.
|
AcceptingChannel<ConnectedSslStreamChannel> |
JsseXnioSsl.createSslTcpServer(XnioWorker worker,
InetSocketAddress bindAddress,
ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> acceptListener,
OptionMap optionMap) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.