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