Home / Function/ receivePing() — netty Function Reference

receivePing() — netty Function Reference

Architecture documentation for the receivePing() function in Http2FrameCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ce9d58fa_3072_8f53_9a7d_7ba501fa88b5["receivePing()"]
  71f17950_8fc4_c3e9_2e13_384d1ac7ea2c["Http2FrameCodecTest"]
  ce9d58fa_3072_8f53_9a7d_7ba501fa88b5 -->|defined in| 71f17950_8fc4_c3e9_2e13_384d1ac7ea2c
  style ce9d58fa_3072_8f53_9a7d_7ba501fa88b5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java lines 796–805

    @Test
    public void receivePing() throws Http2Exception {
        frameInboundWriter.writeInboundPing(false, 12345L);

        Http2PingFrame pingFrame = inboundHandler.readInbound();
        assertNotNull(pingFrame);

        assertEquals(12345, pingFrame.content());
        assertFalse(pingFrame.ack());
    }

Domain

Subdomains

Frequently Asked Questions

What does receivePing() do?
receivePing() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java.
Where is receivePing() defined?
receivePing() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java at line 796.

Analyze Your Own Codebase

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

Try Supermodel Free