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 voidconnect(java.net.SocketAddress socketAddress, java.net.SocketAddress socketAddress2, ChannelPromise channelPromise)(package private) voidepollInReady()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.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
-
-