| 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.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).
|
| 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(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) |
ChannelFuture |
ChannelFuture.addListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.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(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) |
ChannelFuture |
ChannelFuture.removeListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.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 |
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) |
Copyright © 2008–2013 The Netty Project. All rights reserved.