decodeRemovalReentryProtection() — netty Function Reference
Architecture documentation for the decodeRemovalReentryProtection() function in ByteToMessageDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ee472e33_1a7d_641f_3906_3ad2ada7997f["decodeRemovalReentryProtection()"] efe4959f_3296_dbb1_4a4b_76b9d7ccec55["ByteToMessageDecoder"] ee472e33_1a7d_641f_3906_3ad2ada7997f -->|defined in| efe4959f_3296_dbb1_4a4b_76b9d7ccec55 8a34ecfc_930b_5500_f979_83efbe7a340e["callDecode()"] 8a34ecfc_930b_5500_f979_83efbe7a340e -->|calls| ee472e33_1a7d_641f_3906_3ad2ada7997f 2780496c_9c50_8513_8319_9a728365e524["decodeLast()"] 2780496c_9c50_8513_8319_9a728365e524 -->|calls| ee472e33_1a7d_641f_3906_3ad2ada7997f a2b41b20_4228_5c5c_610d_6731a6923ad0["decode()"] ee472e33_1a7d_641f_3906_3ad2ada7997f -->|calls| a2b41b20_4228_5c5c_610d_6731a6923ad0 07d205b6_501b_721f_b872_e8e378f3c54d["fireChannelRead()"] ee472e33_1a7d_641f_3906_3ad2ada7997f -->|calls| 07d205b6_501b_721f_b872_e8e378f3c54d df62d6fb_323f_5e89_3bf7_8847293a1412["handlerRemoved()"] ee472e33_1a7d_641f_3906_3ad2ada7997f -->|calls| df62d6fb_323f_5e89_3bf7_8847293a1412 style ee472e33_1a7d_641f_3906_3ad2ada7997f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/main/java/io/netty/handler/codec/ByteToMessageDecoder.java lines 541–557
final void decodeRemovalReentryProtection(ChannelHandlerContext ctx, ByteBuf in, List<Object> out)
throws Exception {
decodeState = STATE_CALLING_CHILD_DECODE;
try {
decode(ctx, in, out);
} finally {
if (inputMessages == null || inputMessages.isEmpty()) {
boolean removePending = decodeState == STATE_HANDLER_REMOVED_PENDING;
decodeState = STATE_INIT;
if (removePending) {
fireChannelRead(ctx, out, out.size());
out.clear();
handlerRemoved(ctx);
}
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does decodeRemovalReentryProtection() do?
decodeRemovalReentryProtection() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/ByteToMessageDecoder.java.
Where is decodeRemovalReentryProtection() defined?
decodeRemovalReentryProtection() is defined in codec-base/src/main/java/io/netty/handler/codec/ByteToMessageDecoder.java at line 541.
What does decodeRemovalReentryProtection() call?
decodeRemovalReentryProtection() calls 3 function(s): decode, fireChannelRead, handlerRemoved.
What calls decodeRemovalReentryProtection()?
decodeRemovalReentryProtection() is called by 2 function(s): callDecode, decodeLast.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free