Home / Function/ channelReadComplete() — netty Function Reference

channelReadComplete() — netty Function Reference

Architecture documentation for the channelReadComplete() function in IdleStateHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0501ff1d_02d4_fa5c_d885_a5443f3401ed["channelReadComplete()"]
  f7baaa36_50d8_55ab_5867_911f99fb154d["IdleStateHandler"]
  0501ff1d_02d4_fa5c_d885_a5443f3401ed -->|defined in| f7baaa36_50d8_55ab_5867_911f99fb154d
  style 0501ff1d_02d4_fa5c_d885_a5443f3401ed fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java lines 291–298

    @Override
    public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
        if ((readerIdleTimeNanos > 0 || allIdleTimeNanos > 0) && reading) {
            lastReadTime = ticker.nanoTime();
            reading = false;
        }
        ctx.fireChannelReadComplete();
    }

Domain

Subdomains

Frequently Asked Questions

What does channelReadComplete() do?
channelReadComplete() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java.
Where is channelReadComplete() defined?
channelReadComplete() is defined in handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java at line 291.

Analyze Your Own Codebase

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

Try Supermodel Free