Home / Function/ disconnect() — netty Function Reference

disconnect() — netty Function Reference

Architecture documentation for the disconnect() function in CombinedChannelDuplexHandler.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  2260861a_34e4_a665_6ac1_21c7b7a98ed4["disconnect()"]
  d9e90966_2763_e0d8_7a2c_c3339937a5a7["CombinedChannelDuplexHandler"]
  2260861a_34e4_a665_6ac1_21c7b7a98ed4 -->|defined in| d9e90966_2763_e0d8_7a2c_c3339937a5a7
  f21eb085_d219_3721_fd51_6a323be2ff94["ChannelFuture()"]
  f21eb085_d219_3721_fd51_6a323be2ff94 -->|calls| 2260861a_34e4_a665_6ac1_21c7b7a98ed4
  style 2260861a_34e4_a665_6ac1_21c7b7a98ed4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/CombinedChannelDuplexHandler.java lines 300–308

    @Override
    public void disconnect(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
        assert ctx == outboundCtx.ctx;
        if (!outboundCtx.removed) {
            outboundHandler.disconnect(outboundCtx, promise);
        } else {
            outboundCtx.disconnect(promise);
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does disconnect() do?
disconnect() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/CombinedChannelDuplexHandler.java.
Where is disconnect() defined?
disconnect() is defined in transport/src/main/java/io/netty/channel/CombinedChannelDuplexHandler.java at line 300.
What calls disconnect()?
disconnect() is called by 1 function(s): ChannelFuture.

Analyze Your Own Codebase

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

Try Supermodel Free