Home | History | Annotate | Download | only in DNS

Lines Matching defs:dclass

41 private int dclass;
121 * @param dclass The class whose cache is being retrieved.
125 getDefaultCache(int dclass) {
126 DClass.check(dclass);
127 Cache c = (Cache) defaultCaches.get(Mnemonic.toInteger(dclass));
129 c = new Cache(dclass);
130 defaultCaches.put(Mnemonic.toInteger(dclass), c);
139 * @param dclass The class whose cache is being set.
142 setDefaultCache(Cache cache, int dclass) {
143 DClass.check(dclass);
144 defaultCaches.put(Mnemonic.toInteger(dclass), cache);
209 * @param dclass The class of the desired records
216 * @see DClass
219 Lookup(Name name, int type, int dclass) {
221 DClass.check(dclass);
227 this.dclass = dclass;
231 this.cache = getDefaultCache(dclass);
248 this(name, type, DClass.IN);
259 this(name, Type.A, DClass.IN);
267 * @param dclass The class of the desired records
273 Lookup(String name, int type, int dclass) throws TextParseException {
274 this(Name.fromString(name), type, dclass);
288 this(Name.fromString(name), type, DClass.IN);
300 this(Name.fromString(name), Type.A, DClass.IN);
350 this.cache = new Cache(dclass);
463 Record question = Record.newRecord(current, type, dclass);
582 if (dclass != DClass.IN)
583 sb.append(DClass.string(dclass) + " ");