Home / Class/ FooEventCatcher Class — netty Architecture

FooEventCatcher Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  2fcb9752_c713_7c0c_ce8d_1c6257d59910["FooEventCatcher"]
  7ae89884_b504_3b35_01b6_a80b50d10c69["SimpleUserEventChannelHandlerTest.java"]
  2fcb9752_c713_7c0c_ce8d_1c6257d59910 -->|defined in| 7ae89884_b504_3b35_01b6_a80b50d10c69
  0d457375_da60_e621_4920_7ecb88700d1c["FooEventCatcher()"]
  2fcb9752_c713_7c0c_ce8d_1c6257d59910 -->|method| 0d457375_da60_e621_4920_7ecb88700d1c
  01c48aab_a946_1a4f_f1d5_f704d7baccf4["eventReceived()"]
  2fcb9752_c713_7c0c_ce8d_1c6257d59910 -->|method| 01c48aab_a946_1a4f_f1d5_f704d7baccf4

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/SimpleUserEventChannelHandlerTest.java lines 76–88

    static final class FooEventCatcher extends SimpleUserEventChannelHandler<FooEvent> {

        public List<FooEvent> caughtEvents;

        FooEventCatcher() {
            caughtEvents = new ArrayList<FooEvent>();
        }

        @Override
        protected void eventReceived(ChannelHandlerContext ctx, FooEvent evt) {
            caughtEvents.add(evt);
        }
    }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free