channelReadComplete() — netty Function Reference
Architecture documentation for the channelReadComplete() function in MessageToMessageDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 62a688e3_0cfd_dc4b_1c4b_8f3b3ef70b76["channelReadComplete()"] bd1eaa52_3883_2c3e_1720_8a64708c4ba9["MessageToMessageDecoder"] 62a688e3_0cfd_dc4b_1c4b_8f3b3ef70b76 -->|defined in| bd1eaa52_3883_2c3e_1720_8a64708c4ba9 style 62a688e3_0cfd_dc4b_1c4b_8f3b3ef70b76 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/main/java/io/netty/handler/codec/MessageToMessageDecoder.java lines 115–126
@Override
public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
if (!isSharable()) {
// Only use local vars if this decoder is not sharable as otherwise this is not safe to do.
if (decodeCalled && !messageProduced && !ctx.channel().config().isAutoRead()) {
ctx.read();
}
decodeCalled = false;
messageProduced = false;
}
ctx.fireChannelReadComplete();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does channelReadComplete() do?
channelReadComplete() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/MessageToMessageDecoder.java.
Where is channelReadComplete() defined?
channelReadComplete() is defined in codec-base/src/main/java/io/netty/handler/codec/MessageToMessageDecoder.java at line 115.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free