addAndSubmit() — netty Function Reference
Architecture documentation for the addAndSubmit() function in AbstractNioChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ba123f72_ce38_82b2_4c0e_e8db9c3db02a["addAndSubmit()"] ee3727e1_0d64_fa3f_39b7_5b5d3cee6721["AbstractNioChannel"] ba123f72_ce38_82b2_4c0e_e8db9c3db02a -->|defined in| ee3727e1_0d64_fa3f_39b7_5b5d3cee6721 04ab7a20_47d8_e2cf_d75f_240f5a88c6da["doBeginRead()"] 04ab7a20_47d8_e2cf_d75f_240f5a88c6da -->|calls| ba123f72_ce38_82b2_4c0e_e8db9c3db02a style ba123f72_ce38_82b2_4c0e_e8db9c3db02a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java lines 108–117
protected void addAndSubmit(NioIoOps addOps) {
int interestOps = selectionKey().interestOps();
if (!addOps.isIncludedIn(interestOps)) {
try {
registration().submit(NioIoOps.valueOf(interestOps).with(addOps));
} catch (Exception e) {
throw new ChannelException(e);
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does addAndSubmit() do?
addAndSubmit() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java.
Where is addAndSubmit() defined?
addAndSubmit() is defined in transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java at line 108.
What calls addAndSubmit()?
addAndSubmit() is called by 1 function(s): doBeginRead.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free