Package io.netty.channel.kqueue
Class KQueueSocketChannel.KQueueSocketChannelUnsafe
- java.lang.Object
-
- io.netty.channel.AbstractChannel.AbstractUnsafe
-
- io.netty.channel.kqueue.AbstractKQueueChannel.AbstractKQueueUnsafe
-
- io.netty.channel.kqueue.AbstractKQueueStreamChannel.KQueueStreamUnsafe
-
- io.netty.channel.kqueue.KQueueSocketChannel.KQueueSocketChannelUnsafe
-
- All Implemented Interfaces:
Channel.Unsafe
- Enclosing class:
- KQueueSocketChannel
private final class KQueueSocketChannel.KQueueSocketChannelUnsafe extends AbstractKQueueStreamChannel.KQueueStreamUnsafe
-
-
Field Summary
-
Fields inherited from class io.netty.channel.kqueue.AbstractKQueueChannel.AbstractKQueueUnsafe
maybeMoreDataToRead, readPending
-
-
Constructor Summary
Constructors Modifier Constructor Description privateKQueueSocketChannelUnsafe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.concurrent.ExecutorprepareToClose()Prepares to close theChannel.-
Methods inherited from class io.netty.channel.kqueue.AbstractKQueueStreamChannel.KQueueStreamUnsafe
readReady
-
Methods inherited from class io.netty.channel.kqueue.AbstractKQueueChannel.AbstractKQueueUnsafe
clearReadFilter0, connect, executeReadReadyRunnable, failConnectPromise, flush0, readEOF, readReady, readReadyBefore, readReadyFinally, recvBufAllocHandle, shutdownInput, writeReady
-
Methods inherited from class io.netty.channel.AbstractChannel.AbstractUnsafe
annotateConnectException, beginRead, bind, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, handleWriteError, localAddress, outboundBuffer, register, remoteAddress, safeSetFailure, safeSetSuccess, shutdownOutput, voidPromise, write
-
-
-
-
Method Detail
-
prepareToClose
protected java.util.concurrent.Executor 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 classAbstractKQueueStreamChannel.KQueueStreamUnsafe
-
-