| Modifier and Type | Class and Description |
|---|---|
| private static class | AbstractHttp2StreamChannel.
Returns the flow-control size for DATA frames, and 9 for all other frames. |
| private class | |
| private static class | AbstractHttp2StreamChannel.
|
| private static enum | AbstractHttp2StreamChannel.
The current status of the read-processing for a |
| private static class | AbstractHttp2StreamChannel.
|
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Http2FrameStreamVisitor | |
| pack-priv static final Http2FrameStreamVisitor | |
| private final ChannelId | |
| private final ChannelPromise | |
| private final AbstractHttp2StreamChannel. | |
| private Runnable | |
| private boolean | firstFrameWritten
|
| private int | |
| private Queue | |
| private static final InternalLogger | |
| private static final ChannelMetadata | |
| private static final int | MIN_HTTP2_FRAME_SIZE
Number of bytes to consider non-payload messages. |
| private boolean | |
| private final ChannelPipeline | |
| private boolean | |
| private AbstractHttp2StreamChannel. | readStatus
This variable represents if a read is in progress for the current channel or was requested. |
| private volatile boolean | |
| pack-priv static final Http2FrameStreamVisitor | |
| private final Http2FrameCodec. | |
| private static final AtomicLongFieldUpdater | |
| private volatile long | |
| private final AbstractHttp2StreamChannel. | |
| private volatile int | |
| private static final AtomicIntegerFieldUpdater | |
| private final ChannelFutureListener | |
| pack-priv static final Http2FrameStreamVisitor |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractHttp2StreamChannel(Http2FrameCodec.
|
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| public ByteBufAllocator | alloc()
Implements io. ByteBufAllocator which will be used to allocate ByteBufs.
|
| public ChannelFuture | bind(SocketAddress localAddress)
Implements io. SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error.
|
| public ChannelFuture | bind(SocketAddress localAddress, ChannelPromise promise)
Implements io. SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error.
|
| public long | bytesBeforeUnwritable()
Implements io. isWritable() returns false.
|
| public long | bytesBeforeWritable()
Implements io. isWritable() returns true.
|
| public ChannelFuture | close()
Implements io. Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error.
|
| public ChannelFuture | close(ChannelPromise promise)
Implements io. Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error.
|
| public ChannelFuture | closeFuture()
Implements io. ChannelFuture which will be notified when this
channel is closed.
|
| pack-priv void | |
| pack-priv final void | |
| public int | compareTo(Channel
the object to be compared. o)Implements java. |
| public ChannelConfig | |
| public ChannelFuture | connect(SocketAddress remoteAddress)
Implements io. SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error.
|
| public ChannelFuture | connect(SocketAddress remoteAddress, SocketAddress localAddress)
Implements io. SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error.
|
| public ChannelFuture | connect(SocketAddress remoteAddress, ChannelPromise promise)
Implements io. SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error.
|
| public ChannelFuture | connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise)
Implements io. SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error.
|
| private void | |
| public ChannelFuture | deregister()
Implements io. EventExecutor and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error.
|
| public ChannelFuture | deregister(ChannelPromise promise)
Implements io. EventExecutor and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error.
|
| public ChannelFuture | disconnect()
Implements io. ChannelFuture once the operation completes,
either because the operation was successful or because of an error.
|
| public ChannelFuture | disconnect(ChannelPromise promise)
Implements io. ChannelFuture once the operation completes,
either because the operation was successful or because of an error.
|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public EventLoop | eventLoop()
Implements io. EventLoop this Channel was registered to.
|
| private void | |
| pack-priv void | |
| pack-priv void | |
| public Channel | flush()
Implements io. |
| protected void | |
| public int | |
| public ChannelId | |
| private void | |
| public boolean | isActive()
Implements io. true if the Channel is active and so connected.
|
| public boolean | isOpen()
Implements io. true if the Channel is open and may get active later
|
| protected abstract boolean | |
| public boolean | isRegistered()
Implements io. true if the Channel is registered with an EventLoop.
|
| public boolean | isWritable()
Implements io. true if and only if the I/O thread will perform the
requested write operation immediately.
|
| public SocketAddress | localAddress()
Implements io. |
| private void | |
| public ChannelMetadata | metadata()
Implements io. ChannelMetadata of the Channel which describe the nature of the Channel.
|
| public ChannelFuture | newFailedFuture(Throwable cause)
Implements io. ChannelFuture which is marked as failed already.
|
| public ChannelProgressivePromise | newProgressivePromise()
Implements io. ChannelProgressivePromise
|
| public ChannelPromise | newPromise()
Implements io. ChannelPromise.
|
| public ChannelFuture | newSucceededFuture()
Implements io. ChannelFuture which is marked as succeeded already.
|
| public Channel | |
| protected abstract ChannelHandlerContext | |
| public ChannelPipeline | |
| public Channel | read()
Implements io. Channel into the first inbound buffer, triggers an
ChannelInboundHandler#channelRead(ChannelHandlerContext, Object) event if data was
read, and triggers a
channelReadComplete event so the
handler can decide to continue reading.
|
| public SocketAddress | remoteAddress()
Implements io. |
| private void | |
| private void | |
| public Http2FrameStream | stream()
Implements io. Http2FrameStream that belongs to this channel.
|
| pack-priv void | |
| public String | |
| pack-priv final void | |
| public Channel. | unsafe()
Implements io. |
| public ChannelPromise | voidPromise()
Implements io. |
| private static void | |
| public ChannelFuture | write(Object msg)
Implements io. ChannelHandlerContext through the ChannelPipeline.
|
| public ChannelFuture | write(Object msg, ChannelPromise promise)
Implements io. ChannelHandlerContext through the ChannelPipeline.
|
| protected ChannelFuture | |
| public ChannelFuture | writeAndFlush(Object msg, ChannelPromise promise)
Implements io. write(Object, ChannelPromise) and flush().
|
| public ChannelFuture | writeAndFlush(Object msg)
Implements io. write(Object) and flush().
|