Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
org.xnio.channels | |
org.xnio.ssl |
Modifier and Type | Method and Description |
---|---|
IoFuture<? extends T> |
ChannelDestination.accept(ChannelListener<? super T> openListener,
ChannelListener<? super BoundChannel> bindListener)
Accept a connection.
|
IoFuture<ConnectedMessageChannel> |
XnioWorker.acceptDatagram(java.net.SocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Accept a message connection at a destination address.
|
protected IoFuture<ConnectedMessageChannel> |
XnioWorker.acceptLocalDatagram(LocalSocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to accept a local (UNIX domain) datagram connection.
|
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.acceptLocalStream(LocalSocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to accept a local (UNIX domain) stream connection.
|
IoFuture<ConnectedStreamChannel> |
XnioWorker.acceptStream(java.net.SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Accept a stream connection at a destination address.
|
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.acceptTcpStream(java.net.InetSocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to accept a TCP connection.
|
IoFuture<ConnectedMessageChannel> |
XnioWorker.connectDatagram(java.net.SocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server.
|
IoFuture<ConnectedMessageChannel> |
XnioWorker.connectDatagram(java.net.SocketAddress bindAddress,
java.net.SocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote datagram server.
|
protected IoFuture<ConnectedMessageChannel> |
XnioWorker.connectLocalDatagram(LocalSocketAddress bindAddress,
LocalSocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a local (UNIX domain) datagram server.
|
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.connectLocalStream(LocalSocketAddress bindAddress,
LocalSocketAddress destinationAddress,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a local (UNIX domain) server.
|
IoFuture<ConnectedStreamChannel> |
XnioWorker.connectStream(java.net.SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server.
|
IoFuture<ConnectedStreamChannel> |
XnioWorker.connectStream(java.net.SocketAddress bindAddress,
java.net.SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server.
|
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.connectTcpStream(java.net.InetSocketAddress bindAddress,
java.net.InetSocketAddress destinationAddress,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a TCP server.
|
protected IoFuture<ConnectedMessageChannel> |
XnioWorker.connectUdpDatagram(java.net.InetSocketAddress bindAddress,
java.net.InetSocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a UDP server.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AcceptingChannel<C extends ConnectedChannel>
A channel which can accept inbound connections from remote endpoints.
|
interface |
BoundMultipointMessageChannel
A multipoint datagram channel.
|
interface |
ConnectedChannel
A channel that has a local and peer endpoint address.
|
interface |
ConnectedMessageChannel
A channel that sends and receives messages to a connected peer.
|
interface |
ConnectedSslStreamChannel
A TLS-encapsulated connected stream channel.
|
interface |
ConnectedStreamChannel
A stream channel that is a connection between a local and remote endpoint.
|
interface |
MulticastMessageChannel
A multicast-capable point-to-multipoint channel.
|
Modifier and Type | Class and Description |
---|---|
class |
FramedMessageChannel
A connected message channel providing a SASL-style framing layer over a stream channel where each message is prepended
by a four-byte length field.
|
Modifier and Type | Method and Description |
---|---|
IoFuture<? extends BoundChannel> |
BoundServerChannel.bind(java.net.SocketAddress address)
Add a binding.
|
java.util.Collection<? extends BoundChannel> |
BoundServerChannel.getChannels()
Get the channels representing the individual bound servers.
|
ChannelListener.Setter<? extends BoundChannel> |
BoundChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
Modifier and Type | Method and Description |
---|---|
IoFuture<ConnectedSslStreamChannel> |
JsseXnioSsl.connectSsl(XnioWorker worker,
java.net.InetSocketAddress destination,
ChannelListener<? super ConnectedSslStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap) |
abstract IoFuture<ConnectedSslStreamChannel> |
XnioSsl.connectSsl(XnioWorker worker,
java.net.InetSocketAddress destination,
ChannelListener<? super ConnectedSslStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Create an SSL connection to a remote host.
|
IoFuture<ConnectedSslStreamChannel> |
JsseXnioSsl.connectSsl(XnioWorker worker,
java.net.InetSocketAddress bindAddress,
java.net.InetSocketAddress destination,
ChannelListener<? super ConnectedSslStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap) |
abstract IoFuture<ConnectedSslStreamChannel> |
XnioSsl.connectSsl(XnioWorker worker,
java.net.InetSocketAddress bindAddress,
java.net.InetSocketAddress destination,
ChannelListener<? super ConnectedSslStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Create an SSL connection to a remote host.
|
Copyright © 2010 JBoss, a division of Red Hat, Inc.