final class EpollDatagramChannel.EpollDatagramChannelUnsafe extends AbstractEpollChannel.AbstractEpollUnsafe
| Modifier and Type | Field and Description |
|---|---|
private RecvByteBufAllocator.Handle |
allocHandle |
private java.util.List<java.lang.Object> |
readBuf |
readPending| Constructor and Description |
|---|
EpollDatagramChannelUnsafe() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(java.net.SocketAddress remote,
java.net.SocketAddress local,
ChannelPromise channelPromise)
|
(package private) void |
epollInReady()
Called once EPOLLIN event is ready to be processed
|
clearEpollIn0, epollOutReady, epollRdHupReady, flush0, isRdHup, shutdownInputannotateConnectException, beginRead, bind, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, localAddress, outboundBuffer, prepareToClose, register, remoteAddress, safeSetFailure, safeSetSuccess, voidPromise, writeprivate RecvByteBufAllocator.Handle allocHandle
private final java.util.List<java.lang.Object> readBuf
public void connect(java.net.SocketAddress remote,
java.net.SocketAddress local,
ChannelPromise channelPromise)
Channel.UnsafeChannel of the given ChannelFuture with the given remote SocketAddress.
If a specific local SocketAddress should be used it need to be given as argument. Otherwise just
pass null to it.
The ChannelPromise will get notified once the connect operation was complete.void epollInReady()
AbstractEpollChannel.AbstractEpollUnsafeepollInReady in class AbstractEpollChannel.AbstractEpollUnsafe