01: // Copyright (c) 2004 Brian Wellington (bwelling@xbill.org)
02:
03: package org.xbill.DNS;
04:
05: /**
06: * Implements common functionality for the many record types whose format
07: * is a single compressed name.
08: *
09: * @author Brian Wellington
10: */
11:
12: abstract class SingleCompressedNameBase extends SingleNameBase {
13:
14: protected SingleCompressedNameBase() {
15: }
16:
17: protected SingleCompressedNameBase(Name name, int type, int dclass,
18: long ttl, Name singleName, String description) {
19: super (name, type, dclass, ttl, singleName, description);
20: }
21:
22: void rrToWire(DNSOutput out, Compression c, boolean canonical) {
23: singleName.toWire(out, c, canonical);
24: }
25:
26: }
|