channelActive() — netty Function Reference
Architecture documentation for the channelActive() function in QuicStreamChannelCloseTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 19cf33d2_837f_e5b6_a1a8_78a9d2920df8["channelActive()"] d2c6bf9c_3525_5737_41ec_54bccc156065["StreamCreationHandler"] 19cf33d2_837f_e5b6_a1a8_78a9d2920df8 -->|defined in| d2c6bf9c_3525_5737_41ec_54bccc156065 86f1d1cf_a3c8_db45_f8e7_99ec08ec5ef7["channelActive()"] 86f1d1cf_a3c8_db45_f8e7_99ec08ec5ef7 -->|calls| 19cf33d2_837f_e5b6_a1a8_78a9d2920df8 86f1d1cf_a3c8_db45_f8e7_99ec08ec5ef7["channelActive()"] 19cf33d2_837f_e5b6_a1a8_78a9d2920df8 -->|calls| 86f1d1cf_a3c8_db45_f8e7_99ec08ec5ef7 style 19cf33d2_837f_e5b6_a1a8_78a9d2920df8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicStreamChannelCloseTest.java lines 273–288
@Override
public void channelActive(ChannelHandlerContext ctx) {
super.channelActive(ctx);
QuicChannel channel = (QuicChannel) ctx.channel();
channel.createStream(type, new ChannelInboundHandlerAdapter() {
@Override
public void channelActive(ChannelHandlerContext ctx) {
streamPromise.trySuccess(ctx.channel());
// Do the write and close the channel
ctx.writeAndFlush(Unpooled.buffer().writeZero(8))
.addListener(halfClose
? QuicStreamChannel.SHUTDOWN_OUTPUT
: ChannelFutureListener.CLOSE);
}
});
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does channelActive() do?
channelActive() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicStreamChannelCloseTest.java.
Where is channelActive() defined?
channelActive() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicStreamChannelCloseTest.java at line 273.
What does channelActive() call?
channelActive() calls 1 function(s): channelActive.
What calls channelActive()?
channelActive() is called by 1 function(s): channelActive.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free