Home / Function/ removeChannel() — netty Function Reference

removeChannel() — netty Function Reference

Architecture documentation for the removeChannel() function in QuicheQuicCodec.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9fb2cf4a_3a63_0c39_2d09_7f8c62278c50["removeChannel()"]
  2593916d_2b0e_6fcc_eac7_86416a14767c["QuicheQuicCodec"]
  9fb2cf4a_3a63_0c39_2d09_7f8c62278c50 -->|defined in| 2593916d_2b0e_6fcc_eac7_86416a14767c
  cd2cb80d_560e_bd85_bf59_69ce2ff31fa6["processDelayedRemoval()"]
  cd2cb80d_560e_bd85_bf59_69ce2ff31fa6 -->|calls| 9fb2cf4a_3a63_0c39_2d09_7f8c62278c50
  style 9fb2cf4a_3a63_0c39_2d09_7f8c62278c50 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicCodec.java lines 103–116

    private void removeChannel(QuicheQuicChannel channel) {
        if (delayRemoval) {
            boolean added = delayedRemoval.offer(channel);
            assert added;
        } else {
            boolean removed = channels.remove(channel);
            if (removed) {
                for (ByteBuffer id : channel.sourceConnectionIds()) {
                    QuicheQuicChannel ch = connectionIdToChannel.remove(id);
                    assert ch == channel;
                }
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does removeChannel() do?
removeChannel() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicCodec.java.
Where is removeChannel() defined?
removeChannel() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicCodec.java at line 103.
What calls removeChannel()?
removeChannel() is called by 1 function(s): processDelayedRemoval.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free