run() — netty Function Reference
Architecture documentation for the run() function in QuicheQuicChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8fc73c0a_1c83_08e3_9486_c99948586794["run()"] 745f36f6_9a3c_f564_aaaa_aa3880bcb1f5["TimeoutHandler"] 8fc73c0a_1c83_08e3_9486_c99948586794 -->|defined in| 745f36f6_9a3c_f564_aaaa_aa3880bcb1f5 604235a5_366a_9e5f_9b8b_598f9c32b873["runAll()"] 604235a5_366a_9e5f_9b8b_598f9c32b873 -->|calls| 8fc73c0a_1c83_08e3_9486_c99948586794 9f9da465_f345_60be_84db_446a37063039["SendResult()"] 9f9da465_f345_60be_84db_446a37063039 -->|calls| 8fc73c0a_1c83_08e3_9486_c99948586794 c4a3c3a8_c9a0_f1c5_a6e4_d976b89450ea["connectionRecv()"] c4a3c3a8_c9a0_f1c5_a6e4_d976b89450ea -->|calls| 8fc73c0a_1c83_08e3_9486_c99948586794 c997df20_22da_3c7d_91cc_a980c6a6738b["scheduleTimeout()"] c997df20_22da_3c7d_91cc_a980c6a6738b -->|calls| 8fc73c0a_1c83_08e3_9486_c99948586794 02598212_7f8b_2f50_b095_37e1e52dcf04["freeIfClosed()"] 8fc73c0a_1c83_08e3_9486_c99948586794 -->|calls| 02598212_7f8b_2f50_b095_37e1e52dcf04 d7575fb7_9073_0e3e_6ab3_7d2612f1eb16["flushParent()"] 8fc73c0a_1c83_08e3_9486_c99948586794 -->|calls| d7575fb7_9073_0e3e_6ab3_7d2612f1eb16 c997df20_22da_3c7d_91cc_a980c6a6738b["scheduleTimeout()"] 8fc73c0a_1c83_08e3_9486_c99948586794 -->|calls| c997df20_22da_3c7d_91cc_a980c6a6738b style 8fc73c0a_1c83_08e3_9486_c99948586794 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java lines 1994–2018
@Override
public void run() {
QuicheQuicConnection conn = connection;
if (conn.isFreed()) {
return;
}
if (!freeIfClosed()) {
long connAddr = conn.address();
timeoutFuture = null;
// Notify quiche there was a timeout.
Quiche.quiche_conn_on_timeout(connAddr);
if (!freeIfClosed()) {
// We need to call connectionSend when a timeout was triggered.
// See https://docs.rs/quiche/0.6.0/quiche/struct.Connection.html#method.send.
if (connectionSend(conn) != SendResult.NONE) {
flushParent();
}
boolean closed = freeIfClosed();
if (!closed) {
// The connection is alive, reschedule.
scheduleTimeout();
}
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does run() do?
run() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java.
Where is run() defined?
run() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java at line 1994.
What does run() call?
run() calls 3 function(s): flushParent, freeIfClosed, scheduleTimeout.
What calls run()?
run() is called by 4 function(s): SendResult, connectionRecv, runAll, scheduleTimeout.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free