Package io.netty.channel.epoll
Class EpollSocketChannel.EpollSocketChannelUnsafe
- java.lang.Object
-
- io.netty.channel.AbstractChannel.AbstractUnsafe
-
- io.netty.channel.epoll.AbstractEpollChannel.AbstractEpollUnsafe
-
- io.netty.channel.epoll.AbstractEpollStreamChannel.EpollStreamUnsafe
-
- io.netty.channel.epoll.EpollSocketChannel.EpollSocketChannelUnsafe
-
- All Implemented Interfaces:
Channel.Unsafe
- Enclosing class:
- EpollSocketChannel
private final class EpollSocketChannel.EpollSocketChannelUnsafe extends AbstractEpollStreamChannel.EpollStreamUnsafe
-
-
Field Summary
-
Fields inherited from class io.netty.channel.epoll.AbstractEpollChannel.AbstractEpollUnsafe
maybeMoreDataToRead, readPending
-
-
Constructor Summary
Constructors Modifier Constructor Description privateEpollSocketChannelUnsafe()
-
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.epoll.AbstractEpollStreamChannel.EpollStreamUnsafe
epollInReady, newEpollHandle
-
Methods inherited from class io.netty.channel.epoll.AbstractEpollChannel.AbstractEpollUnsafe
clearEpollIn0, connect, epollInBefore, epollInFinally, epollOutReady, epollRdHupReady, executeEpollInReadyRunnable, flush0, recvBufAllocHandle, shutdownInput
-
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 classAbstractEpollStreamChannel.EpollStreamUnsafe
-
-