GeezerVison is showing netty.io — ServerChannel (Netty API Reference (4.1.141.Final))
Interface ServerChannel
- All Superinterfaces:
AttributeMap, Channel, ChannelOutboundInvoker, Comparable<Channel>
- All Known Subinterfaces:
SctpServerChannel, ServerDomainSocketChannel, ServerSocketChannel, UdtServerChannel
- All Known Implementing Classes:
AbstractEpollServerChannel, AbstractKQueueServerChannel, AbstractServerChannel, EpollServerDomainSocketChannel, EpollServerSocketChannel, KQueueServerDomainSocketChannel, KQueueServerSocketChannel, LocalServerChannel, NioSctpServerChannel, NioServerDomainSocketChannel, NioServerSocketChannel, NioUdtAcceptorChannel, NioUdtByteAcceptorChannel, NioUdtMessageAcceptorChannel, OioSctpServerChannel, OioServerSocketChannel
public interface ServerChannel
extends Channel
-
Nested Class Summary
Nested classes/interfaces inherited from interface Channel
Channel.Unsafe
Modifier and Type
Interface
Description
static interface
Unsafe operations that should never be called from user-code.
-
Method Summary
Methods inherited from interface Channel
alloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, config, eventLoop, flush, id, isActive, isOpen, isRegistered, isWritable, localAddress, metadata, parent, pipeline, read, remoteAddress, unsafe
Modifier and Type
Method
Description
long
long
Returns the ChannelFuture which will be notified when this
channel is closed.
Returns the configuration of this channel.
Request to flush all pending messages via this ChannelOutboundInvoker.
Returns the globally unique identifier of this Channel.
boolean
Return true if the Channel is active and so connected.
boolean
Returns true if the Channel is open and may get active later
boolean
boolean
Returns true if and only if the I/O thread will perform the
requested write operation immediately.
Returns the local address where this channel is bound to.
Returns the parent of this channel.
Returns the remote address where this channel is connected to.
Returns an internal-use-only object that provides unsafe operations.
bind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlush
Modifier and Type
Method
Description
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.
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.
Request to close the Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error.
Request to close the Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error.
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.
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.
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.
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.
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.
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.
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.
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.
Return a special ChannelPromise which can be reused for different operations.
|