Package org.xbill.DNS

Class RPRecord

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

public class RPRecord extends Record
Responsible Person Record - lists the mail address of a responsible person and a domain where TXT records are available.
Author:
Tom Scola (tscola@research.att.com), Brian Wellington
See Also:
  • Constructor Details

    • RPRecord

      public RPRecord(Name name, int dclass, long ttl, Name mailbox, Name textDomain)
      Creates an RP Record from the given data
      Parameters:
      mailbox - The responsible person
      textDomain - The address where TXT records can be found
  • 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 RP Record to a String
      Specified by:
      rrToString in class Record
    • getMailbox

      public Name getMailbox()
      Gets the mailbox address of the RP Record
    • getTextDomain

      public Name getTextDomain()
      Gets the text domain info of the RP Record
    • 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