Home / Function/ closeOutbound() — netty Function Reference

closeOutbound() — netty Function Reference

Architecture documentation for the closeOutbound() function in ReferenceCountedOpenSslEngine.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  c857de21_33d9_bee3_7859_4a5480ea5cf5["closeOutbound()"]
  df1ad81e_e5bf_85e6_4418_db301b4c3e66["ReferenceCountedOpenSslEngine"]
  c857de21_33d9_bee3_7859_4a5480ea5cf5 -->|defined in| df1ad81e_e5bf_85e6_4418_db301b4c3e66
  a8911f03_7846_4c48_375e_75acd519b8f2["closeAll()"]
  a8911f03_7846_4c48_375e_75acd519b8f2 -->|calls| c857de21_33d9_bee3_7859_4a5480ea5cf5
  1597114c_667e_f9e1_e97d_756c7ad01661["doSSLShutdown()"]
  c857de21_33d9_bee3_7859_4a5480ea5cf5 -->|calls| 1597114c_667e_f9e1_e97d_756c7ad01661
  c4b3e9d1_8ba5_707f_4649_4d5a628a2433["shutdown()"]
  c857de21_33d9_bee3_7859_4a5480ea5cf5 -->|calls| c4b3e9d1_8ba5_707f_4649_4d5a628a2433
  style c857de21_33d9_bee3_7859_4a5480ea5cf5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java lines 1608–1625

    @Override
    public final synchronized void closeOutbound() {
        if (outboundClosed) {
            return;
        }

        outboundClosed = true;

        if (handshakeState != HandshakeState.NOT_STARTED && !destroyed) {
            int mode = SSL.getShutdown(ssl);
            if ((mode & SSL.SSL_SENT_SHUTDOWN) != SSL.SSL_SENT_SHUTDOWN) {
                doSSLShutdown();
            }
        } else {
            // engine closing before initial handshake
            shutdown();
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does closeOutbound() do?
closeOutbound() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java.
Where is closeOutbound() defined?
closeOutbound() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java at line 1608.
What does closeOutbound() call?
closeOutbound() calls 2 function(s): doSSLShutdown, shutdown.
What calls closeOutbound()?
closeOutbound() is called by 1 function(s): closeAll.

Analyze Your Own Codebase

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

Try Supermodel Free