Home / Function/ ServerEngine() — netty Function Reference

ServerEngine() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  298cc142_0d70_c4e8_9b2c_f49d46facc57["ServerEngine()"]
  d9d431a0_964c_2741_0842_d5f52db90e6f["ServerEngine"]
  298cc142_0d70_c4e8_9b2c_f49d46facc57 -->|defined in| d9d431a0_964c_2741_0842_d5f52db90e6f
  2c3f3c07_0f3f_3760_0157_e8f9833a9fc9["ConscryptAlpnSslEngine()"]
  2c3f3c07_0f3f_3760_0157_e8f9833a9fc9 -->|calls| 298cc142_0d70_c4e8_9b2c_f49d46facc57
  7bace539_99f9_d03e_3eed_443671615e0d["selectProtocol()"]
  298cc142_0d70_c4e8_9b2c_f49d46facc57 -->|calls| 7bace539_99f9_d03e_3eed_443671615e0d
  style 298cc142_0d70_c4e8_9b2c_f49d46facc57 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java lines 144–160

        ServerEngine(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();
                }
            });

            protocolSelector = checkNotNull(applicationNegotiator.protocolSelectorFactory()
                            .newSelector(this,
                                    new LinkedHashSet<String>(applicationNegotiator.protocols())),
                    "protocolSelector");
        }

Domain

Subdomains

Frequently Asked Questions

What does ServerEngine() do?
ServerEngine() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java.
Where is ServerEngine() defined?
ServerEngine() is defined in handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java at line 144.
What does ServerEngine() call?
ServerEngine() calls 1 function(s): selectProtocol.
What calls ServerEngine()?
ServerEngine() 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