| 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.group |
A channel registry which helps a user maintain the list of open
Channels and perform bulk operations on them. |
| io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
| io.netty.channel.sctp.nio |
NIO-based SCTP Channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.channel.sctp.oio |
Old blocking I/O based SCTP channel API implementation - recommended for
a small number of connections (< 1000).
|
| io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
| io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
| io.netty.handler.codec.compression | |
| io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
| io.netty.handler.ssl |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
Bootstrap.connect()
Connect a
Channel to the remote peer. |
ChannelFuture |
Bootstrap.connect(InetAddress inetHost,
int inetPort)
Connect a
Channel to the remote peer. |
ChannelFuture |
Bootstrap.connect(SocketAddress remoteAddress)
Connect a
Channel to the remote peer. |
ChannelFuture |
Bootstrap.connect(SocketAddress remoteAddress,
SocketAddress localAddress)
Connect a
Channel to the remote peer. |
ChannelFuture |
Bootstrap.connect(String inetHost,
int inetPort)
Connect a
Channel to the remote peer. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChannelProgressiveFuture
An special
ChannelFuture which is used to indicate the FileRegion transfer progress |
interface |
ChannelProgressivePromise
Special
ChannelPromise which will be notified once the associated bytes is transferring. |
interface |
ChannelPromise
Special
ChannelFuture which is writable. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultChannelProgressivePromise
The default
ChannelProgressivePromise implementation. |
class |
DefaultChannelPromise
The default
ChannelPromise implementation. |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
ChannelFuture.addListener(GenericFutureListener<? extends Future<? super Void>> listener) |
ChannelFuture |
ChannelFuture.addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) |
ChannelFuture |
ChannelFuture.await() |
ChannelFuture |
ChannelFuture.awaitUninterruptibly() |
ChannelFuture |
AbstractChannel.bind(SocketAddress localAddress) |
ChannelFuture |
AbstractChannel.bind(SocketAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
AbstractChannel.close() |
ChannelFuture |
AbstractChannel.close(ChannelPromise promise) |
ChannelFuture |
Channel.closeFuture()
Returns the
ChannelFuture which will be notified when this
channel is closed. |
ChannelFuture |
AbstractChannel.closeFuture() |
ChannelFuture |
AbstractChannel.connect(SocketAddress remoteAddress) |
ChannelFuture |
AbstractChannel.connect(SocketAddress remoteAddress,
ChannelPromise promise) |
ChannelFuture |
AbstractChannel.connect(SocketAddress remoteAddress,
SocketAddress localAddress) |
ChannelFuture |
AbstractChannel.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
AbstractChannel.deregister() |
ChannelFuture |
AbstractChannel.deregister(ChannelPromise promise) |
ChannelFuture |
AbstractChannel.disconnect() |
ChannelFuture |
AbstractChannel.disconnect(ChannelPromise promise) |
ChannelFuture |
AbstractChannel.newFailedFuture(Throwable cause) |
ChannelFuture |
AbstractChannel.newSucceededFuture() |
ChannelFuture |
ThreadPerChannelEventLoopGroup.register(Channel channel) |
ChannelFuture |
SingleThreadEventLoop.register(Channel channel) |
ChannelFuture |
MultithreadEventLoopGroup.register(Channel channel) |
ChannelFuture |
EventLoopGroup.register(Channel channel)
|
ChannelFuture |
ThreadPerChannelEventLoopGroup.register(Channel channel,
ChannelPromise promise) |
ChannelFuture |
ThreadPerChannelEventLoop.register(Channel channel,
ChannelPromise promise) |
ChannelFuture |
SingleThreadEventLoop.register(Channel channel,
ChannelPromise promise) |
ChannelFuture |
MultithreadEventLoopGroup.register(Channel channel,
ChannelPromise promise) |
ChannelFuture |
EventLoopGroup.register(Channel channel,
ChannelPromise promise)
|
ChannelFuture |
ChannelFuture.removeListener(GenericFutureListener<? extends Future<? super Void>> listener) |
ChannelFuture |
ChannelFuture.removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) |
ChannelFuture |
ChannelFuture.sync() |
ChannelFuture |
ChannelFuture.syncUninterruptibly() |
ChannelFuture |
AbstractChannel.write(Object msg) |
ChannelFuture |
AbstractChannel.write(Object msg,
ChannelPromise promise) |
ChannelFuture |
AbstractChannel.writeAndFlush(Object msg) |
ChannelFuture |
AbstractChannel.writeAndFlush(Object msg,
ChannelPromise promise) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChannelPromiseNotifier.operationComplete(ChannelFuture cf) |
void |
ChannelPromiseAggregator.operationComplete(ChannelFuture future) |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
ChannelGroupFuture.find(Channel channel)
Returns the
ChannelFuture of the individual I/O operation which
is associated with the specified Channel. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<ChannelFuture> |
ChannelGroupFuture.iterator()
Returns the
Iterator that enumerates all ChannelFutures
which are associated with this future. |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
SctpServerChannel.bindAddress(InetAddress localAddress)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpChannel.bindAddress(InetAddress localAddress)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpServerChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpServerChannel.unbindAddress(InetAddress localAddress)
Unbind the address from channel's multi-homing address list.
|
ChannelFuture |
SctpChannel.unbindAddress(InetAddress localAddress)
Unbind the address from channel's multi-homing address list.
|
ChannelFuture |
SctpServerChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise)
Unbind the address from channel's multi-homing address list.
|
ChannelFuture |
SctpChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise)
Unbind the address from channel's multi-homing address list.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
NioSctpServerChannel.bindAddress(InetAddress localAddress) |
ChannelFuture |
NioSctpChannel.bindAddress(InetAddress localAddress) |
ChannelFuture |
NioSctpServerChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpServerChannel.unbindAddress(InetAddress localAddress) |
ChannelFuture |
NioSctpChannel.unbindAddress(InetAddress localAddress) |
ChannelFuture |
NioSctpServerChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise) |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
OioSctpServerChannel.bindAddress(InetAddress localAddress) |
ChannelFuture |
OioSctpChannel.bindAddress(InetAddress localAddress) |
ChannelFuture |
OioSctpServerChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpServerChannel.unbindAddress(InetAddress localAddress) |
ChannelFuture |
OioSctpChannel.unbindAddress(InetAddress localAddress) |
ChannelFuture |
OioSctpServerChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise) |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
DatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress and notifies the
ChannelFuture once
the operation completes. |
ChannelFuture |
DatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock,
ChannelPromise future)
Block the given sourceToBlock address for the given multicastAddress and notifies the
ChannelFuture once
the operation completes. |
ChannelFuture |
DatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies
the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock,
ChannelPromise future)
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies
the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetAddress multicastAddress)
Joins a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetAddress multicastAddress,
ChannelPromise future)
Joins a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise future)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise future)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(InetAddress multicastAddress)
Leaves a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(InetAddress multicastAddress,
ChannelPromise future)
Leaves a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source)
Leave the specified multicast group at the specified interface using the specified source and notifies
the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise future)
Leave the specified multicast group at the specified interface using the specified source and notifies
the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface)
Leaves a multicast group on a specified local interface and notifies the
ChannelFuture once the
operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise future)
Leaves a multicast group on a specified local interface and notifies the
ChannelFuture once the
operation completes. |
ChannelFuture |
SocketChannel.shutdownOutput() |
ChannelFuture |
SocketChannel.shutdownOutput(ChannelPromise future) |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
NioDatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress
|
ChannelFuture |
NioDatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock,
ChannelPromise promise)
Block the given sourceToBlock address for the given multicastAddress
|
ChannelFuture |
NioDatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface
|
ChannelFuture |
NioDatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock,
ChannelPromise promise)
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface
|
ChannelFuture |
NioDatagramChannel.joinGroup(InetAddress multicastAddress) |
ChannelFuture |
NioDatagramChannel.joinGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source) |
ChannelFuture |
NioDatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface) |
ChannelFuture |
NioDatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetAddress multicastAddress) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
NioSocketChannel.shutdownOutput() |
ChannelFuture |
NioSocketChannel.shutdownOutput(ChannelPromise promise) |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
OioDatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock) |
ChannelFuture |
OioDatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock) |
ChannelFuture |
OioDatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetAddress multicastAddress) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetAddress multicastAddress) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
OioSocketChannel.shutdownOutput() |
ChannelFuture |
OioSocketChannel.shutdownOutput(ChannelPromise future) |
| Modifier and Type | Method and Description |
|---|---|
abstract ChannelFuture |
ZlibEncoder.close()
Close this
ZlibEncoder and so finish the encoding. |
ChannelFuture |
JZlibEncoder.close() |
ChannelFuture |
JdkZlibEncoder.close() |
abstract ChannelFuture |
ZlibEncoder.close(ChannelPromise promise)
Close this
ZlibEncoder and so finish the encoding. |
ChannelFuture |
JZlibEncoder.close(ChannelPromise promise) |
ChannelFuture |
JdkZlibEncoder.close(ChannelPromise promise) |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
WebSocketServerHandshaker.close(Channel channel,
CloseWebSocketFrame frame)
Performs the closing handshake
|
ChannelFuture |
WebSocketClientHandshaker.close(Channel channel,
CloseWebSocketFrame frame)
Performs the closing handshake
|
ChannelFuture |
WebSocketServerHandshaker00.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Echo back the closing frame
|
ChannelFuture |
WebSocketServerHandshaker.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake
|
ChannelFuture |
WebSocketClientHandshaker.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake
|
ChannelFuture |
WebSocketClientHandshaker.handshake(Channel channel)
Begins the opening handshake
|
ChannelFuture |
WebSocketClientHandshaker.handshake(Channel channel,
ChannelPromise promise)
Begins the opening handshake
|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
FullHttpRequest req)
Performs the opening handshake.
|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
FullHttpRequest req,
HttpHeaders responseHeaders,
ChannelPromise promise)
Performs the opening handshake
When call this method you MUST NOT retain the
FullHttpRequest which is passed in. |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
SslHandler.close()
Sends an SSL
close_notify message to the specified channel and
destroys the underlying SSLEngine. |
ChannelFuture |
SslHandler.close(ChannelPromise future)
|
Copyright © 2008–2013 The Netty Project. All rights reserved.