org.xbill.DNS
Class A6Record

java.lang.Object
  extended by org.xbill.DNS.Record
      extended by org.xbill.DNS.A6Record
All Implemented Interfaces:
Cloneable, Comparable

public class A6Record
extends Record

A6 Record - maps a domain name to an IPv6 address (experimental)

Author:
Brian Wellington

Field Summary
 
Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type
 
Constructor Summary
A6Record(Name name, int dclass, long ttl, int prefixBits, InetAddress suffix, Name prefix)
          Creates an A6 Record from the given data
 
Method Summary
 Name getPrefix()
          Returns the address prefix
 int getPrefixBits()
          Returns the number of bits in the prefix
 InetAddress getSuffix()
          Returns the address suffix
 
Methods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

A6Record

public A6Record(Name name,
                int dclass,
                long ttl,
                int prefixBits,
                InetAddress suffix,
                Name prefix)
Creates an A6 Record from the given data

Parameters:
prefixBits - The number of bits in the address prefix
suffix - The address suffix
prefix - The name of the prefix
Method Detail

getPrefixBits

public int getPrefixBits()
Returns the number of bits in the prefix


getSuffix

public InetAddress getSuffix()
Returns the address suffix


getPrefix

public Name getPrefix()
Returns the address prefix