Home / Class/ AllEventCatcher Class — netty Architecture

AllEventCatcher Class — netty Architecture

Architecture documentation for the AllEventCatcher class in SimpleUserEventChannelHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  87bb059d_ca34_1242_da91_23287bf317ed["AllEventCatcher"]
  7ae89884_b504_3b35_01b6_a80b50d10c69["SimpleUserEventChannelHandlerTest.java"]
  87bb059d_ca34_1242_da91_23287bf317ed -->|defined in| 7ae89884_b504_3b35_01b6_a80b50d10c69
  af3bd08a_e283_c6a3_6207_48cbf83a76b7["AllEventCatcher()"]
  87bb059d_ca34_1242_da91_23287bf317ed -->|method| af3bd08a_e283_c6a3_6207_48cbf83a76b7
  84489e97_9410_0e0b_f955_784937b5892d["userEventTriggered()"]
  87bb059d_ca34_1242_da91_23287bf317ed -->|method| 84489e97_9410_0e0b_f955_784937b5892d

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/SimpleUserEventChannelHandlerTest.java lines 90–102

    static final class AllEventCatcher extends ChannelInboundHandlerAdapter {

        public List<Object> caughtEvents;

        AllEventCatcher() {
            caughtEvents = new ArrayList<Object>();
        }

        @Override
        public void userEventTriggered(ChannelHandlerContext ctx, Object evt) {
            caughtEvents.add(evt);
        }
    }

Frequently Asked Questions

What is the AllEventCatcher class?
AllEventCatcher is a class in the netty codebase, defined in transport/src/test/java/io/netty/channel/SimpleUserEventChannelHandlerTest.java.
Where is AllEventCatcher defined?
AllEventCatcher is defined in transport/src/test/java/io/netty/channel/SimpleUserEventChannelHandlerTest.java at line 90.

Analyze Your Own Codebase

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

Try Supermodel Free