Home / Function/ shouldLogChannelConnectWithLocalAddress() — netty Function Reference

shouldLogChannelConnectWithLocalAddress() — netty Function Reference

Architecture documentation for the shouldLogChannelConnectWithLocalAddress() function in LoggingHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5b57418b_f4df_c6f7_400b_7b2c10227a7d["shouldLogChannelConnectWithLocalAddress()"]
  12b00413_e6e3_10b5_14c7_7f5ebb4a81a6["LoggingHandlerTest"]
  5b57418b_f4df_c6f7_400b_7b2c10227a7d -->|defined in| 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6
  fed55159_8c51_7e31_be70_d41e8f1e239b["RegexLogMatcher()"]
  5b57418b_f4df_c6f7_400b_7b2c10227a7d -->|calls| fed55159_8c51_7e31_be70_d41e8f1e239b
  style 5b57418b_f4df_c6f7_400b_7b2c10227a7d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java lines 154–160

    @Test
    public void shouldLogChannelConnectWithLocalAddress() throws Exception {
        EmbeddedChannel channel = new EmbeddedChannel(new LoggingHandler(LogLevel.WARN));
        channel.connect(new InetSocketAddress(80), new InetSocketAddress(81)).await();
        verify(appender).doAppend(argThat(new RegexLogMatcher(
                "^\\[id: 0xembedded, L:embedded - R:embedded\\] CONNECT: 0.0.0.0/0.0.0.0:80, 0.0.0.0/0.0.0.0:81$")));
    }

Domain

Subdomains

Frequently Asked Questions

What does shouldLogChannelConnectWithLocalAddress() do?
shouldLogChannelConnectWithLocalAddress() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java.
Where is shouldLogChannelConnectWithLocalAddress() defined?
shouldLogChannelConnectWithLocalAddress() is defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java at line 154.
What does shouldLogChannelConnectWithLocalAddress() call?
shouldLogChannelConnectWithLocalAddress() calls 1 function(s): RegexLogMatcher.

Analyze Your Own Codebase

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

Try Supermodel Free