Package org.xbill.DNS

Class DHCIDRecord

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

public class DHCIDRecord extends Record
DHCID - Dynamic Host Configuration Protocol (DHCP) ID (RFC 4701)
Author:
Brian Wellington
See Also:
  • Constructor Details

    • DHCIDRecord

      public DHCIDRecord(Name name, int dclass, long ttl, byte[] data)
      Creates an DHCID Record from the given data
      Parameters:
      data - The binary data, which is opaque to DNS.
  • Method Details

    • rrFromWire

      protected void rrFromWire(DNSInput in)
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden
      Specified by:
      rrFromWire in class Record
    • 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
    • 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
    • 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
    • getData

      public byte[] getData()
      Returns the binary data.