Package io.netty.channel.nio
package io.netty.channel.nio
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
-
ClassDescription
AbstractNioChannelbase class forChannels that operate on bytes.Abstract base class forChannelimplementations which use a Selector based approach.SpecialChannel.Unsafesub-type which allows to access the underlyingSelectableChannelAbstractNioChannelbase class forChannels that operate on messages.Deprecated.Deprecated.IoEventthat must be handled by theNioIoHandle.IoHandlesubtype for NIO based implementations that will work withNioIoHandler.Implementation ofIoOpsfor that is used byNioIoHandlerand so for NIO based transports.NioSelectableChannelIoHandle<S extends SelectableChannel>Allows to create anIoHandlefor aSelectableChannel, not necessarily created by Netty.NioTask<C extends SelectableChannel>An arbitrary task that can be executed byNioEventLoopwhen aSelectableChannelbecomes ready.
SingleThreadIoEventLoopwithNioIoHandler