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.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).
|
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 | Method and Description |
---|---|
static <T> ChannelOption<T> |
ChannelOption.newInstance(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(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 |
---|---|
Map<ChannelOption<?>,Object> |
ChannelConfig.getOptions()
Return all set
ChannelOption 's. |
Map<ChannelOption<?>,Object> |
DefaultChannelConfig.getOptions() |
protected Map<ChannelOption<?>,Object> |
DefaultChannelConfig.getOptions(Map<ChannelOption<?>,Object> result,
ChannelOption<?>... options) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ChannelConfig.getOption(ChannelOption<T> option)
Return the value of the given
ChannelOption |
<T> T |
DefaultChannelConfig.getOption(ChannelOption<T> option) |
protected Map<ChannelOption<?>,Object> |
DefaultChannelConfig.getOptions(Map<ChannelOption<?>,Object> result,
ChannelOption<?>... options) |
<T> boolean |
ChannelConfig.setOption(ChannelOption<T> option,
T value)
Sets a configuration property with the specified name and value.
|
<T> boolean |
DefaultChannelConfig.setOption(ChannelOption<T> option,
T value) |
protected <T> void |
DefaultChannelConfig.validate(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
protected Map<ChannelOption<?>,Object> |
DefaultChannelConfig.getOptions(Map<ChannelOption<?>,Object> result,
ChannelOption<?>... options) |
boolean |
ChannelConfig.setOptions(Map<ChannelOption<?>,?> options)
Sets the configuration properties from the specified
Map . |
boolean |
DefaultChannelConfig.setOptions(Map<ChannelOption<?>,?> options) |
Modifier and Type | Class and Description |
---|---|
class |
SctpChannelOption<T>
Option for configuring the SCTP transport
|
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultSctpChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
DefaultSctpServerChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultSctpChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultSctpServerChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultSctpChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultSctpServerChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
DefaultDatagramChannelConfig.getOptions() |
Map<ChannelOption<?>,Object> |
DefaultServerSocketChannelConfig.getOptions() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultDatagramChannelConfig.getOption(ChannelOption<T> option) |
<T> T |
DefaultServerSocketChannelConfig.getOption(ChannelOption<T> option) |
<T> boolean |
DefaultSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultDatagramChannelConfig.setOption(ChannelOption<T> option,
T value) |
<T> boolean |
DefaultServerSocketChannelConfig.setOption(ChannelOption<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
Map<ChannelOption<?>,Object> |
DefaultOioSocketChannelConfig.getOptions() |
Map<ChannelOption<?>,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) |
Copyright © 2008-2016 The Netty Project. All Rights Reserved.