Home / Function/ renegotiateOnEventLoop() — netty Function Reference

renegotiateOnEventLoop() — netty Function Reference

Architecture documentation for the renegotiateOnEventLoop() function in SslHandler.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  007985bc_62e0_78a1_886e_513422ed7cfe["renegotiateOnEventLoop()"]
  d8b07a7c_44f8_c4e9_efe8_49bfae7d4af1["SslHandler"]
  007985bc_62e0_78a1_886e_513422ed7cfe -->|defined in| d8b07a7c_44f8_c4e9_efe8_49bfae7d4af1
  f71c9f5a_629f_85be_10f8_6016a9d0eb02["renegotiate()"]
  f71c9f5a_629f_85be_10f8_6016a9d0eb02 -->|calls| 007985bc_62e0_78a1_886e_513422ed7cfe
  b58a530d_e555_4c6b_6ad0_658b1ae0022d["handshake()"]
  007985bc_62e0_78a1_886e_513422ed7cfe -->|calls| b58a530d_e555_4c6b_6ad0_658b1ae0022d
  70b58434_ff20_4ee4_6789_fa5a07abafab["applyHandshakeTimeout()"]
  007985bc_62e0_78a1_886e_513422ed7cfe -->|calls| 70b58434_ff20_4ee4_6789_fa5a07abafab
  style 007985bc_62e0_78a1_886e_513422ed7cfe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/SslHandler.java lines 2233–2244

    private void renegotiateOnEventLoop(final Promise<Channel> newHandshakePromise) {
        final Promise<Channel> oldHandshakePromise = handshakePromise;
        if (!oldHandshakePromise.isDone()) {
            // There's no need to handshake because handshake is in progress already.
            // Merge the new promise into the old one.
            PromiseNotifier.cascade(oldHandshakePromise, newHandshakePromise);
        } else {
            handshakePromise = newHandshakePromise;
            handshake(true);
            applyHandshakeTimeout();
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does renegotiateOnEventLoop() do?
renegotiateOnEventLoop() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SslHandler.java.
Where is renegotiateOnEventLoop() defined?
renegotiateOnEventLoop() is defined in handler/src/main/java/io/netty/handler/ssl/SslHandler.java at line 2233.
What does renegotiateOnEventLoop() call?
renegotiateOnEventLoop() calls 2 function(s): applyHandshakeTimeout, handshake.
What calls renegotiateOnEventLoop()?
renegotiateOnEventLoop() is called by 1 function(s): renegotiate.

Analyze Your Own Codebase

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

Try Supermodel Free