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,EpollIoHandle,IoHandle,java.lang.AutoCloseable
- 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
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
channel, clearEpollIn0, close, epollOutReady, epollRdHupReady, fd, flush0, handle, newEpollHandle, recvBufAllocHandle, shouldStopReading, shutdownInput
-
Methods inherited from class io.netty.channel.AbstractChannel.AbstractUnsafe
annotateConnectException, beginRead, bind, close, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, handleWriteError, localAddress, outboundBuffer, prepareToClose, register, remoteAddress, safeSetFailure, safeSetSuccess, shutdownOutput, voidPromise, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty.channel.IoHandle
registered, unregistered
-
-
-
-
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
-
-