Home / Function/ channelInactive() — netty Function Reference

channelInactive() — netty Function Reference

Architecture documentation for the channelInactive() function in ProxyHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4e382f83_20d7_a989_f0ad_c2b97c1eda9b["channelInactive()"]
  3f5c9c39_cf82_6deb_e43b_1a9ad5499a99["ProxyHandler"]
  4e382f83_20d7_a989_f0ad_c2b97c1eda9b -->|defined in| 3f5c9c39_cf82_6deb_e43b_1a9ad5499a99
  e5452aa5_fc3e_4478_6f1c_39e017cd9292["setConnectFailure()"]
  4e382f83_20d7_a989_f0ad_c2b97c1eda9b -->|calls| e5452aa5_fc3e_4478_6f1c_39e017cd9292
  style 4e382f83_20d7_a989_f0ad_c2b97c1eda9b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java lines 226–234

    @Override
    public final void channelInactive(ChannelHandlerContext ctx) throws Exception {
        if (finished) {
            ctx.fireChannelInactive();
        } else {
            // Disconnected before connected to the destination.
            setConnectFailure(new ProxyConnectException(exceptionMessage("disconnected")));
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does channelInactive() do?
channelInactive() is a function in the netty codebase, defined in handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java.
Where is channelInactive() defined?
channelInactive() is defined in handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java at line 226.
What does channelInactive() call?
channelInactive() calls 1 function(s): setConnectFailure.

Analyze Your Own Codebase

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

Try Supermodel Free