Home / Class/ TestHandler Class — netty Architecture

TestHandler Class — netty Architecture

Architecture documentation for the TestHandler class in SocketConnectionAttemptTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a75efbe0_6967_8a58_74b4_59cc74dfbd4a["TestHandler"]
  68b222bb_77f0_1868_63ff_f4d46042ff4e["SocketConnectionAttemptTest.java"]
  a75efbe0_6967_8a58_74b4_59cc74dfbd4a -->|defined in| 68b222bb_77f0_1868_63ff_f4d46042ff4e
  7f3ccf39_353b_7b0e_8855_8ae11613854f["exceptionCaught()"]
  a75efbe0_6967_8a58_74b4_59cc74dfbd4a -->|method| 7f3ccf39_353b_7b0e_8855_8ae11613854f

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketConnectionAttemptTest.java lines 180–186

    private static class TestHandler extends ChannelInboundHandlerAdapter {
        @Override
        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
            InternalLoggerFactory.getInstance(
                    SocketConnectionAttemptTest.class).warn("Unexpected exception:", cause);
        }
    }

Frequently Asked Questions

What is the TestHandler class?
TestHandler is a class in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketConnectionAttemptTest.java.
Where is TestHandler defined?
TestHandler is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketConnectionAttemptTest.java at line 180.

Analyze Your Own Codebase

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

Try Supermodel Free