handlePendingChannelActive() — netty Function Reference
Architecture documentation for the handlePendingChannelActive() function in QuicheQuicChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a4b4fcaa_9db9_acca_39f7_249f845a6b78["handlePendingChannelActive()"] 981bac79_4fa5_9e57_50c8_e12d0b35f6d4["QuicChannelUnsafe"] a4b4fcaa_9db9_acca_39f7_249f845a6b78 -->|defined in| 981bac79_4fa5_9e57_50c8_e12d0b35f6d4 4cae79d3_92ee_29bb_03d0_6a120cc97031["processReceived()"] 4cae79d3_92ee_29bb_03d0_6a120cc97031 -->|calls| a4b4fcaa_9db9_acca_39f7_249f845a6b78 964a3852_b3e7_b070_9305_753cc91a1758["notifyAboutHandshakeCompletionIfNeeded()"] a4b4fcaa_9db9_acca_39f7_249f845a6b78 -->|calls| 964a3852_b3e7_b070_9305_753cc91a1758 b45b198f_1210_5e2e_4da0_b84aa6357bd6["fireDatagramExtensionEvent()"] a4b4fcaa_9db9_acca_39f7_249f845a6b78 -->|calls| b45b198f_1210_5e2e_4da0_b84aa6357bd6 ef304e25_a25b_693c_82b3_0eb2c9334eb7["fireConnectCloseEventIfNeeded()"] a4b4fcaa_9db9_acca_39f7_249f845a6b78 -->|calls| ef304e25_a25b_693c_82b3_0eb2c9334eb7 style a4b4fcaa_9db9_acca_39f7_249f845a6b78 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java lines 1919–1948
private boolean handlePendingChannelActive(QuicheQuicConnection conn) {
if (conn.isFreed() || state == ChannelState.CLOSED) {
return true;
}
if (server) {
if (state == ChannelState.OPEN && Quiche.quiche_conn_is_established(conn.address())) {
// We didn't notify before about channelActive... Update state and fire the event.
state = ChannelState.ACTIVE;
pipeline().fireChannelActive();
notifyAboutHandshakeCompletionIfNeeded(conn, null);
fireDatagramExtensionEvent(conn);
}
} else if (connectPromise != null && Quiche.quiche_conn_is_established(conn.address())) {
ChannelPromise promise = connectPromise;
connectPromise = null;
state = ChannelState.ACTIVE;
boolean promiseSet = promise.trySuccess();
pipeline().fireChannelActive();
notifyAboutHandshakeCompletionIfNeeded(conn, null);
fireDatagramExtensionEvent(conn);
if (!promiseSet) {
fireConnectCloseEventIfNeeded(conn);
this.close(this.voidPromise());
return true;
}
}
return false;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does handlePendingChannelActive() do?
handlePendingChannelActive() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java.
Where is handlePendingChannelActive() defined?
handlePendingChannelActive() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java at line 1919.
What does handlePendingChannelActive() call?
handlePendingChannelActive() calls 3 function(s): fireConnectCloseEventIfNeeded, fireDatagramExtensionEvent, notifyAboutHandshakeCompletionIfNeeded.
What calls handlePendingChannelActive()?
handlePendingChannelActive() is called by 1 function(s): processReceived.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free