Home / Function/ notifyAboutHandshakeCompletionIfNeeded() — netty Function Reference

notifyAboutHandshakeCompletionIfNeeded() — netty Function Reference

Architecture documentation for the notifyAboutHandshakeCompletionIfNeeded() function in QuicheQuicChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  964a3852_b3e7_b070_9305_753cc91a1758["notifyAboutHandshakeCompletionIfNeeded()"]
  3c534d05_bb5b_c991_5e03_7ec94e739cf7["QuicheQuicChannel"]
  964a3852_b3e7_b070_9305_753cc91a1758 -->|defined in| 3c534d05_bb5b_c991_5e03_7ec94e739cf7
  df3e43f0_4607_0b84_f830_a8655804f40e["fireExceptionEvents()"]
  df3e43f0_4607_0b84_f830_a8655804f40e -->|calls| 964a3852_b3e7_b070_9305_753cc91a1758
  4cae79d3_92ee_29bb_03d0_6a120cc97031["processReceived()"]
  4cae79d3_92ee_29bb_03d0_6a120cc97031 -->|calls| 964a3852_b3e7_b070_9305_753cc91a1758
  a4b4fcaa_9db9_acca_39f7_249f845a6b78["handlePendingChannelActive()"]
  a4b4fcaa_9db9_acca_39f7_249f845a6b78 -->|calls| 964a3852_b3e7_b070_9305_753cc91a1758
  style 964a3852_b3e7_b070_9305_753cc91a1758 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java lines 259–280

    private void notifyAboutHandshakeCompletionIfNeeded(QuicheQuicConnection conn,
                                                        @Nullable SSLHandshakeException cause) {
        if (handshakeCompletionNotified) {
            return;
        }
        if (cause != null) {
            pipeline().fireUserEventTriggered(new SslHandshakeCompletionEvent(cause));
            return;
        }
        if (conn.isFreed()) {
            return;
        }
        switch (connection.engine().getHandshakeStatus()) {
            case NOT_HANDSHAKING:
            case FINISHED:
                handshakeCompletionNotified = true;
                pipeline().fireUserEventTriggered(SslHandshakeCompletionEvent.SUCCESS);
                break;
            default:
                break;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does notifyAboutHandshakeCompletionIfNeeded() do?
notifyAboutHandshakeCompletionIfNeeded() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java.
Where is notifyAboutHandshakeCompletionIfNeeded() defined?
notifyAboutHandshakeCompletionIfNeeded() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java at line 259.
What calls notifyAboutHandshakeCompletionIfNeeded()?
notifyAboutHandshakeCompletionIfNeeded() is called by 3 function(s): fireExceptionEvents, handlePendingChannelActive, processReceived.

Analyze Your Own Codebase

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

Try Supermodel Free