| Modifier and Type | Class and Description |
|---|---|
| public abstract class |
| Modifier and Type | Field and Description |
|---|---|
| protected volatile boolean | |
| private ChannelPromise | connectPromise
The future of the current connection attempt. |
| private Future | |
| pack-priv boolean | |
| private volatile SocketAddress | |
| private static final ChannelMetadata | |
| private boolean | |
| pack-priv boolean | |
| private volatile SocketAddress | |
| private SocketAddress | |
| pack-priv final BsdSocket | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected static void | |
| private void | |
| pack-priv final void | |
| public abstract KQueueChannelConfig | |
| protected final void | doBeginRead()
Implements abstract io. |
| protected void | doBind(SocketAddress local)
Implements abstract io. Channel to the SocketAddress
|
| protected void | |
| protected boolean | |
| protected boolean | |
| protected void | doDeregister()
Overrides io. Channel from its EventLoop.
|
| protected void | doDisconnect()
Implements abstract io. Channel from its remote peer
|
| protected final int | |
| protected void | doRegister()
Overrides io. Channel is registered with its EventLoop as part of the register process.
|
| protected final int | |
| private void | |
| private void | |
| private void | |
| public final FileDescriptor | fd()
Implements io. FileDescriptor that is used by this Channel.
|
| public boolean | isActive()
Implements io. true if the Channel is active and so connected.
|
| private static boolean | |
| protected boolean | isCompatible(EventLoop loop)
Implements abstract io. true if the given EventLoop is compatible with this instance.
|
| public boolean | isOpen()
Implements io. true if the Channel is open and may get active later
|
| pack-priv static boolean | |
| protected SocketAddress | localAddress0()
Implements abstract io. SocketAddress which is bound locally.
|
| public ChannelMetadata | metadata()
Implements io. ChannelMetadata of the Channel which describe the nature of the Channel.
|
| protected final ByteBuf | newDirectBuffer(ByteBuf buf)
Returns an off-heap copy of the specified |
| protected final ByteBuf | newDirectBuffer(Object holder, ByteBuf buf)
Returns an off-heap copy of the specified |
| private static ByteBuf | |
| protected abstract AbstractKQueueChannel. | newUnsafe()
Implements abstract io. AbstractUnsafe instance which will be used for the life-time of the Channel
|
| pack-priv void | |
| protected SocketAddress | remoteAddress0()
Implements abstract io. SocketAddress which the Channel is connected to.
|
| pack-priv void | |
| pack-priv final boolean | |
| pack-priv void | |
| pack-priv void |
| active | back to summary |
|---|---|
| protected volatile boolean active | |
| connectPromise | back to summary |
|---|---|
| private ChannelPromise connectPromise The future of the current connection attempt. If not null, subsequent connection attempts will fail. | |
| connectTimeoutFuture | back to summary |
|---|---|
| private Future<?> connectTimeoutFuture | |
| inputClosedSeenErrorOnRead | back to summary |
|---|---|
| pack-priv boolean inputClosedSeenErrorOnRead | |
| local | back to summary |
|---|---|
| private volatile SocketAddress local | |
| METADATA | back to summary |
|---|---|
| private static final ChannelMetadata METADATA | |
| readFilterEnabled | back to summary |
|---|---|
| private boolean readFilterEnabled | |
| readReadyRunnablePending | back to summary |
|---|---|
| pack-priv boolean readReadyRunnablePending | |
| remote | back to summary |
|---|---|
| private volatile SocketAddress remote | |
| requestedRemoteAddress | back to summary |
|---|---|
| private SocketAddress requestedRemoteAddress | |
| socket | back to summary |
|---|---|
| pack-priv final BsdSocket socket | |
| writeFilterEnabled | back to summary |
|---|---|
| private boolean writeFilterEnabled | |
| AbstractKQueueChannel | back to summary |
|---|---|
| pack-priv AbstractKQueueChannel(Channel parent, BsdSocket fd, boolean active) | |
| AbstractKQueueChannel | back to summary |
|---|---|
| pack-priv AbstractKQueueChannel(Channel parent, BsdSocket fd, SocketAddress remote) | |
| checkResolvable | back to summary |
|---|---|
| protected static void checkResolvable(InetSocketAddress addr) | |
| clearRdHup0 | back to summary |
|---|---|
| private void clearRdHup0() | |
| clearReadFilter | back to summary |
|---|---|
| pack-priv final void clearReadFilter() | |
| config | back to summary |
|---|---|
| public abstract KQueueChannelConfig config() Redeclares io. Doc from io. Returns the configuration of this channel.
| |
| doBeginRead | back to summary |
|---|---|
| protected final void doBeginRead() throws Exception Implements abstract io. Doc from io. Schedule a read operation.
| |
| doBind | back to summary |
|---|---|
| protected void doBind(SocketAddress local) throws Exception Implements abstract io. Doc from io. Bind the
| |
| doClose | back to summary |
|---|---|
| protected void doClose() throws Exception Implements abstract io. Doc from io. Close the
| |
| doConnect | back to summary |
|---|---|
| protected boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception Connect to the remote peer | |
| doConnect0 | back to summary |
|---|---|
| protected boolean doConnect0(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception | |
| doDeregister | back to summary |
|---|---|
| protected void doDeregister() throws Exception Overrides io. Doc from io. Deregister the
| |
| doDisconnect | back to summary |
|---|---|
| protected void doDisconnect() throws Exception Implements abstract io. Doc from io. Disconnect this
| |
| doReadBytes | back to summary |
|---|---|
| protected final int doReadBytes(ByteBuf byteBuf) throws Exception Read bytes into the given | |
| doRegister | back to summary |
|---|---|
| protected void doRegister() throws Exception Overrides io. Doc from io. Is called after the
| |
| doWriteBytes | back to summary |
|---|---|
| protected final int doWriteBytes(ChannelOutboundBuffer in, ByteBuf buf) throws Exception | |
| evSet | back to summary |
|---|---|
| private void evSet(short filter, short flags) | |
| evSet0 | back to summary |
|---|---|
| private void evSet0(short filter, short flags) | |
| evSet0 | back to summary |
|---|---|
| private void evSet0(short filter, short flags, int fflags) | |
| fd | back to summary |
|---|---|
| public final FileDescriptor fd() Implements io. Doc from io. Returns the
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() Implements io. Doc from io. Return
| |
| isAllowHalfClosure | back to summary |
|---|---|
| private static boolean isAllowHalfClosure(ChannelConfig config) | |
| isCompatible | back to summary |
|---|---|
| protected boolean isCompatible(EventLoop loop) Implements abstract io. Doc from io. Return
| |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements io. Doc from io. Returns
| |
| isSoErrorZero | back to summary |
|---|---|
| pack-priv static boolean isSoErrorZero(BsdSocket fd) | |
| localAddress0 | back to summary |
|---|---|
| protected SocketAddress localAddress0() Implements abstract io. Doc from io. Returns the
| |
| metadata | back to summary |
|---|---|
| public ChannelMetadata metadata() Implements io. Doc from io. Return the
| |
| newDirectBuffer | back to summary |
|---|---|
| protected final ByteBuf newDirectBuffer(ByteBuf buf) Returns an off-heap copy of the specified | |
| newDirectBuffer | back to summary |
|---|---|
| protected final ByteBuf newDirectBuffer(Object holder, ByteBuf buf) Returns an off-heap copy of the specified | |
| newDirectBuffer0 | back to summary |
|---|---|
| private static ByteBuf newDirectBuffer0(Object holder, ByteBuf buf, ByteBufAllocator alloc, int capacity) | |
| newUnsafe | back to summary |
|---|---|
| protected abstract AbstractKQueueChannel. Implements abstract io. Doc from io. Create a new
| |
| readFilter | back to summary |
|---|---|
| pack-priv void readFilter(boolean readFilterEnabled) throws IOException | |
| remoteAddress0 | back to summary |
|---|---|
| protected SocketAddress remoteAddress0() Implements abstract io. Doc from io. Return the
| |
| resetCachedAddresses | back to summary |
|---|---|
| pack-priv void resetCachedAddresses() | |
| shouldBreakReadReady | back to summary |
|---|---|
| pack-priv final boolean shouldBreakReadReady(ChannelConfig config) | |
| unregisterFilters | back to summary |
|---|---|
| pack-priv void unregisterFilters() throws Exception | |
| writeFilter | back to summary |
|---|---|
| pack-priv void writeFilter(boolean writeFilterEnabled) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private KQueueRecvByteAllocatorHandle | allocHandle
Deprecated
as a consequence of
KQueueRecvByteAllocatorHandle being deprecated.
|
| pack-priv boolean | |
| pack-priv boolean | |
| private final Runnable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| public void | connect(final SocketAddress remoteAddress, final SocketAddress localAddress, final ChannelPromise promise)
Implements io. Channel of the given ChannelFuture with the given remote SocketAddress.
|
| private boolean | |
| pack-priv final void | |
| pack-priv final boolean | |
| private void | |
| private void | |
| protected final void | |
| private void | |
| private void | |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv abstract void | readReady(KQueueRecvByteAllocatorHandle allocHandle)
Deprecated
as a consequence of
KQueueRecvByteAllocatorHandle being deprecated.
|
| pack-priv final void | |
| pack-priv final void | |
| public KQueueRecvByteAllocatorHandle | recvBufAllocHandle()
Overrides io. Implements io.
Deprecated
as a consequence of
Return the assigned KQueueRecvByteAllocatorHandle being deprecated.
RecvByteBufAllocator. which will be used to allocate ByteBuf's when
receiving data.
|
| pack-priv void | |
| pack-priv final void |
| allocHandle | back to summary |
|---|---|
| private KQueueRecvByteAllocatorHandle allocHandle
Deprecated as a consequence of | |
| maybeMoreDataToRead | back to summary |
|---|---|
| pack-priv boolean maybeMoreDataToRead | |
| readPending | back to summary |
|---|---|
| pack-priv boolean readPending | |
| readReadyRunnable | back to summary |
|---|---|
| private final Runnable readReadyRunnable | |
| AbstractKQueueUnsafe | back to summary |
|---|---|
| public AbstractKQueueUnsafe() | |
| clearReadFilter0 | back to summary |
|---|---|
| protected final void clearReadFilter0() | |
| connect | back to summary |
|---|---|
| public void connect(final SocketAddress remoteAddress, final SocketAddress localAddress, final ChannelPromise promise) Implements io. Doc from io. Connect the
| |
| doFinishConnect | back to summary |
|---|---|
| private boolean doFinishConnect() throws Exception | |
| executeReadReadyRunnable | back to summary |
|---|---|
| pack-priv final void executeReadReadyRunnable(ChannelConfig config) | |
| failConnectPromise | back to summary |
|---|---|
| pack-priv final boolean failConnectPromise(Throwable cause) | |
| finishConnect | back to summary |
|---|---|
| private void finishConnect() | |
| fireEventAndClose | back to summary |
|---|---|
| private void fireEventAndClose(Object evt) | |
| flush0 | back to summary |
|---|---|
| protected final void flush0() Overrides io.
| |
| fulfillConnectPromise | back to summary |
|---|---|
| private void fulfillConnectPromise(ChannelPromise promise, boolean wasActive) | |
| fulfillConnectPromise | back to summary |
|---|---|
| private void fulfillConnectPromise(ChannelPromise promise, Throwable cause) | |
| readEOF | back to summary |
|---|---|
| pack-priv final void readEOF() | |
| readReady | back to summary |
|---|---|
| pack-priv final void readReady(long numberBytesPending) | |
| readReady | back to summary |
|---|---|
| pack-priv abstract void readReady(KQueueRecvByteAllocatorHandle allocHandle)
Deprecated as a consequence of | |
| readReadyBefore | back to summary |
|---|---|
| pack-priv final void readReadyBefore() | |
| readReadyFinally | back to summary |
|---|---|
| pack-priv final void readReadyFinally(ChannelConfig config) | |
| recvBufAllocHandle | back to summary |
|---|---|
| public KQueueRecvByteAllocatorHandle recvBufAllocHandle() Overrides io. Implements io. Doc from io. Deprecated as a consequence of Return the assigned
| |
| shutdownInput | back to summary |
|---|---|
| pack-priv void shutdownInput(boolean readEOF) Shutdown the input side of the channel. | |
| writeReady | back to summary |
|---|---|
| pack-priv final void writeReady() | |