Home / Function/ closeChannels() — netty Function Reference

closeChannels() — netty Function Reference

Architecture documentation for the closeChannels() function in AbstractIntegrationTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1ccd8a30_8d28_6183_5eaf_d73c35f2473a["closeChannels()"]
  60eb60f4_51df_0542_7955_f04cb7b76df6["AbstractIntegrationTest"]
  1ccd8a30_8d28_6183_5eaf_d73c35f2473a -->|defined in| 60eb60f4_51df_0542_7955_f04cb7b76df6
  182a189f_cae8_5dd2_73a7_5770346ff2cd["testIdentity()"]
  182a189f_cae8_5dd2_73a7_5770346ff2cd -->|calls| 1ccd8a30_8d28_6183_5eaf_d73c35f2473a
  style 1ccd8a30_8d28_6183_5eaf_d73c35f2473a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractIntegrationTest.java lines 57–75

    public void closeChannels() {
        encoder.close();
        for (;;) {
            Object msg = encoder.readOutbound();
            if (msg == null) {
                break;
            }
            ReferenceCountUtil.release(msg);
        }

        decoder.close();
        for (;;) {
            Object msg = decoder.readInbound();
            if (msg == null) {
                break;
            }
            ReferenceCountUtil.release(msg);
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does closeChannels() do?
closeChannels() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractIntegrationTest.java.
Where is closeChannels() defined?
closeChannels() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractIntegrationTest.java at line 57.
What calls closeChannels()?
closeChannels() is called by 1 function(s): testIdentity.

Analyze Your Own Codebase

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

Try Supermodel Free