Package org.xbill.DNS

Class MINFORecord

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

public class MINFORecord extends Record
Mailbox information Record - lists the address responsible for a mailing list/mailbox and the address to receive error messages relating to the mailing list/mailbox.
Author:
Brian Wellington
See Also:
  • Constructor Details

    • MINFORecord

      public MINFORecord(Name name, int dclass, long ttl, Name responsibleAddress, Name errorAddress)
      Creates an MINFO Record from the given data
      Parameters:
      responsibleAddress - The address responsible for the mailing list/mailbox.
      errorAddress - The address to receive error messages relating to the mailing list/mailbox.
  • Method Details

    • 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()
      Converts the MINFO Record to a String
      Specified by:
      rrToString in class Record
    • getResponsibleAddress

      public Name getResponsibleAddress()
      Gets the address responsible for the mailing list/mailbox.
    • getErrorAddress

      public Name getErrorAddress()
      Gets the address to receive error messages relating to the mailing list/mailbox.
    • 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