Home / Function/ verifyFlushAndClose() — netty Function Reference

verifyFlushAndClose() — netty Function Reference

Architecture documentation for the verifyFlushAndClose() function in Http2ControlFrameLimitEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  47fd1fb2_be80_9cc4_d23f_053ecbef3394["verifyFlushAndClose()"]
  22de4aca_61e4_e560_8713_527c2b02db9e["Http2ControlFrameLimitEncoderTest"]
  47fd1fb2_be80_9cc4_d23f_053ecbef3394 -->|defined in| 22de4aca_61e4_e560_8713_527c2b02db9e
  76a455e6_3b19_5966_48a5_4a444ae57985["testLimitSettingsAck()"]
  76a455e6_3b19_5966_48a5_4a444ae57985 -->|calls| 47fd1fb2_be80_9cc4_d23f_053ecbef3394
  29d45100_5b1a_cee1_549c_23920757a2cd["testLimitPingAck()"]
  29d45100_5b1a_cee1_549c_23920757a2cd -->|calls| 47fd1fb2_be80_9cc4_d23f_053ecbef3394
  9ef3c52a_6831_b7ca_1cc3_f584c46c63c0["testNotLimitPing()"]
  9ef3c52a_6831_b7ca_1cc3_f584c46c63c0 -->|calls| 47fd1fb2_be80_9cc4_d23f_053ecbef3394
  f2df9dad_100f_14d5_5b18_93d145ddfcd8["testLimitRst()"]
  f2df9dad_100f_14d5_5b18_93d145ddfcd8 -->|calls| 47fd1fb2_be80_9cc4_d23f_053ecbef3394
  9daa03dc_439c_7de5_b18b_29e66494cabe["testLimit()"]
  9daa03dc_439c_7de5_b18b_29e66494cabe -->|calls| 47fd1fb2_be80_9cc4_d23f_053ecbef3394
  style 47fd1fb2_be80_9cc4_d23f_053ecbef3394 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ControlFrameLimitEncoderTest.java lines 265–272

    private void verifyFlushAndClose(int invocations, boolean failed) {
        verify(ctx, atLeast(invocations)).flush();
        verify(ctx, times(invocations)).close();
        if (failed) {
            verify(writer, times(1)).writeGoAway(eq(ctx), eq(Integer.MAX_VALUE), eq(ENHANCE_YOUR_CALM.code()),
                    any(ByteBuf.class), any(ChannelPromise.class));
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does verifyFlushAndClose() do?
verifyFlushAndClose() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ControlFrameLimitEncoderTest.java.
Where is verifyFlushAndClose() defined?
verifyFlushAndClose() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ControlFrameLimitEncoderTest.java at line 265.
What calls verifyFlushAndClose()?
verifyFlushAndClose() is called by 5 function(s): testLimit, testLimitPingAck, testLimitRst, testLimitSettingsAck, testNotLimitPing.

Analyze Your Own Codebase

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

Try Supermodel Free