Package org.xbill.DNS

Class AFSDBRecord

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

public class AFSDBRecord extends Record
AFS Data Base Record - maps a domain name to the name of an AFS cell database server.
Author:
Brian Wellington
See Also:
  • Field Details

    • u16Field

      protected int u16Field
    • nameField

      protected Name nameField
  • Constructor Details

    • AFSDBRecord

      public AFSDBRecord(Name name, int dclass, long ttl, int subtype, Name host)
      Creates an AFSDB Record from the given data.
      Parameters:
      subtype - Indicates the type of service provided by the host.
      host - The host providing the service.
  • Method Details

    • getSubtype

      public int getSubtype()
      Gets the subtype indicating the service provided by the host.
    • getHost

      public Name getHost()
      Gets the host providing service for 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
    • getU16Field

      protected int getU16Field()
    • getNameField

      protected Name getNameField()
    • 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