Home / Function/ channelClosedTwiceMarksPromiseAsSuccessful() — netty Function Reference

channelClosedTwiceMarksPromiseAsSuccessful() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  16045706_aaca_760a_b2a9_3159eee018ae["channelClosedTwiceMarksPromiseAsSuccessful()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  16045706_aaca_760a_b2a9_3159eee018ae -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  style 16045706_aaca_760a_b2a9_3159eee018ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 1065–1077

    @Test
    public void channelClosedTwiceMarksPromiseAsSuccessful() {
        LastInboundHandler inboundHandler = new LastInboundHandler();
        Http2StreamChannel childChannel = newInboundStream(3, false, inboundHandler);

        assertTrue(childChannel.isOpen());
        assertTrue(childChannel.isActive());
        childChannel.close().syncUninterruptibly();
        childChannel.close().syncUninterruptibly();

        assertFalse(childChannel.isOpen());
        assertFalse(childChannel.isActive());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free