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.embedded |
A virtual
Channel that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context. |
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.group |
A channel registry which helps a user maintain the list of open
Channel s and perform bulk operations on them. |
io.netty.channel.pool |
Implementations and API for
Channel pools. |
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.ipfilter |
Package to filter IP addresses (allow/deny).
|
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
AbstractBootstrap.bind()
Create a new
Channel and bind it. |
ChannelFuture |
AbstractBootstrap.bind(java.net.InetAddress inetHost,
int inetPort)
Create a new
Channel and bind it. |
ChannelFuture |
AbstractBootstrap.bind(int inetPort)
Create a new
Channel and bind it. |
ChannelFuture |
AbstractBootstrap.bind(java.net.SocketAddress localAddress)
Create a new
Channel and bind it. |
ChannelFuture |
AbstractBootstrap.bind(java.lang.String inetHost,
int inetPort)
Create a new
Channel and bind it. |
ChannelFuture |
Bootstrap.connect()
Connect a
Channel to the remote peer. |
ChannelFuture |
Bootstrap.connect(java.net.InetAddress inetHost,
int inetPort)
Connect a
Channel to the remote peer. |
ChannelFuture |
Bootstrap.connect(java.net.SocketAddress remoteAddress)
Connect a
Channel to the remote peer. |
ChannelFuture |
Bootstrap.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress)
Connect a
Channel to the remote peer. |
ChannelFuture |
Bootstrap.connect(java.lang.String inetHost,
int inetPort)
Connect a
Channel to the remote peer. |
ChannelFuture |
AbstractBootstrap.register()
|
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 java.lang.Void>> listener) |
ChannelFuture |
ChannelFuture.addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelFuture |
ChannelFuture.await() |
ChannelFuture |
ChannelFuture.awaitUninterruptibly() |
ChannelFuture |
DefaultChannelPipeline.bind(java.net.SocketAddress localAddress) |
ChannelFuture |
ChannelPipeline.bind(java.net.SocketAddress localAddress)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
ChannelHandlerContext.bind(java.net.SocketAddress localAddress)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
Channel.bind(java.net.SocketAddress localAddress)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.bind(java.net.SocketAddress localAddress) |
ChannelFuture |
DefaultChannelPipeline.bind(java.net.SocketAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
ChannelPipeline.bind(java.net.SocketAddress localAddress,
ChannelPromise promise)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
ChannelHandlerContext.bind(java.net.SocketAddress localAddress,
ChannelPromise promise)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
Channel.bind(java.net.SocketAddress localAddress,
ChannelPromise promise)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.bind(java.net.SocketAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
DefaultChannelPipeline.close() |
ChannelFuture |
ChannelPipeline.close()
Request to close the
Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error. |
ChannelFuture |
ChannelHandlerContext.close()
Request to close the
Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error. |
ChannelFuture |
Channel.close()
Request to close this
Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error. |
ChannelFuture |
AbstractChannel.close() |
ChannelFuture |
DefaultChannelPipeline.close(ChannelPromise promise) |
ChannelFuture |
ChannelPipeline.close(ChannelPromise promise)
Request to close the
Channel bound to this ChannelPipeline and notify the ChannelFuture
once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
ChannelHandlerContext.close(ChannelPromise promise)
Request to close the
Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error. |
ChannelFuture |
Channel.close(ChannelPromise promise)
Request to close this
Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error. |
ChannelFuture |
AbstractChannel.close(ChannelPromise promise) |
ChannelFuture |
Channel.closeFuture()
Returns the
ChannelFuture which will be notified when this
channel is closed. |
ChannelFuture |
AbstractChannel.closeFuture() |
ChannelFuture |
DefaultChannelPipeline.connect(java.net.SocketAddress remoteAddress) |
ChannelFuture |
ChannelPipeline.connect(java.net.SocketAddress remoteAddress)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
ChannelHandlerContext.connect(java.net.SocketAddress remoteAddress)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
Channel.connect(java.net.SocketAddress remoteAddress)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.connect(java.net.SocketAddress remoteAddress) |
ChannelFuture |
DefaultChannelPipeline.connect(java.net.SocketAddress remoteAddress,
ChannelPromise promise) |
ChannelFuture |
ChannelPipeline.connect(java.net.SocketAddress remoteAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
ChannelHandlerContext.connect(java.net.SocketAddress remoteAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
Channel.connect(java.net.SocketAddress remoteAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.connect(java.net.SocketAddress remoteAddress,
ChannelPromise promise) |
ChannelFuture |
DefaultChannelPipeline.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress) |
ChannelFuture |
ChannelPipeline.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
ChannelHandlerContext.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
Channel.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
AbstractChannel.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress) |
ChannelFuture |
DefaultChannelPipeline.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
ChannelPipeline.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
ChannelHandlerContext.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
Channel.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
AbstractChannel.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
DefaultChannelPipeline.deregister() |
ChannelFuture |
ChannelPipeline.deregister()
Request to deregister the
Channel from the previous assigned EventExecutor and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
ChannelHandlerContext.deregister()
Request to deregister from the previous assigned
EventExecutor and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
Channel.deregister()
Request to deregister this
Channel from the previous assigned EventExecutor and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
AbstractChannel.deregister() |
ChannelFuture |
DefaultChannelPipeline.deregister(ChannelPromise promise) |
ChannelFuture |
ChannelPipeline.deregister(ChannelPromise promise)
Request to deregister the
Channel bound this ChannelPipeline from the previous assigned
EventExecutor and notify the ChannelFuture once the operation completes, either because the
operation was successful or because of an error. |
ChannelFuture |
ChannelHandlerContext.deregister(ChannelPromise promise)
Request to deregister from the previous assigned
EventExecutor and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
Channel.deregister(ChannelPromise promise)
Request to deregister this
Channel from the previous assigned EventExecutor and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
AbstractChannel.deregister(ChannelPromise promise) |
ChannelFuture |
DefaultChannelPipeline.disconnect() |
ChannelFuture |
ChannelPipeline.disconnect()
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
ChannelFuture |
ChannelHandlerContext.disconnect()
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
ChannelFuture |
Channel.disconnect()
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.disconnect() |
ChannelFuture |
DefaultChannelPipeline.disconnect(ChannelPromise promise) |
ChannelFuture |
ChannelPipeline.disconnect(ChannelPromise promise)
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
ChannelFuture |
ChannelHandlerContext.disconnect(ChannelPromise promise)
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
ChannelFuture |
Channel.disconnect(ChannelPromise promise)
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.disconnect(ChannelPromise promise) |
ChannelFuture |
ChannelHandlerContext.newFailedFuture(java.lang.Throwable cause)
Create a new
ChannelFuture which is marked as failed already. |
ChannelFuture |
Channel.newFailedFuture(java.lang.Throwable cause)
Create a new
ChannelFuture which is marked as failed already. |
ChannelFuture |
AbstractChannel.newFailedFuture(java.lang.Throwable cause) |
ChannelFuture |
ChannelHandlerContext.newSucceededFuture()
Create a new
ChannelFuture which is marked as succeeded already. |
ChannelFuture |
Channel.newSucceededFuture()
Create a new
ChannelFuture which is marked as succeeded already. |
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 |
PendingWriteQueue.removeAndWrite()
Removes a pending write operation and performs it via
ChannelHandlerContext.write(Object, ChannelPromise) . |
ChannelFuture |
PendingWriteQueue.removeAndWriteAll()
Remove all pending write operation and performs them via
ChannelHandlerContext.write(Object, ChannelPromise) . |
ChannelFuture |
ChannelFuture.removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener) |
ChannelFuture |
ChannelFuture.removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners) |
ChannelFuture |
ChannelFuture.sync() |
ChannelFuture |
ChannelFuture.syncUninterruptibly() |
ChannelFuture |
DefaultChannelPipeline.write(java.lang.Object msg) |
ChannelFuture |
ChannelPipeline.write(java.lang.Object msg)
Request to write a message via this
ChannelPipeline . |
ChannelFuture |
ChannelHandlerContext.write(java.lang.Object msg)
Request to write a message via this
ChannelHandlerContext through the ChannelPipeline . |
ChannelFuture |
Channel.write(java.lang.Object msg)
Request to write a message via this
Channel through the ChannelPipeline . |
ChannelFuture |
AbstractChannel.write(java.lang.Object msg) |
ChannelFuture |
DefaultChannelPipeline.write(java.lang.Object msg,
ChannelPromise promise) |
ChannelFuture |
ChannelPipeline.write(java.lang.Object msg,
ChannelPromise promise)
Request to write a message via this
ChannelPipeline . |
ChannelFuture |
ChannelHandlerContext.write(java.lang.Object msg,
ChannelPromise promise)
Request to write a message via this
ChannelHandlerContext through the ChannelPipeline . |
ChannelFuture |
Channel.write(java.lang.Object msg,
ChannelPromise promise)
Request to write a message via this
Channel through the ChannelPipeline . |
ChannelFuture |
AbstractChannel.write(java.lang.Object msg,
ChannelPromise promise) |
ChannelFuture |
DefaultChannelPipeline.writeAndFlush(java.lang.Object msg) |
ChannelFuture |
ChannelPipeline.writeAndFlush(java.lang.Object msg)
Shortcut for call
ChannelPipeline.write(Object) and ChannelPipeline.flush() . |
ChannelFuture |
ChannelHandlerContext.writeAndFlush(java.lang.Object msg)
Shortcut for call
ChannelHandlerContext.write(Object) and ChannelHandlerContext.flush() . |
ChannelFuture |
Channel.writeAndFlush(java.lang.Object msg)
Shortcut for call
Channel.write(Object) and Channel.flush() . |
ChannelFuture |
AbstractChannel.writeAndFlush(java.lang.Object msg) |
ChannelFuture |
DefaultChannelPipeline.writeAndFlush(java.lang.Object msg,
ChannelPromise promise) |
ChannelFuture |
ChannelPipeline.writeAndFlush(java.lang.Object msg,
ChannelPromise promise)
Shortcut for call
ChannelPipeline.write(Object, ChannelPromise) and ChannelPipeline.flush() . |
ChannelFuture |
ChannelHandlerContext.writeAndFlush(java.lang.Object msg,
ChannelPromise promise)
Shortcut for call
ChannelHandlerContext.write(Object, ChannelPromise) and ChannelHandlerContext.flush() . |
ChannelFuture |
Channel.writeAndFlush(java.lang.Object msg,
ChannelPromise promise)
Shortcut for call
Channel.write(Object, ChannelPromise) and Channel.flush() . |
ChannelFuture |
AbstractChannel.writeAndFlush(java.lang.Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
EmbeddedChannel.close() |
ChannelFuture |
EmbeddedChannel.close(ChannelPromise promise) |
ChannelFuture |
EmbeddedChannel.disconnect() |
ChannelFuture |
EmbeddedChannel.disconnect(ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
EpollDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.InetAddress sourceToBlock) |
ChannelFuture |
EpollDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress sourceToBlock) |
ChannelFuture |
EpollDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.joinGroup(java.net.InetAddress multicastAddress) |
ChannelFuture |
EpollDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source) |
ChannelFuture |
EpollDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface) |
ChannelFuture |
EpollDatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
AbstractEpollStreamChannel.shutdownOutput() |
ChannelFuture |
AbstractEpollStreamChannel.shutdownOutput(ChannelPromise promise) |
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(AbstractEpollStreamChannel ch,
int len)
Splice from this
AbstractEpollStreamChannel to another AbstractEpollStreamChannel . |
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(AbstractEpollStreamChannel ch,
int len,
ChannelPromise promise)
Splice from this
AbstractEpollStreamChannel to another AbstractEpollStreamChannel . |
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(FileDescriptor ch,
int offset,
int len)
Splice from this
AbstractEpollStreamChannel to another FileDescriptor . |
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(FileDescriptor ch,
int offset,
int len,
ChannelPromise promise)
Splice from this
AbstractEpollStreamChannel to another FileDescriptor . |
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 |
---|---|
java.util.Iterator<ChannelFuture> |
ChannelGroupFuture.iterator()
Returns the
Iterator that enumerates all ChannelFuture s
which are associated with this future. |
Modifier and Type | Method and Description |
---|---|
protected ChannelFuture |
SimpleChannelPool.connectChannel(Bootstrap bs)
Bootstrap a new
Channel . |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
SctpServerChannel.bindAddress(java.net.InetAddress localAddress)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpChannel.bindAddress(java.net.InetAddress localAddress)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpServerChannel.bindAddress(java.net.InetAddress localAddress,
ChannelPromise promise)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpChannel.bindAddress(java.net.InetAddress localAddress,
ChannelPromise promise)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpServerChannel.unbindAddress(java.net.InetAddress localAddress)
Unbind the address from channel's multi-homing address list.
|
ChannelFuture |
SctpChannel.unbindAddress(java.net.InetAddress localAddress)
Unbind the address from channel's multi-homing address list.
|
ChannelFuture |
SctpServerChannel.unbindAddress(java.net.InetAddress localAddress,
ChannelPromise promise)
Unbind the address from channel's multi-homing address list.
|
ChannelFuture |
SctpChannel.unbindAddress(java.net.InetAddress localAddress,
ChannelPromise promise)
Unbind the address from channel's multi-homing address list.
|
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
NioSctpServerChannel.bindAddress(java.net.InetAddress localAddress) |
ChannelFuture |
NioSctpChannel.bindAddress(java.net.InetAddress localAddress) |
ChannelFuture |
NioSctpServerChannel.bindAddress(java.net.InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpChannel.bindAddress(java.net.InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpServerChannel.unbindAddress(java.net.InetAddress localAddress) |
ChannelFuture |
NioSctpChannel.unbindAddress(java.net.InetAddress localAddress) |
ChannelFuture |
NioSctpServerChannel.unbindAddress(java.net.InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpChannel.unbindAddress(java.net.InetAddress localAddress,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
OioSctpServerChannel.bindAddress(java.net.InetAddress localAddress) |
ChannelFuture |
OioSctpChannel.bindAddress(java.net.InetAddress localAddress) |
ChannelFuture |
OioSctpServerChannel.bindAddress(java.net.InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpChannel.bindAddress(java.net.InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpServerChannel.unbindAddress(java.net.InetAddress localAddress) |
ChannelFuture |
OioSctpChannel.unbindAddress(java.net.InetAddress localAddress) |
ChannelFuture |
OioSctpServerChannel.unbindAddress(java.net.InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpChannel.unbindAddress(java.net.InetAddress localAddress,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
DatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress and notifies the
ChannelFuture once
the operation completes. |
ChannelFuture |
DatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.InetAddress sourceToBlock,
ChannelPromise future)
Block the given sourceToBlock address for the given multicastAddress and notifies the
ChannelFuture once
the operation completes. |
ChannelFuture |
DatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.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(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.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(java.net.InetAddress multicastAddress)
Joins a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
ChannelPromise future)
Joins a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source,
ChannelPromise future)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface,
ChannelPromise future)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(java.net.InetAddress multicastAddress)
Leaves a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
ChannelPromise future)
Leaves a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.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(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.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(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface)
Leaves a multicast group on a specified local interface and notifies the
ChannelFuture once the
operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface,
ChannelPromise future)
Leaves a multicast group on a specified local interface and notifies the
ChannelFuture once the
operation completes. |
ChannelFuture |
DuplexChannel.shutdownOutput() |
ChannelFuture |
DuplexChannel.shutdownOutput(ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
NioDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress
|
ChannelFuture |
NioDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.InetAddress sourceToBlock,
ChannelPromise promise)
Block the given sourceToBlock address for the given multicastAddress
|
ChannelFuture |
NioDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface
|
ChannelFuture |
NioDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress sourceToBlock,
ChannelPromise promise)
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface
|
ChannelFuture |
NioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress) |
ChannelFuture |
NioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source) |
ChannelFuture |
NioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface) |
ChannelFuture |
NioDatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress) |
ChannelFuture |
NioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source) |
ChannelFuture |
NioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface) |
ChannelFuture |
NioDatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
NioSocketChannel.shutdownOutput() |
ChannelFuture |
NioSocketChannel.shutdownOutput(ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
OioDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.InetAddress sourceToBlock) |
ChannelFuture |
OioDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress sourceToBlock) |
ChannelFuture |
OioDatagramChannel.block(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress) |
ChannelFuture |
OioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source) |
ChannelFuture |
OioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface) |
ChannelFuture |
OioDatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress) |
ChannelFuture |
OioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source) |
ChannelFuture |
OioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
java.net.NetworkInterface networkInterface,
java.net.InetAddress source,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface) |
ChannelFuture |
OioDatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
java.net.NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
OioSocketChannel.shutdownOutput() |
ChannelFuture |
OioSocketChannel.shutdownOutput(ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
abstract ChannelFuture |
ZlibEncoder.close()
Close this
ZlibEncoder and so finish the encoding. |
ChannelFuture |
JdkZlibEncoder.close() |
ChannelFuture |
JZlibEncoder.close() |
abstract ChannelFuture |
ZlibEncoder.close(ChannelPromise promise)
Close this
ZlibEncoder and so finish the encoding. |
ChannelFuture |
JdkZlibEncoder.close(ChannelPromise promise) |
ChannelFuture |
JZlibEncoder.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. |
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req)
Performs the opening handshake.
|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req,
HttpHeaders responseHeaders,
ChannelPromise promise)
Performs the opening handshake
When call this method you MUST NOT retain the
HttpRequest which is passed in. |
ChannelFuture |
WebSocketClientHandshaker.processHandshake(Channel channel,
HttpResponse response)
Process the opening handshake initiated by
WebSocketClientHandshaker.handshake(io.netty.channel.Channel) }. |
ChannelFuture |
WebSocketClientHandshaker.processHandshake(Channel channel,
HttpResponse response,
ChannelPromise promise)
Process the opening handshake initiated by
WebSocketClientHandshaker.handshake(io.netty.channel.Channel) }. |
static ChannelFuture |
WebSocketServerHandshakerFactory.sendUnsupportedVersionResponse(Channel channel)
Return that we need cannot not support the web socket version
|
static ChannelFuture |
WebSocketServerHandshakerFactory.sendUnsupportedVersionResponse(Channel channel,
ChannelPromise promise)
Return that we need cannot not support the web socket version
|
Modifier and Type | Method and Description |
---|---|
protected ChannelFuture |
AbstractRemoteAddressFilter.channelRejected(ChannelHandlerContext ctx,
T remoteAddress)
This method is called if
remoteAddress gets rejected by
AbstractRemoteAddressFilter.accept(ChannelHandlerContext, SocketAddress) . |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
SslHandler.close()
Deprecated.
|
ChannelFuture |
SslHandler.close(ChannelPromise promise)
Deprecated.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.