Package io.netty.channel.nio
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 void
closeOnRead
(ChannelPipeline pipeline) private void
handleReadException
(ChannelPipeline pipeline, ByteBuf byteBuf, Throwable cause, boolean close, RecvByteBufAllocator.Handle allocHandle) final void
read()
Read from underlyingSelectableChannel
Methods inherited from class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
ch, connect, finishConnect, flush0, forceFlush, removeReadOp
Methods inherited from class io.netty.channel.AbstractChannel.AbstractUnsafe
annotateConnectException, beginRead, bind, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, handleWriteError, localAddress, outboundBuffer, prepareToClose, recvBufAllocHandle, register, remoteAddress, safeSetFailure, safeSetSuccess, shutdownOutput, voidPromise, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.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.NioUnsafe
Read from underlyingSelectableChannel
-