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:
NioSocketChannel.NioSocketChannelUnsafe
- Enclosing class:
- AbstractNioByteChannel
protected class AbstractNioByteChannel.NioByteUnsafe extends AbstractNioChannel.AbstractNioUnsafe
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNioByteUnsafe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcloseOnRead(ChannelPipeline pipeline)private voidhandleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, java.lang.Throwable cause, boolean close, RecvByteBufAllocator.Handle allocHandle)voidread()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, 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
-
-
-
-
Method Detail
-
closeOnRead
private void closeOnRead(ChannelPipeline pipeline)
-
handleReadException
private void handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf, java.lang.Throwable cause, boolean close, RecvByteBufAllocator.Handle allocHandle)
-
read
public final void read()
Description copied from interface:AbstractNioChannel.NioUnsafeRead from underlyingSelectableChannel
-
-