Home / Function/ shouldLogChannelDisconnect() — netty Function Reference

shouldLogChannelDisconnect() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java lines 162–168

    @Test
    public void shouldLogChannelDisconnect() throws Exception {
        EmbeddedChannel channel = new DisconnectingEmbeddedChannel(new LoggingHandler(LogLevel.WARN));
        channel.connect(new InetSocketAddress(80)).await();
        channel.disconnect().await();
        verify(appender).doAppend(argThat(new RegexLogMatcher(".+DISCONNECT$")));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free