EmbeddedQuicStreamChannel.java — netty Source File
Architecture documentation for EmbeddedQuicStreamChannel.java, a java file in the netty codebase.
Entity Profile
Relationship Graph
Source Code
/*
* Copyright 2020 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.handler.codec.http3;
import io.netty.buffer.ByteBufAllocator;
import io.netty.channel.ChannelConfig;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelOption;
import io.netty.channel.ChannelOutboundBuffer;
import io.netty.channel.ChannelPromise;
import io.netty.channel.DefaultChannelId;
import io.netty.channel.EventLoop;
import io.netty.channel.MessageSizeEstimator;
import io.netty.channel.RecvByteBufAllocator;
import io.netty.channel.WriteBufferWaterMark;
import io.netty.channel.embedded.EmbeddedChannel;
import io.netty.channel.socket.ChannelInputShutdownEvent;
import io.netty.channel.socket.ChannelInputShutdownReadComplete;
import io.netty.handler.codec.quic.QuicChannel;
import io.netty.handler.codec.quic.QuicStreamAddress;
import io.netty.handler.codec.quic.QuicStreamChannel;
import io.netty.handler.codec.quic.QuicStreamChannelConfig;
import io.netty.handler.codec.quic.QuicStreamFrame;
import io.netty.handler.codec.quic.QuicStreamPriority;
import io.netty.handler.codec.quic.QuicStreamType;
import io.netty.util.AttributeKey;
import org.jetbrains.annotations.Nullable;
import java.net.SocketAddress;
import java.util.Map;
import static io.netty.handler.codec.http3.EmbeddedQuicChannel.prependChannelConsumer;
import static io.netty.util.AttributeKey.valueOf;
final class EmbeddedQuicStreamChannel extends EmbeddedChannel implements QuicStreamChannel {
private static final AttributeKey<Long> streamIdKey = valueOf("embedded_channel_stream_id");
private static final AttributeKey<QuicStreamType> streamTypeKey = valueOf("embedded_channel_stream_type");
private static final AttributeKey<Boolean> localCreatedKey = valueOf("embedded_channel_stream_local_created");
private QuicStreamChannelConfig config;
private Integer inputShutdown;
private Integer outputShutdown;
EmbeddedQuicStreamChannel(ChannelHandler... handlers) {
this(null, false, QuicStreamType.BIDIRECTIONAL, 0, handlers);
}
// ... (412 more lines)
Domain
Subdomains
Source
Frequently Asked Questions
What does EmbeddedQuicStreamChannel.java do?
EmbeddedQuicStreamChannel.java is a source file in the netty codebase, written in java. It belongs to the Buffer domain, Allocators subdomain.
Where is EmbeddedQuicStreamChannel.java in the architecture?
EmbeddedQuicStreamChannel.java is located at codec-http3/src/test/java/io/netty/handler/codec/http3/EmbeddedQuicStreamChannel.java (domain: Buffer, subdomain: Allocators, directory: codec-http3/src/test/java/io/netty/handler/codec/http3).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free