Home / Function/ onPingRead() — netty Function Reference

onPingRead() — netty Function Reference

Architecture documentation for the onPingRead() function in DefaultHttp2ConnectionDecoder.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  9160568b_5ab7_eed1_a1e2_513bb43f2c2f["onPingRead()"]
  0189a990_8f54_63f5_92fb_f168c031db1e["FrameReadListener"]
  9160568b_5ab7_eed1_a1e2_513bb43f2c2f -->|defined in| 0189a990_8f54_63f5_92fb_f168c031db1e
  15f28600_a160_733e_4b54_f496696f8cdb["onPingRead()"]
  15f28600_a160_733e_4b54_f496696f8cdb -->|calls| 9160568b_5ab7_eed1_a1e2_513bb43f2c2f
  15f28600_a160_733e_4b54_f496696f8cdb["onPingRead()"]
  9160568b_5ab7_eed1_a1e2_513bb43f2c2f -->|calls| 15f28600_a160_733e_4b54_f496696f8cdb
  style 9160568b_5ab7_eed1_a1e2_513bb43f2c2f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java lines 532–539

        @Override
        public void onPingRead(ChannelHandlerContext ctx, long data) throws Http2Exception {
            if (autoAckPing) {
                // Send an ack back to the remote client.
                encoder.writePing(ctx, true, data, ctx.newPromise());
            }
            listener.onPingRead(ctx, data);
        }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does onPingRead() do?
onPingRead() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java.
Where is onPingRead() defined?
onPingRead() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java at line 532.
What does onPingRead() call?
onPingRead() calls 1 function(s): onPingRead.
What calls onPingRead()?
onPingRead() is called by 1 function(s): onPingRead.

Analyze Your Own Codebase

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

Try Supermodel Free