Home | History | Annotate | Download | only in DNS

Lines Matching refs:id

17 private int id; 
30 id = -1;
35 * @param id The message id
38 Header(int id) {
40 setID(id);
44 * Create a new empty header with a random message id
139 * Retrieves the message ID
143 if (id >= 0)
144 return id;
146 if (id < 0)
147 id = random.nextInt(0xffff);
148 return id;
153 * Sets the message ID
156 setID(int id) {
157 if (id < 0 || id > 0xffff)
158 throw new IllegalArgumentException("DNS message ID " + id +
160 this.id = id;
260 sb.append(", id: " + getID());
280 h.id = id;