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 TypeMethodDescriptionvoidconnect(SocketAddress socketAddress, SocketAddress socketAddress2, ChannelPromise channelPromise) (package private) voidCalled 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, shutdownInputMethods 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.UnsafeConnect theChannelof the givenChannelFuturewith the given remoteSocketAddress. If a specific localSocketAddressshould be used it need to be given as argument. Otherwise just passnullto it. TheChannelPromisewill get notified once the connect operation was complete.- Specified by:
connectin interfaceChannel.Unsafe- Overrides:
connectin classAbstractEpollChannel.AbstractEpollUnsafe
-
epollInReady
void epollInReady()Description copied from class:AbstractEpollChannel.AbstractEpollUnsafeCalled once EPOLLIN event is ready to be processed- Specified by:
epollInReadyin classAbstractEpollChannel.AbstractEpollUnsafe
-