Home / Function/ testOpenLocalControlStream() — netty Function Reference

testOpenLocalControlStream() — netty Function Reference

Architecture documentation for the testOpenLocalControlStream() function in AbtractHttp3ConnectionHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9cf381b6_9651_d297_8052_dc22fb57ef49["testOpenLocalControlStream()"]
  51f4cb69_fb8b_eaa4_1baf_a1ec8d8f48e9["AbtractHttp3ConnectionHandlerTest"]
  9cf381b6_9651_d297_8052_dc22fb57ef49 -->|defined in| 51f4cb69_fb8b_eaa4_1baf_a1ec8d8f48e9
  style 9cf381b6_9651_d297_8052_dc22fb57ef49 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/AbtractHttp3ConnectionHandlerTest.java lines 40–60

    @Test
    public void testOpenLocalControlStream() throws Exception {
        EmbeddedQuicChannel quicChannel = new EmbeddedQuicChannel(server, new ChannelDuplexHandler());
        ChannelHandlerContext ctx = quicChannel.pipeline().firstContext();

        Http3ConnectionHandler handler = newConnectionHandler();
        handler.handlerAdded(ctx);
        handler.channelRegistered(ctx);
        handler.channelActive(ctx);

        final EmbeddedQuicStreamChannel localControlStream = quicChannel.localControlStream();
        assertNotNull(localControlStream);

        assertNotNull(Http3.getLocalControlStream(quicChannel));

        handler.channelInactive(ctx);
        handler.channelUnregistered(ctx);
        handler.handlerRemoved(ctx);

        assertTrue(localControlStream.finishAndReleaseAll());
    }

Domain

Subdomains

Frequently Asked Questions

What does testOpenLocalControlStream() do?
testOpenLocalControlStream() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/AbtractHttp3ConnectionHandlerTest.java.
Where is testOpenLocalControlStream() defined?
testOpenLocalControlStream() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/AbtractHttp3ConnectionHandlerTest.java at line 40.

Analyze Your Own Codebase

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

Try Supermodel Free