Home / Function/ nextId() — netty Function Reference

nextId() — netty Function Reference

Architecture documentation for the nextId() function in DnsQueryIdSpace.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5b6bfad2_4909_65b8_2d5f_3f2351c9ec9a["nextId()"]
  111240bc_7647_f4bc_5270_6c732c4ba85a["DnsQueryIdRange"]
  5b6bfad2_4909_65b8_2d5f_3f2351c9ec9a -->|defined in| 111240bc_7647_f4bc_5270_6c732c4ba85a
  36354315_78f9_d7b6_6c63_9f282125f564["nextId()"]
  36354315_78f9_d7b6_6c63_9f282125f564 -->|calls| 5b6bfad2_4909_65b8_2d5f_3f2351c9ec9a
  36354315_78f9_d7b6_6c63_9f282125f564["nextId()"]
  5b6bfad2_4909_65b8_2d5f_3f2351c9ec9a -->|calls| 36354315_78f9_d7b6_6c63_9f282125f564
  style 5b6bfad2_4909_65b8_2d5f_3f2351c9ec9a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/DnsQueryIdSpace.java lines 159–168

        int nextId() {
            assert count >= 0;
            if (count == 0) {
                return -1;
            }
            short id = ids[count - 1];
            count--;

            return id & 0xFFFF;
        }

Subdomains

Calls

Called By

Frequently Asked Questions

What does nextId() do?
nextId() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsQueryIdSpace.java.
Where is nextId() defined?
nextId() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsQueryIdSpace.java at line 159.
What does nextId() call?
nextId() calls 1 function(s): nextId.
What calls nextId()?
nextId() is called by 1 function(s): nextId.

Analyze Your Own Codebase

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

Try Supermodel Free