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 -
Method Summary
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
-
Constructor Details
-
KQueueSocketChannelUnsafe
private KQueueSocketChannelUnsafe()
-
-
Method Details
-
prepareToClose
Description copied from class:AbstractChannel.AbstractUnsafe
Prepares 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:
prepareToClose
in classAbstractKQueueStreamChannel.KQueueStreamUnsafe
-