com.couchbase.client.core.deps.org.xbill.DNS.MFRecord 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;
/**
* Mail Forwarder Record - specifies a mail agent which forwards mail for a domain (obsolete)
*
* @author Brian Wellington
* @see RFC 973: Domain System Changes and
* Observations
*/
public class MFRecord extends SingleNameBase {
MFRecord() {}
/**
* Creates a new MF Record with the given data
*
* @param mailAgent The mail agent that forwards mail for the domain.
*/
public MFRecord(Name name, int dclass, long ttl, Name mailAgent) {
super(name, Type.MF, dclass, ttl, mailAgent, "mail agent");
}
/** Gets the mail agent for the domain */
public Name getMailAgent() {
return getSingleName();
}
@Override
public Name getAdditionalName() {
return getSingleName();
}
}