Package io.netty.channel.epoll
Class AbstractEpollServerChannel.EpollServerSocketUnsafe
- java.lang.Object
-
- io.netty.channel.AbstractChannel.AbstractUnsafe
-
- io.netty.channel.epoll.AbstractEpollChannel.AbstractEpollUnsafe
-
- io.netty.channel.epoll.AbstractEpollServerChannel.EpollServerSocketUnsafe
-
- All Implemented Interfaces:
Channel.Unsafe
- Enclosing class:
- AbstractEpollServerChannel
final class AbstractEpollServerChannel.EpollServerSocketUnsafe extends AbstractEpollChannel.AbstractEpollUnsafe
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
acceptedAddress
-
Fields inherited from class io.netty.channel.epoll.AbstractEpollChannel.AbstractEpollUnsafe
maybeMoreDataToRead, readPending
-
-
Constructor Summary
Constructors Constructor Description EpollServerSocketUnsafe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect(java.net.SocketAddress socketAddress, java.net.SocketAddress socketAddress2, ChannelPromise channelPromise)
(package private) void
epollInReady()
Called once EPOLLIN event is ready to be processed-
Methods inherited from class io.netty.channel.epoll.AbstractEpollChannel.AbstractEpollUnsafe
clearEpollIn0, epollInBefore, epollInFinally, epollOutReady, epollRdHupReady, executeEpollInReadyRunnable, flush0, newEpollHandle, recvBufAllocHandle, shutdownInput
-
Methods inherited from class io.netty.channel.AbstractChannel.AbstractUnsafe
annotateConnectException, beginRead, bind, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, handleWriteError, localAddress, outboundBuffer, prepareToClose, register, remoteAddress, safeSetFailure, safeSetSuccess, shutdownOutput, voidPromise, write
-
-
-
-
Method Detail
-
connect
public void connect(java.net.SocketAddress socketAddress, java.net.SocketAddress socketAddress2, ChannelPromise channelPromise)
Description copied from interface:Channel.Unsafe
Connect theChannel
of the givenChannelFuture
with the given remoteSocketAddress
. If a specific localSocketAddress
should be used it need to be given as argument. Otherwise just passnull
to it. TheChannelPromise
will get notified once the connect operation was complete.- Specified by:
connect
in interfaceChannel.Unsafe
- Overrides:
connect
in classAbstractEpollChannel.AbstractEpollUnsafe
-
epollInReady
void epollInReady()
Description copied from class:AbstractEpollChannel.AbstractEpollUnsafe
Called once EPOLLIN event is ready to be processed- Specified by:
epollInReady
in classAbstractEpollChannel.AbstractEpollUnsafe
-
-