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 -
Method Summary
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
-
Constructor Details
-
EpollSocketChannelUnsafe
private EpollSocketChannelUnsafe()
-
-
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 classAbstractEpollStreamChannel.EpollStreamUnsafe
-