org.xbill.DNS
Class MFRecord

java.lang.Object
  extended by org.xbill.DNS.Record
      extended by org.xbill.DNS.MFRecord
All Implemented Interfaces:
Cloneable, Comparable

public class MFRecord
extends Record

Mail Forwarder Record - specifies a mail agent which forwards mail for a domain (obsolete)

Author:
Brian Wellington

Field Summary
protected  Name singleName
           
 
Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type
 
Constructor Summary
MFRecord(Name name, int dclass, long ttl, Name mailAgent)
          Creates a new MF Record with the given data
 
Method Summary
 Name getAdditionalName()
          Returns the name for which additional data processing should be done for this record.
 Name getMailAgent()
          Gets the mail agent for the domain
protected  Name getSingleName()
           
 
Methods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

singleName

protected Name singleName
Constructor Detail

MFRecord

public MFRecord(Name name,
                int dclass,
                long ttl,
                Name mailAgent)
Creates a new MF Record with the given data

Parameters:
mailAgent - The mail agent that forwards mail for the domain.
Method Detail

getMailAgent

public Name getMailAgent()
Gets the mail agent for the domain


getAdditionalName

public Name getAdditionalName()
Description copied from class: Record
Returns the name for which additional data processing should be done for this record. This can be used both for building responses and parsing responses.

Overrides:
getAdditionalName in class Record
Returns:
The name to used for additional data processing, or null if this record type does not require additional data processing.

getSingleName

protected Name getSingleName()