Home / Function/ allQueuedFramesDeliveredAfterParentIsClosed() — netty Function Reference

allQueuedFramesDeliveredAfterParentIsClosed() — netty Function Reference

Architecture documentation for the allQueuedFramesDeliveredAfterParentIsClosed() function in Http2MultiplexTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c69bfb89_a53d_8f4d_63ff_4fe9298eb1a9["allQueuedFramesDeliveredAfterParentIsClosed()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  c69bfb89_a53d_8f4d_63ff_4fe9298eb1a9 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  8df7745b_db2d_ef92_4b30_080373ca9f6d["verifyFramesMultiplexedToCorrectChannel()"]
  c69bfb89_a53d_8f4d_63ff_4fe9298eb1a9 -->|calls| 8df7745b_db2d_ef92_4b30_080373ca9f6d
  style c69bfb89_a53d_8f4d_63ff_4fe9298eb1a9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 738–761

    @Test
    public void allQueuedFramesDeliveredAfterParentIsClosed() throws Exception {
        LastInboundHandler inboundHandler = new LastInboundHandler();
        Http2StreamChannel childChannel = newInboundStream(3, false, new AtomicInteger(1), inboundHandler);
        assertTrue(childChannel.config().isAutoRead());
        childChannel.config().setAutoRead(false);
        assertFalse(childChannel.config().isAutoRead());

        Http2HeadersFrame headersFrame = inboundHandler.readInbound();
        assertNotNull(headersFrame);

        frameInboundWriter.writeInboundData(childChannel.stream().id(), bb("foo"), 0, false);
        verifyFramesMultiplexedToCorrectChannel(childChannel, inboundHandler, 1);
        frameInboundWriter.writeInboundData(childChannel.stream().id(), bb("bar"), 0, false);
        frameInboundWriter.writeInboundData(childChannel.stream().id(), bb("baz"), 0, true);
        assertNull(inboundHandler.readInbound());

        parentChannel.close();
        assertTrue(childChannel.isActive());
        childChannel.read();
        inboundHandler.checkException();
        verifyFramesMultiplexedToCorrectChannel(childChannel, inboundHandler, 2);
        assertFalse(childChannel.isActive());
    }

Domain

Subdomains

Frequently Asked Questions

What does allQueuedFramesDeliveredAfterParentIsClosed() do?
allQueuedFramesDeliveredAfterParentIsClosed() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is allQueuedFramesDeliveredAfterParentIsClosed() defined?
allQueuedFramesDeliveredAfterParentIsClosed() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 738.
What does allQueuedFramesDeliveredAfterParentIsClosed() call?
allQueuedFramesDeliveredAfterParentIsClosed() calls 1 function(s): verifyFramesMultiplexedToCorrectChannel.

Analyze Your Own Codebase

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

Try Supermodel Free