Home / Class/ MyInitializer Class — netty Architecture

MyInitializer Class — netty Architecture

Architecture documentation for the MyInitializer class in SocketExceptionHandlingTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e14a2ee0_fc1e_289f_8f62_5f05e14ccba1["MyInitializer"]
  9fd334be_c250_b631_d5f7_d0a51c6c89cc["SocketExceptionHandlingTest.java"]
  e14a2ee0_fc1e_289f_8f62_5f05e14ccba1 -->|defined in| 9fd334be_c250_b631_d5f7_d0a51c6c89cc
  5a4246f3_a057_d2e2_e16e_d70a16223220["initChannel()"]
  e14a2ee0_fc1e_289f_8f62_5f05e14ccba1 -->|method| 5a4246f3_a057_d2e2_e16e_d70a16223220

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketExceptionHandlingTest.java lines 81–90

    private static class MyInitializer extends ChannelInitializer<Channel> {
        final ExceptionHandler exceptionHandler = new ExceptionHandler();
        @Override
        protected void initChannel(Channel ch) throws Exception {
            ChannelPipeline pipeline = ch.pipeline();

            pipeline.addLast(new BuggyChannelHandler());
            pipeline.addLast(exceptionHandler);
        }
    }

Frequently Asked Questions

What is the MyInitializer class?
MyInitializer is a class in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketExceptionHandlingTest.java.
Where is MyInitializer defined?
MyInitializer is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketExceptionHandlingTest.java at line 81.

Analyze Your Own Codebase

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

Try Supermodel Free