|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.xnio.channels.CommonOptions
public final class CommonOptions
Common channel options.
Field Summary | |
---|---|
static ChannelOption<java.lang.Integer> |
BACKLOG
Configure a server with the specified backlog. |
static ChannelOption<java.lang.Boolean> |
BROADCAST
Enable broadcast support for IP datagram sockets. |
static ChannelOption<java.lang.Boolean> |
CLOSE_ABORT
Configure a TCP socket to send an RST packet on close. |
static ChannelOption<java.lang.Integer> |
IP_TOS
Type of service for IP sockets. |
static ChannelOption<java.lang.Integer> |
IP_TRAFFIC_CLASS
Set the IP traffic class/type-of-service for the channel. |
static ChannelOption<java.lang.Boolean> |
KEEP_ALIVE
Configure a channel to send a periodic heartbeat of some sort. |
static ChannelOption<java.lang.Boolean> |
MANAGE_CONNECTIONS
Configure an acceptor to manage connections or to leave them unmanaged. |
static ChannelOption<java.lang.Integer> |
MULTICAST_TTL
Set the multicast time-to-live field for datagram sockets. |
static ChannelOption<java.lang.Integer> |
RECEIVE_BUFFER
The receive buffer size. |
static ChannelOption<java.lang.Boolean> |
REUSE_ADDRESSES
Configure an IP socket to reuse addresses. |
static ChannelOption<java.lang.Integer> |
SEND_BUFFER
The send buffer size. |
static ChannelOption<java.lang.Boolean> |
TCP_NODELAY
Configure a TCP socket to disable Nagle's algorithm. |
static ChannelOption<java.lang.Boolean> |
TCP_OOB_INLINE
Configure a TCP socket to receive out-of-band data alongside regular data. |
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 ChannelOption<java.lang.Integer> IP_TOS
int
. The value given is only
a hint to the operating system, and may be ignored.
public static final ChannelOption<java.lang.Boolean> BROADCAST
boolean
. If you
intend to send datagrams to a broadcast address, this option must be enabled.
public static final ChannelOption<java.lang.Boolean> CLOSE_ABORT
RST
packet on close. The value type for this option is boolean
.
public static final ChannelOption<java.lang.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 ChannelOption<java.lang.Boolean> REUSE_ADDRESSES
boolean
.
public static final ChannelOption<java.lang.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 ChannelOption<java.lang.Boolean> TCP_NODELAY
boolean
.
public static final ChannelOption<java.lang.Integer> MULTICAST_TTL
int
.
public static final ChannelOption<java.lang.Integer> IP_TRAFFIC_CLASS
int
.
public static final ChannelOption<java.lang.Boolean> TCP_OOB_INLINE
boolean
.
public static final ChannelOption<java.lang.Boolean> KEEP_ALIVE
boolean
.
public static final ChannelOption<java.lang.Integer> BACKLOG
int
.
public static final ChannelOption<java.lang.Boolean> MANAGE_CONNECTIONS
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |