MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / getID

Method getID

src/main/java/core/org/xbill/DNS/Header.java:150–159  ·  view source on GitHub ↗

Retrieves the message ID

()

Source from the content-addressed store, hash-verified

148 * Retrieves the message ID
149 */
150public int
151getID() {
152 if (id >= 0)
153 return id;
154 synchronized (this) {
155 if (id < 0)
156 id = random.nextInt(0xffff);
157 return id;
158 }
159}
160
161/**
162 * Sets the message ID

Callers 9

toWireMethod · 0.95
toStringWithRcodeMethod · 0.95
cloneEventMethod · 0.80
doAXFRMethod · 0.80
generateReplyMethod · 0.80
sendMethod · 0.80
sendAXFRMethod · 0.80
generateMethod · 0.80
applyStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected