Home / Function/ selectCtx() — netty Function Reference

selectCtx() — netty Function Reference

Architecture documentation for the selectCtx() function in BoringSSLTlsextServernameCallback.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ce36023a_96e1_0052_825d_2acda6b4c3e4["selectCtx()"]
  6b39d7c8_b044_b700_edcd_bbfc84bd496e["BoringSSLTlsextServernameCallback"]
  ce36023a_96e1_0052_825d_2acda6b4c3e4 -->|defined in| 6b39d7c8_b044_b700_edcd_bbfc84bd496e
  style ce36023a_96e1_0052_825d_2acda6b4c3e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLTlsextServernameCallback.java lines 31–44

    @SuppressWarnings("unused")
    long selectCtx(long ssl, String serverName) {
        final QuicheQuicSslEngine engine = engineMap.get(ssl);
        if (engine == null) {
            // May be null if it was destroyed in the meantime.
            return -1;
        }

        QuicSslContext context = mapping.map(serverName);
        if (context == null) {
            return -1;
        }
        return engine.moveTo(serverName, (QuicheQuicSslContext) context);
    }

Domain

Subdomains

Frequently Asked Questions

What does selectCtx() do?
selectCtx() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLTlsextServernameCallback.java.
Where is selectCtx() defined?
selectCtx() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/BoringSSLTlsextServernameCallback.java at line 31.

Analyze Your Own Codebase

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

Try Supermodel Free