Class AbstractNioByteChannel.NioByteUnsafe
java.lang.Object
io.netty.channel.AbstractChannel.AbstractUnsafe
io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
io.netty.channel.nio.AbstractNioByteChannel.NioByteUnsafe
- All Implemented Interfaces:
Channel.Unsafe, AbstractNioChannel.NioUnsafe
- Direct Known Subclasses:
NioDomainSocketChannel.NioSocketChannelUnsafe, NioSocketChannel.NioSocketChannelUnsafe
- Enclosing class:
AbstractNioByteChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcloseOnRead(ChannelPipeline pipeline) private voidhandleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, Throwable cause, boolean close, RecvByteBufAllocator.Handle allocHandle) final voidread()Read from underlyingSelectableChannelMethods inherited from class AbstractNioChannel.AbstractNioUnsafe
ch, connect, finishConnect, flush0, forceFlush, removeReadOpMethods inherited from class AbstractChannel.AbstractUnsafe
annotateConnectException, beginRead, bind, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, handleWriteError, localAddress, outboundBuffer, prepareToClose, recvBufAllocHandle, register, remoteAddress, safeSetFailure, safeSetSuccess, shutdownOutput, voidPromise, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Channel.Unsafe
beginRead, bind, close, closeForcibly, deregister, disconnect, flush, localAddress, outboundBuffer, recvBufAllocHandle, register, remoteAddress, voidPromise, write
-
Constructor Details
-
NioByteUnsafe
protected NioByteUnsafe()
-
-
Method Details
-
closeOnRead
-
handleReadException
private void handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, Throwable cause, boolean close, RecvByteBufAllocator.Handle allocHandle) -
read
public final void read()Description copied from interface:AbstractNioChannel.NioUnsafeRead from underlyingSelectableChannel
-