Home / Class/ ReadCountHandler Class — netty Architecture

ReadCountHandler Class — netty Architecture

Architecture documentation for the ReadCountHandler class in MessageToMessageDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ff959be2_0ae4_4824_2a98_baef22d2b96c["ReadCountHandler"]
  5d4c187c_646b_8edd_c609_f5683c9eac4b["MessageToMessageDecoderTest.java"]
  ff959be2_0ae4_4824_2a98_baef22d2b96c -->|defined in| 5d4c187c_646b_8edd_c609_f5683c9eac4b
  fe5491af_631a_1f4c_e328_f3cf469cf1a1["read()"]
  ff959be2_0ae4_4824_2a98_baef22d2b96c -->|method| fe5491af_631a_1f4c_e328_f3cf469cf1a1

Relationship Graph

Source Code

codec-base/src/test/java/io/netty/handler/codec/MessageToMessageDecoderTest.java lines 56–63

    private static final class ReadCountHandler extends ChannelOutboundHandlerAdapter {
        final AtomicInteger readCount = new AtomicInteger();
        @Override
        public void read(ChannelHandlerContext ctx) throws Exception {
            readCount.incrementAndGet();
            super.read(ctx);
        }
    }

Frequently Asked Questions

What is the ReadCountHandler class?
ReadCountHandler is a class in the netty codebase, defined in codec-base/src/test/java/io/netty/handler/codec/MessageToMessageDecoderTest.java.
Where is ReadCountHandler defined?
ReadCountHandler is defined in codec-base/src/test/java/io/netty/handler/codec/MessageToMessageDecoderTest.java at line 56.

Analyze Your Own Codebase

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

Try Supermodel Free