Package | Description |
---|---|
io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.rxtx |
A serial and parallel port communication transport based on RXTX.
|
io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.udt |
UDT Transport.
|
Modifier and Type | Method and Description |
---|---|
<T> ServerBootstrap |
ServerBootstrap.childOption(ChannelOption<T> childOption,
T value)
Allow to specify a
ChannelOption which is used for the Channel instances once they get created
(after the acceptor accepted the Channel ). |
<T> B |
AbstractBootstrap.option(ChannelOption<T> option,
T value)
Allow to specify a
ChannelOption which is used for the Channel instances once they got
created. |
Modifier and Type | Field and Description |
---|---|
static ChannelOption<java.lang.Long> |
ChannelOption.AIO_READ_TIMEOUT
Deprecated.
|
static ChannelOption<java.lang.Long> |
ChannelOption.AIO_WRITE_TIMEOUT
Deprecated.
|
static ChannelOption<ByteBufAllocator> |
ChannelOption.ALLOCATOR |
static ChannelOption<java.lang.Boolean> |
ChannelOption.ALLOW_HALF_CLOSURE |
static ChannelOption<java.lang.Boolean> |
ChannelOption.AUTO_CLOSE
Deprecated.
Auto close will be removed in a future release.
If
true then the Channel is closed automatically and immediately on write failure.
The default value is true . |
static ChannelOption<java.lang.Boolean> |
ChannelOption.AUTO_READ |
static ChannelOption<java.lang.Integer> |
ChannelOption.CONNECT_TIMEOUT_MILLIS |
static ChannelOption<java.lang.Boolean> |
ChannelOption.DATAGRAM_CHANNEL_ACTIVE_ON_REGISTRATION
Deprecated.
|
static ChannelOption<java.net.InetAddress> |
ChannelOption.IP_MULTICAST_ADDR |
static ChannelOption<java.net.NetworkInterface> |
ChannelOption.IP_MULTICAST_IF |
static ChannelOption<java.lang.Boolean> |
ChannelOption.IP_MULTICAST_LOOP_DISABLED |
static ChannelOption<java.lang.Integer> |
ChannelOption.IP_MULTICAST_TTL |
static ChannelOption<java.lang.Integer> |
ChannelOption.IP_TOS |
static ChannelOption<java.lang.Integer> |
ChannelOption.MAX_MESSAGES_PER_READ |
static ChannelOption<MessageSizeEstimator> |
ChannelOption.MESSAGE_SIZE_ESTIMATOR |
static ChannelOption<RecvByteBufAllocator> |
ChannelOption.RCVBUF_ALLOCATOR |
static ChannelOption<java.lang.Boolean> |
ChannelOption.SINGLE_EVENTEXECUTOR_PER_GROUP |
static ChannelOption<java.lang.Integer> |
ChannelOption.SO_BACKLOG |
static ChannelOption<java.lang.Boolean> |
ChannelOption.SO_BROADCAST |
static ChannelOption<java.lang.Boolean> |
ChannelOption.SO_KEEPALIVE |
static ChannelOption<java.lang.Integer> |
ChannelOption.SO_LINGER |
static ChannelOption<java.lang.Integer> |
ChannelOption.SO_RCVBUF |
static ChannelOption<java.lang.Boolean> |
ChannelOption.SO_REUSEADDR |
static ChannelOption<java.lang.Integer> |
ChannelOption.SO_SNDBUF |
static ChannelOption<java.lang.Integer> |
ChannelOption.SO_TIMEOUT |
static ChannelOption<java.lang.Boolean> |
ChannelOption.TCP_NODELAY |
static ChannelOption<java.lang.Integer> |
ChannelOption.WRITE_BUFFER_HIGH_WATER_MARK |
static ChannelOption<java.lang.Integer> |
ChannelOption.WRITE_BUFFER_LOW_WATER_MARK |
static ChannelOption<java.lang.Integer> |
ChannelOption.WRITE_SPIN_COUNT |
Modifier and Type | Method and Description |
---|---|
static <T> ChannelOption<T> |
ChannelOption.newInstance(java.lang.String name)
Creates a new
ChannelOption for the given or fail with an
IllegalArgumentException if a ChannelOption for the given exists. |
static <T> ChannelOption<T> |
ChannelOption.valueOf(java.lang.String name)
Creates a new
ChannelOption with the specified or return the already existing
ChannelOption for the given name. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
ChannelConfig.getOptions()
Return all set
ChannelOption 's. |
protected java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultChannelConfig.getOptions(java.util.Map<ChannelOption<?>,java.lang.Object> result,
ChannelOption<?>... options) |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
ChannelConfig.getOption(ChannelOption<T> option)
Return the value of the given
ChannelOption |
protected java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultChannelConfig.getOptions(java.util.Map<ChannelOption<?>,java.lang.Object> result,
ChannelOption<?>... options) |
<T> boolean |
DefaultChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
ChannelConfig.setOption(ChannelOption<T> option,
T value)
Sets a configuration property with the specified name and value.
|
protected <T> void |
DefaultChannelConfig.validate(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultChannelConfig.getOptions(java.util.Map<ChannelOption<?>,java.lang.Object> result,
ChannelOption<?>... options) |
boolean |
DefaultChannelConfig.setOptions(java.util.Map<ChannelOption<?>,?> options) |
boolean |
ChannelConfig.setOptions(java.util.Map<ChannelOption<?>,?> options)
Sets the configuration properties from the specified
Map . |
Modifier and Type | Class and Description |
---|---|
class |
EpollChannelOption<T> |
Modifier and Type | Field and Description |
---|---|
static ChannelOption<DomainSocketReadMode> |
EpollChannelOption.DOMAIN_SOCKET_READ_MODE |
static ChannelOption<EpollMode> |
EpollChannelOption.EPOLL_MODE |
static ChannelOption<java.lang.Boolean> |
EpollChannelOption.IP_FREEBIND |
static ChannelOption<java.lang.Boolean> |
EpollChannelOption.SO_REUSEPORT |
static ChannelOption<java.lang.Boolean> |
EpollChannelOption.TCP_CORK |
static ChannelOption<java.lang.Integer> |
EpollChannelOption.TCP_DEFER_ACCEPT |
static ChannelOption<java.lang.Integer> |
EpollChannelOption.TCP_FASTOPEN |
static ChannelOption<java.lang.Integer> |
EpollChannelOption.TCP_KEEPCNT |
static ChannelOption<java.lang.Integer> |
EpollChannelOption.TCP_KEEPIDLE |
static ChannelOption<java.lang.Integer> |
EpollChannelOption.TCP_KEEPINTVL |
static ChannelOption<java.util.Map<java.net.InetAddress,byte[]>> |
EpollChannelOption.TCP_MD5SIG |
static ChannelOption<java.lang.Long> |
EpollChannelOption.TCP_NOTSENT_LOWAT |
static ChannelOption<java.lang.Boolean> |
EpollChannelOption.TCP_QUICKACK |
static ChannelOption<java.lang.Integer> |
EpollChannelOption.TCP_USER_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ChannelOption<?>,java.lang.Object> |
EpollSocketChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
EpollServerSocketChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
EpollServerChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
EpollDomainSocketChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
EpollDatagramChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
EpollChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
EpollSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollServerChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollDomainSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
EpollChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
EpollSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollServerChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollDomainSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
EpollChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Class and Description |
---|---|
class |
RxtxChannelOption<T>
Deprecated.
this transport will be removed in the next major version.
|
Modifier and Type | Class and Description |
---|---|
class |
SctpChannelOption<T>
Option for configuring the SCTP transport
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultSctpServerChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultSctpChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultSctpServerChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultSctpChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultSctpServerChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultSctpChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultSocketChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultServerSocketChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultDatagramChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultOioSocketChannelConfig.getOptions() |
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultOioServerSocketChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultOioSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultOioServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultOioSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultOioServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Class and Description |
---|---|
class |
UdtChannelOption<T>
Deprecated.
The UDT transport is no longer maintained and will be removed.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultUdtServerChannelConfig.getOptions()
Deprecated.
|
java.util.Map<ChannelOption<?>,java.lang.Object> |
DefaultUdtChannelConfig.getOptions()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultUdtServerChannelConfig.getOption(ChannelOption<T> option)
Deprecated.
|
<T> T |
DefaultUdtChannelConfig.getOption(ChannelOption<T> option)
Deprecated.
|
<T> boolean |
DefaultUdtServerChannelConfig.setOption(ChannelOption<T> option,
T value)
Deprecated.
|
<T> boolean |
DefaultUdtChannelConfig.setOption(ChannelOption<T> option,
T value)
Deprecated.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.