aboutsummaryrefslogtreecommitdiff
path: root/src/org/xbill/DNS/SingleCompressedNameBase.java
blob: 790ca1f105a0d07385fb71f39724d3b6c7437d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2004 Brian Wellington (bwelling@xbill.org)

package org.xbill.DNS;

/**
 * Implements common functionality for the many record types whose format
 * is a single compressed name.
 *
 * @author Brian Wellington
 */

abstract class SingleCompressedNameBase extends SingleNameBase {

private static final long serialVersionUID = -236435396815460677L;

protected
SingleCompressedNameBase() {}

protected
SingleCompressedNameBase(Name name, int type, int dclass, long ttl,
			 Name singleName, String description)
{
        super(name, type, dclass, ttl, singleName, description);
}

void
rrToWire(DNSOutput out, Compression c, boolean canonical) {
	singleName.toWire(out, c, canonical);
}

}