channelRead() — netty Function Reference
Architecture documentation for the channelRead() function in SocketConnectTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 39163b4d_6655_a05c_9205_fe0c42419b89["channelRead()"] c003ff1d_d8db_49f7_4ce5_9520b745d318["BufferingClientHandler"] 39163b4d_6655_a05c_9205_fe0c42419b89 -->|defined in| c003ff1d_d8db_49f7_4ce5_9520b745d318 d58eaa9b_d09e_69a1_69f3_838a1edbf736["channelRead()"] d58eaa9b_d09e_69a1_69f3_838a1edbf736 -->|calls| 39163b4d_6655_a05c_9205_fe0c42419b89 d58eaa9b_d09e_69a1_69f3_838a1edbf736["channelRead()"] 39163b4d_6655_a05c_9205_fe0c42419b89 -->|calls| d58eaa9b_d09e_69a1_69f3_838a1edbf736 style 39163b4d_6655_a05c_9205_fe0c42419b89 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketConnectTest.java lines 246–257
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
if (msg instanceof ByteBuf) {
ByteBuf buf = (ByteBuf) msg;
int readableBytes = buf.readableBytes();
buf.readBytes(streamBuffer, readableBytes);
semaphore.release(readableBytes);
buf.release();
} else {
throw new IllegalArgumentException("Unexpected message type: " + msg);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does channelRead() do?
channelRead() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketConnectTest.java.
Where is channelRead() defined?
channelRead() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketConnectTest.java at line 246.
What does channelRead() call?
channelRead() calls 1 function(s): channelRead.
What calls channelRead()?
channelRead() is called by 1 function(s): channelRead.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free