com.couchbase.client.core.deps.org.xbill.DNS.EmptyRecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-io Show documentation
Show all versions of core-io Show documentation
The official Couchbase JVM Core IO Library
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 1999-2004 Brian Wellington ([email protected])
package com.couchbase.client.core.deps.org.xbill.DNS;
/**
* A class implementing Records with no data; that is, records used in the question section of
* messages and meta-records in dynamic update.
*
* @author Brian Wellington
*/
class EmptyRecord extends Record {
EmptyRecord() {}
@Override
protected void rrFromWire(DNSInput in) {}
@Override
protected void rdataFromString(Tokenizer st, Name origin) {}
@Override
protected String rrToString() {
return "";
}
@Override
protected void rrToWire(DNSOutput out, Compression c, boolean canonical) {}
}