read() — netty Function Reference
Architecture documentation for the read() function in AbstractTrafficShapingHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0c56445d_5a40_0e47_fe4c_642f12d61202["read()"] 8335ea87_158a_c21f_4d30_8f254caf2ded["AbstractTrafficShapingHandler"] 0c56445d_5a40_0e47_fe4c_642f12d61202 -->|defined in| 8335ea87_158a_c21f_4d30_8f254caf2ded e70be341_45e2_2ba2_5f42_466a29b6017b["run()"] e70be341_45e2_2ba2_5f42_466a29b6017b -->|calls| 0c56445d_5a40_0e47_fe4c_642f12d61202 5546df53_f7c6_1216_f0ef_637a40f2a3fa["isHandlerActive()"] 0c56445d_5a40_0e47_fe4c_642f12d61202 -->|calls| 5546df53_f7c6_1216_f0ef_637a40f2a3fa style 0c56445d_5a40_0e47_fe4c_642f12d61202 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/traffic/AbstractTrafficShapingHandler.java lines 543–549
@Override
public void read(ChannelHandlerContext ctx) {
if (isHandlerActive(ctx)) {
// For Global Traffic (and Read when using EventLoop in pipeline) : check if READ_SUSPENDED is False
ctx.read();
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does read() do?
read() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/traffic/AbstractTrafficShapingHandler.java.
Where is read() defined?
read() is defined in handler/src/main/java/io/netty/handler/traffic/AbstractTrafficShapingHandler.java at line 543.
What does read() call?
read() calls 1 function(s): isHandlerActive.
What calls read()?
read() is called by 1 function(s): run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free