org.xbill.DNS.SingleCompressedNameBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dnsjava-osgi Show documentation
Show all versions of dnsjava-osgi Show documentation
Repackaging dnsjava 2.0.6 for OSGI and Maven environments.
The newest version!
// Copyright (c) 2004 Brian Wellington ([email protected])
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 {
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);
}
}