org.xbill.DNS
Class AFSDBRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.AFSDBRecord
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
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:
- Serialized Form
Constructor Summary |
AFSDBRecord(Name name,
int dclass,
long ttl,
int subtype,
Name host)
Creates an AFSDB Record from the given data. |
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 |
u16Field
protected int u16Field
nameField
protected Name nameField
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.
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.
getU16Field
protected int getU16Field()
getNameField
protected Name getNameField()