|
XNIO API 2.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.xnio.Options
public final class Options

Common channel options.
| Field Summary | |
|---|---|
static Option<Integer> |
BACKLOG
Configure a server with the specified backlog. |
static Option<Boolean> |
BROADCAST
Enable broadcast support for IP datagram sockets. |
static Option<Boolean> |
CLOSE_ABORT
Configure a TCP socket to send an RST packet on close. |
static Option<Integer> |
CONNECT_THREADS
The number of connect threads to create. |
static Option<Integer> |
IP_TRAFFIC_CLASS
Set the IP traffic class/type-of-service for the channel. |
static Option<Boolean> |
KEEP_ALIVE
Configure a channel to send a periodic heartbeat of some sort. |
static Option<Boolean> |
MANAGE_CONNECTIONS
Configure an acceptor to manage connections or to leave them unmanaged. |
static Option<Integer> |
MAX_INBOUND_MESSAGE_SIZE
The maximum inbound message size. |
static Option<Integer> |
MAX_OUTBOUND_MESSAGE_SIZE
The maximum outbound message size. |
static Option<Boolean> |
MULTICAST
Enable multicast support for a socket. |
static Option<Integer> |
MULTICAST_TTL
Set the multicast time-to-live field for datagram sockets. |
static Option<Integer> |
READ_THREADS
The number of read threads to create. |
static Option<Integer> |
RECEIVE_BUFFER
The receive buffer size. |
static Option<Boolean> |
REUSE_ADDRESSES
Configure an IP socket to reuse addresses. |
static Option<Sequence<String>> |
SASL_MECHANISMS
A list of SASL mechanisms, in decreasing order of preference. |
static Option<Boolean> |
SASL_POLICY_FORWARD_SECRECY
Specify whether SASL mechanisms which implement forward secrecy between sessions are required. |
static Option<Boolean> |
SASL_POLICY_NOACTIVE
Specify whether SASL mechanisms which are susceptible to active (non-dictionary) attacks are permitted. |
static Option<Boolean> |
SASL_POLICY_NOANONYMOUS
Specify whether SASL mechanisms which accept anonymous logins are permitted. |
static Option<Boolean> |
SASL_POLICY_NODICTIONARY
Specify whether SASL mechanisms which are susceptible to passive dictionary attacks are permitted. |
static Option<Boolean> |
SASL_POLICY_NOPLAINTEXT
Specify whether SASL mechanisms which are susceptible to simple plain passive attacks are permitted. |
static Option<Boolean> |
SASL_POLICY_PASS_CREDENTIALS
Specify whether SASL mechanisms which pass client credentials are required. |
static Option<Sequence<SaslQop>> |
SASL_QOP
Specify the SASL quality-of-protection to use. |
static Option<Boolean> |
SASL_REUSE
Specify whether SASL mechanisms should attempt to reuse authenticated session information. |
static Option<Boolean> |
SASL_SERVER_AUTH
Specify whether the SASL server must authenticate to the client. |
static Option<SaslStrength> |
SASL_STRENGTH
Specify the SASL cipher strength to use. |
static Option<Boolean> |
SECURE
Determine whether the channel is encrypted, or employs some other level of security. |
static Option<Integer> |
SELECTOR_CACHE_SIZE
The size of the selector cache (used only by providers which use NIO selectors). |
static Option<Integer> |
SEND_BUFFER
The send buffer size. |
static Option<SslClientAuthMode> |
SSL_CLIENT_AUTH_MODE
Specify the SSL client authentication mode. |
static Option<Boolean> |
SSL_ENABLE_SESSION_CREATION
Enable or disable session creation for an SSL connection. |
static Option<Sequence<String>> |
SSL_ENABLED_CIPHER_SUITES
Specify the cipher suites for an SSL/TLS session. |
static Option<Sequence<String>> |
SSL_ENABLED_PROTOCOLS
Specify the enabled protocols for an SSL/TLS session. |
static Option<String> |
SSL_PROTOCOL
Specify the protocol name for an SSL context. |
static Option<String> |
SSL_PROVIDER
Specify the requested provider for an SSL/TLS session. |
static Option<Integer> |
SSL_RECEIVE_BUFFER
Specify the SSL receive buffer size. |
static Option<Integer> |
SSL_SEND_BUFFER
Specify the SSL send buffer size. |
static Option<Sequence<String>> |
SSL_SUPPORTED_CIPHER_SUITES
Get the supported cipher suites for an SSL/TLS session. |
static Option<Sequence<String>> |
SSL_SUPPORTED_PROTOCOLS
Get the supported protocols for an SSL/TLS session. |
static Option<Boolean> |
SSL_USE_CLIENT_MODE
Specify whether SSL conversations should be in client or server mode. |
static Option<Boolean> |
TCP_NODELAY
Configure a TCP socket to disable Nagle's algorithm. |
static Option<Boolean> |
TCP_OOB_INLINE
Configure a TCP socket to receive out-of-band data alongside regular data. |
static Option<Integer> |
WRITE_THREADS
The number of write threads to create. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Option<Boolean> MULTICAST
boolean. Note that some
implementations may add overhead when multicast sockets are in use.
public static final Option<Boolean> BROADCAST
boolean. If you
intend to send datagrams to a broadcast address, this option must be enabled.
public static final Option<Boolean> CLOSE_ABORT
RST packet on close. The value type for this option is boolean.
public static final Option<Integer> RECEIVE_BUFFER
int. This may be used by an XNIO provider
directly, or it may be passed to the underlying operating system, depending on the channel type.
public static final Option<Boolean> REUSE_ADDRESSES
boolean.
public static final Option<Integer> SEND_BUFFER
int. This may be used by an XNIO provider
directly, or it may be passed to the underlying operating system, depending on the channel type.
public static final Option<Boolean> TCP_NODELAY
boolean.
public static final Option<Integer> MULTICAST_TTL
int.
public static final Option<Integer> IP_TRAFFIC_CLASS
int.
public static final Option<Boolean> TCP_OOB_INLINE
boolean.
public static final Option<Boolean> KEEP_ALIVE
boolean.
public static final Option<Integer> BACKLOG
int.
public static final Option<Boolean> MANAGE_CONNECTIONS
public static final Option<Integer> READ_THREADS
public static final Option<Integer> WRITE_THREADS
public static final Option<Integer> CONNECT_THREADS
public static final Option<Integer> SELECTOR_CACHE_SIZE
public static final Option<Integer> MAX_INBOUND_MESSAGE_SIZE
public static final Option<Integer> MAX_OUTBOUND_MESSAGE_SIZE
public static final Option<SslClientAuthMode> SSL_CLIENT_AUTH_MODE
public static final Option<Sequence<String>> SSL_ENABLED_CIPHER_SUITES
public static final Option<Sequence<String>> SSL_SUPPORTED_CIPHER_SUITES
public static final Option<Sequence<String>> SSL_ENABLED_PROTOCOLS
public static final Option<Sequence<String>> SSL_SUPPORTED_PROTOCOLS
public static final Option<String> SSL_PROVIDER
public static final Option<String> SSL_PROTOCOL
public static final Option<Integer> SSL_SEND_BUFFER
public static final Option<Integer> SSL_RECEIVE_BUFFER
public static final Option<Boolean> SSL_ENABLE_SESSION_CREATION
true to enable session creation.
public static final Option<Boolean> SSL_USE_CLIENT_MODE
false (use server mode).
public static final Option<Boolean> SECURE
public static final Option<Boolean> SASL_POLICY_FORWARD_SECRECY
Sasl.POLICY_FORWARD_SECRECYpublic static final Option<Boolean> SASL_POLICY_NOACTIVE
Sasl.POLICY_NOACTIVEpublic static final Option<Boolean> SASL_POLICY_NOANONYMOUS
Sasl.POLICY_NOANONYMOUSpublic static final Option<Boolean> SASL_POLICY_NODICTIONARY
Sasl.POLICY_NODICTIONARYpublic static final Option<Boolean> SASL_POLICY_NOPLAINTEXT
Sasl.POLICY_NOPLAINTEXTpublic static final Option<Boolean> SASL_POLICY_PASS_CREDENTIALS
Sasl.POLICY_PASS_CREDENTIALSpublic static final Option<Sequence<SaslQop>> SASL_QOP
Sasl.QOPpublic static final Option<SaslStrength> SASL_STRENGTH
Sasl.STRENGTHpublic static final Option<Boolean> SASL_SERVER_AUTH
Sasl.SERVER_AUTHpublic static final Option<Boolean> SASL_REUSE
Sasl.REUSEpublic static final Option<Sequence<String>> SASL_MECHANISMS
|
XNIO API 2.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||