com.lavantech.net.dns
Class AAAARecord

java.lang.Object
  extended bycom.lavantech.net.dns.ResourceRecord
      extended bycom.lavantech.net.dns.AAAARecord

public class AAAARecord
extends ResourceRecord

AAAARecord represents all information in a DNS AAAA Record.


Constructor Summary
AAAARecord(java.lang.String rname, int rtype, int rclass, long ttl, java.net.InetAddress address)
          Creates a AAAA record with all the required information
 
Method Summary
 java.net.Inet6Address getInet6Address()
          Returns the IPv6 Address.
 java.lang.String toString()
          Returns a string representation of the record.
 
Methods inherited from class com.lavantech.net.dns.ResourceRecord
getResourceClass, getResourceName, getResourceType, getTTL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AAAARecord

public AAAARecord(java.lang.String rname,
                  int rtype,
                  int rclass,
                  long ttl,
                  java.net.InetAddress address)
Creates a AAAA record with all the required information

Parameters:
rname - Record Name (Hostname)
rtype - Record Type
rclass - Record Class
ttl - Time to Live, time in seconds after which the record will expire.
address - IPv6 Address
Method Detail

getInet6Address

public java.net.Inet6Address getInet6Address()
Returns the IPv6 Address.


toString

public java.lang.String toString()
Returns a string representation of the record.

Overrides:
toString in class ResourceRecord