Class NioSocketChannel.NioSocketChannelUnsafe
java.lang.Object
io.netty.channel.AbstractChannel.AbstractUnsafe
io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
io.netty.channel.nio.AbstractNioByteChannel.NioByteUnsafe
io.netty.channel.socket.nio.NioSocketChannel.NioSocketChannelUnsafe
- All Implemented Interfaces:
Channel.Unsafe, AbstractNioChannel.NioUnsafe
- Enclosing class:
NioSocketChannel
private final class NioSocketChannel.NioSocketChannelUnsafe
extends AbstractNioByteChannel.NioByteUnsafe
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractNioByteChannel.NioByteUnsafe
readMethods 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, 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
-
NioSocketChannelUnsafe
private NioSocketChannelUnsafe()
-
-
Method Details
-
prepareToClose
Description copied from class:AbstractChannel.AbstractUnsafePrepares to close theChannel. If this method returns anExecutor, the caller must call theExecutor.execute(Runnable)method with a task that callsAbstractChannel.doClose()on the returnedExecutor. If this method returnsnull,AbstractChannel.doClose()must be called from the caller thread. (i.e.EventLoop)- Overrides:
prepareToClosein classAbstractChannel.AbstractUnsafe
-