Home / Function/ registerDone() — netty Function Reference

registerDone() — netty Function Reference

Architecture documentation for the registerDone() function in Http2MultiplexHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5c409190_1743_0fa4_a62a_59d360ea11b0["registerDone()"]
  42ad104c_27ce_3949_598d_983571f45120["Http2MultiplexHandler"]
  5c409190_1743_0fa4_a62a_59d360ea11b0 -->|defined in| 42ad104c_27ce_3949_598d_983571f45120
  4210b905_a74a_3889_a149_79ceab54fca7["userEventTriggered()"]
  4210b905_a74a_3889_a149_79ceab54fca7 -->|calls| 5c409190_1743_0fa4_a62a_59d360ea11b0
  style 5c409190_1743_0fa4_a62a_59d360ea11b0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java lines 140–152

    static void registerDone(ChannelFuture future) {
        // Handle any errors that occurred on the local thread while registering. Even though
        // failures can happen after this point, they will be handled by the channel by closing the
        // childChannel.
        if (!future.isSuccess()) {
            Channel childChannel = future.channel();
            if (childChannel.isRegistered()) {
                childChannel.close();
            } else {
                childChannel.unsafe().closeForcibly();
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does registerDone() do?
registerDone() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java.
Where is registerDone() defined?
registerDone() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java at line 140.
What calls registerDone()?
registerDone() is called by 1 function(s): userEventTriggered.

Analyze Your Own Codebase

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

Try Supermodel Free