Home / Class/ SslEventHandler Class — netty Architecture

SslEventHandler Class — netty Architecture

Architecture documentation for the SslEventHandler class in SslHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  fa745507_fb9d_a229_d975_1bc4915e52d2["SslEventHandler"]
  95d7e028_ee72_2502_f279_8411001f0ae8["SslHandlerTest.java"]
  fa745507_fb9d_a229_d975_1bc4915e52d2 -->|defined in| 95d7e028_ee72_2502_f279_8411001f0ae8
  09e28321_991b_cd70_043b_cf8d02ac5d9c["SslEventHandler()"]
  fa745507_fb9d_a229_d975_1bc4915e52d2 -->|method| 09e28321_991b_cd70_043b_cf8d02ac5d9c
  0fd148d9_de21_9e3d_3bde_be07148f32de["userEventTriggered()"]
  fa745507_fb9d_a229_d975_1bc4915e52d2 -->|method| 0fd148d9_de21_9e3d_3bde_be07148f32de

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java lines 1611–1625

        class SslEventHandler extends ChannelInboundHandlerAdapter {
            private final AtomicReference<SslHandshakeCompletionEvent> ref;

            SslEventHandler(AtomicReference<SslHandshakeCompletionEvent> ref) {
                this.ref = ref;
            }

            @Override
            public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {
                if (evt instanceof SslHandshakeCompletionEvent) {
                    ref.set((SslHandshakeCompletionEvent) evt);
                }
                super.userEventTriggered(ctx, evt);
            }
        }

Frequently Asked Questions

What is the SslEventHandler class?
SslEventHandler is a class in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java.
Where is SslEventHandler defined?
SslEventHandler is defined in handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java at line 1611.

Analyze Your Own Codebase

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

Try Supermodel Free