Package org.xbill.DNS

Class MRRecord

java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.MRRecord
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Record>

public class MRRecord extends Record
Mailbox Rename Record - specifies a rename of a mailbox.
Author:
Brian Wellington
See Also:
  • Field Details

    • singleName

      protected Name singleName
  • Constructor Details

    • MRRecord

      public MRRecord(Name name, int dclass, long ttl, Name newName)
      Creates a new MR Record with the given data
      Parameters:
      newName - The new name of the mailbox specified by the domain. domain.
  • Method Details

    • getNewName

      public Name getNewName()
      Gets the new name of the mailbox specified by the domain
    • rrFromWire

      protected void rrFromWire(DNSInput in) throws IOException
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden
      Specified by:
      rrFromWire in class Record
      Throws:
      IOException
    • rdataFromString

      protected void rdataFromString(Tokenizer st, Name origin) throws IOException
      Description copied from class: Record
      Converts the text format of an RR to the internal format - must be overriden
      Specified by:
      rdataFromString in class Record
      Throws:
      IOException
    • rrToString

      protected String rrToString()
      Description copied from class: Record
      Converts the type-specific RR to text format - must be overridden.
      Specified by:
      rrToString in class Record
    • getSingleName

      protected Name getSingleName()
    • rrToWire

      protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden.
      Specified by:
      rrToWire in class Record