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
FieldsFields inherited from class io.netty.channel.epoll.AbstractEpollChannel.AbstractEpollUnsafe
maybeMoreDataToRead, readPending
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
connect
(SocketAddress socketAddress, SocketAddress socketAddress2, ChannelPromise channelPromise) (package private) void
Called once EPOLLIN event is ready to be processedMethods 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
-
Field Details
-
acceptedAddress
private final byte[] acceptedAddress
-
-
Constructor Details
-
EpollServerSocketUnsafe
EpollServerSocketUnsafe()
-
-
Method Details
-
connect
public void connect(SocketAddress socketAddress, 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
-