Home / Function/ ClientEngine() — netty Function Reference

ClientEngine() — netty Function Reference

Architecture documentation for the ClientEngine() function in ConscryptAlpnSslEngine.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  925a3e50_b672_ff24_705b_00a32a6e9d08["ClientEngine()"]
  cf0a1b16_6ca2_f98f_b8d1_d62a3e799753["ClientEngine"]
  925a3e50_b672_ff24_705b_00a32a6e9d08 -->|defined in| cf0a1b16_6ca2_f98f_b8d1_d62a3e799753
  2c3f3c07_0f3f_3760_0157_e8f9833a9fc9["ConscryptAlpnSslEngine()"]
  2c3f3c07_0f3f_3760_0157_e8f9833a9fc9 -->|calls| 925a3e50_b672_ff24_705b_00a32a6e9d08
  dbbac426_4e5d_137b_2211_c0be3afd86c5["selectProtocol()"]
  925a3e50_b672_ff24_705b_00a32a6e9d08 -->|calls| dbbac426_4e5d_137b_2211_c0be3afd86c5
  style 925a3e50_b672_ff24_705b_00a32a6e9d08 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java lines 115–129

        ClientEngine(SSLEngine engine, ByteBufAllocator alloc,
                JdkApplicationProtocolNegotiator applicationNegotiator) {
            super(engine, alloc, applicationNegotiator.protocols());
            // Register for completion of the handshake.
            Conscrypt.setHandshakeListener(engine, new HandshakeListener() {
                @Override
                public void onHandshakeFinished() throws SSLException {
                    selectProtocol();
                }
            });

            protocolListener = checkNotNull(applicationNegotiator
                            .protocolListenerFactory().newListener(this, applicationNegotiator.protocols()),
                    "protocolListener");
        }

Domain

Subdomains

Frequently Asked Questions

What does ClientEngine() do?
ClientEngine() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java.
Where is ClientEngine() defined?
ClientEngine() is defined in handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java at line 115.
What does ClientEngine() call?
ClientEngine() calls 1 function(s): selectProtocol.
What calls ClientEngine()?
ClientEngine() is called by 1 function(s): ConscryptAlpnSslEngine.

Analyze Your Own Codebase

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

Try Supermodel Free