shutdown0() — netty Function Reference
Architecture documentation for the shutdown0() function in QuicheQuicStreamChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3["shutdown0()"] 12c209e0_2392_3384_a39f_2a0649fbd28b["QuicheQuicStreamChannel"] b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3 -->|defined in| 12c209e0_2392_3384_a39f_2a0649fbd28b e0d43b2d_1676_72b5_396d_ed0a9a98c114["ChannelFuture()"] e0d43b2d_1676_72b5_396d_ed0a9a98c114 -->|calls| b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3 c225604c_2de8_fe76_73d8_f8ebd8b0d632["writeWithoutCheckChannelState()"] b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3 -->|calls| c225604c_2de8_fe76_73d8_f8ebd8b0d632 18d5c15c_2e0f_33e1_147e_c76d087fc65b["flush()"] b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3 -->|calls| 18d5c15c_2e0f_33e1_147e_c76d087fc65b d46e3d31_9ac9_1dec_c60f_c3c77a46395a["streamId()"] b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3 -->|calls| d46e3d31_9ac9_1dec_c60f_c3c77a46395a 860d77ee_151e_f1cf_829e_15a8d2aac53c["closeIfDone()"] b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3 -->|calls| 860d77ee_151e_f1cf_829e_15a8d2aac53c style b8f0fcf4_c9ba_7fd0_650b_cbfb08e968b3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java lines 243–254
private void shutdown0(ChannelPromise promise) {
assert eventLoop().inEventLoop();
if (!promise.setUncancellable()) {
return;
}
inputShutdown = true;
outputShutdown = true;
unsafe.writeWithoutCheckChannelState(QuicStreamFrame.EMPTY_FIN, unsafe.voidPromise());
unsafe.flush();
parent().streamShutdown(streamId(), true, false, 0, promise);
closeIfDone();
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does shutdown0() do?
shutdown0() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java.
Where is shutdown0() defined?
shutdown0() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java at line 243.
What does shutdown0() call?
shutdown0() calls 4 function(s): closeIfDone, flush, streamId, writeWithoutCheckChannelState.
What calls shutdown0()?
shutdown0() 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