|
XNIO API 3.0.7.GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OptionMap | |
|---|---|
| org.xnio | The main API package for XNIO. |
| org.xnio.sasl | |
| org.xnio.ssl | |
| Uses of OptionMap in org.xnio |
|---|
| Fields in org.xnio declared as OptionMap | |
|---|---|
static OptionMap |
OptionMap.EMPTY
The empty option map. |
| Fields in org.xnio with type parameters of type OptionMap | |
|---|---|
static Option<OptionMap> |
Options.SSL_RNG_OPTIONS
The configuration of a secure RNG for SSL usage. |
| Methods in org.xnio that return OptionMap | ||
|---|---|---|
static
|
OptionMap.create(Option<T> option,
T value)
Create a single-valued option map. |
|
static
|
OptionMap.create(Option<T1> option1,
T1 value1,
Option<T2> option2,
T2 value2)
Create a two-valued option map. |
|
OptionMap |
OptionMap.Builder.getMap()
Build a map that reflects the current state of this builder. |
|
| Methods in org.xnio with parameters of type OptionMap | |
|---|---|
IoFuture<ConnectedMessageChannel> |
XnioWorker.acceptDatagram(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(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(InetSocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to accept a TCP connection. |
OptionMap.Builder |
OptionMap.Builder.addAll(OptionMap optionMap)
Add all entries from an existing option map to the one being built. |
IoFuture<ConnectedMessageChannel> |
XnioWorker.connectDatagram(SocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server. |
IoFuture<ConnectedMessageChannel> |
XnioWorker.connectDatagram(SocketAddress bindAddress,
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(SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server. |
IoFuture<ConnectedStreamChannel> |
XnioWorker.connectStream(SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
OptionMap optionMap)
Connect to a remote stream server. |
IoFuture<ConnectedStreamChannel> |
XnioWorker.connectStream(SocketAddress bindAddress,
SocketAddress destination,
ChannelListener<? super ConnectedStreamChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Connect to a remote stream server. |
protected IoFuture<ConnectedStreamChannel> |
XnioWorker.connectTcpStream(InetSocketAddress bindAddress,
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(InetSocketAddress bindAddress,
InetSocketAddress destination,
ChannelListener<? super ConnectedMessageChannel> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap)
Implementation helper method to connect to a UDP server. |
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. |
void |
XnioWorker.createOneWayPipe(ChannelListener<? super StreamSourceChannel> sourceListener,
ChannelListener<? super StreamSinkChannel> sinkListener,
OptionMap optionMap)
Open a unidirectional stream pipe. |
void |
XnioWorker.createPipe(ChannelListener<? super StreamChannel> leftOpenListener,
ChannelListener<? super StreamChannel> rightOpenListener,
OptionMap optionMap)
Open a bidirectional stream pipe. |
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. |
MulticastMessageChannel |
XnioWorker.createUdpServer(InetSocketAddress bindAddress,
ChannelListener<? super MulticastMessageChannel> bindListener,
OptionMap optionMap)
Create a UDP server. |
MulticastMessageChannel |
XnioWorker.createUdpServer(InetSocketAddress bindAddress,
OptionMap optionMap)
Create a UDP server. |
XnioWorker |
Xnio.createWorker(OptionMap optionMap)
Construct a new XNIO worker. |
XnioWorker |
Xnio.createWorker(ThreadGroup threadGroup,
OptionMap optionMap)
Construct a new XNIO worker. |
abstract XnioWorker |
Xnio.createWorker(ThreadGroup threadGroup,
OptionMap optionMap,
Runnable terminationTask)
Construct a new XNIO worker. |
boolean |
OptionMap.equals(OptionMap other)
Determine whether this option map is equal to another. |
XnioSsl |
Xnio.getSslProvider(KeyManager[] keyManagers,
TrustManager[] trustManagers,
OptionMap optionMap)
Get an SSL provider for this XNIO provider. |
XnioSsl |
Xnio.getSslProvider(OptionMap optionMap)
Get an SSL provider for this XNIO provider. |
FileChannel |
Xnio.openFile(File file,
OptionMap options)
Open a file on the filesystem. |
FileChannel |
Xnio.openFile(String fileName,
OptionMap options)
Open a file on the filesystem. |
| Constructors in org.xnio with parameters of type OptionMap | |
|---|---|
XnioWorker(Xnio xnio,
ThreadGroup threadGroup,
OptionMap optionMap,
Runnable terminationTask)
Construct a new instance. |
|
| Uses of OptionMap in org.xnio.sasl |
|---|
| Methods in org.xnio.sasl with parameters of type OptionMap | |
|---|---|
static Map<String,Object> |
SaslUtils.createPropertyMap(OptionMap optionMap,
boolean secure)
Create a SASL property map from an XNIO option map. |
| Uses of OptionMap in org.xnio.ssl |
|---|
| Constructors in org.xnio.ssl with parameters of type OptionMap | |
|---|---|
JsseXnioSsl(Xnio xnio,
OptionMap optionMap)
Construct a new instance. |
|
JsseXnioSsl(Xnio xnio,
OptionMap optionMap,
SSLContext sslContext)
Construct a new instance. |
|
XnioSsl(Xnio xnio,
SSLContext sslContext,
OptionMap optionMap)
Construct a new instance. |
|
|
XNIO API 3.0.7.GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||