Home / Function/ removeAndSubmit() — netty Function Reference

removeAndSubmit() — netty Function Reference

Architecture documentation for the removeAndSubmit() function in AbstractNioChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  31c32611_5d7e_c587_8628_79f1c8ac0508["removeAndSubmit()"]
  ee3727e1_0d64_fa3f_39b7_5b5d3cee6721["AbstractNioChannel"]
  31c32611_5d7e_c587_8628_79f1c8ac0508 -->|defined in| ee3727e1_0d64_fa3f_39b7_5b5d3cee6721
  f3370502_af32_7af0_6bff_8d702531e791["removeReadOp()"]
  f3370502_af32_7af0_6bff_8d702531e791 -->|calls| 31c32611_5d7e_c587_8628_79f1c8ac0508
  f0fa666e_fa90_46ee_6be6_10964a525a9b["handle()"]
  f0fa666e_fa90_46ee_6be6_10964a525a9b -->|calls| 31c32611_5d7e_c587_8628_79f1c8ac0508
  style 31c32611_5d7e_c587_8628_79f1c8ac0508 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java lines 119–128

    protected void removeAndSubmit(NioIoOps removeOps) {
        int interestOps = selectionKey().interestOps();
        if (removeOps.isIncludedIn(interestOps)) {
            try {
                registration().submit(NioIoOps.valueOf(interestOps).without(removeOps));
            } catch (Exception e) {
                throw new ChannelException(e);
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does removeAndSubmit() do?
removeAndSubmit() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java.
Where is removeAndSubmit() defined?
removeAndSubmit() is defined in transport/src/main/java/io/netty/channel/nio/AbstractNioChannel.java at line 119.
What calls removeAndSubmit()?
removeAndSubmit() is called by 2 function(s): handle, removeReadOp.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free