Package org.xbill.DNS
Class AFSDBRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.AFSDBRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
AFS Data Base Record - maps a domain name to the name of an AFS cell database server.
- Author:
- Brian Wellington
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAFSDBRecord(Name name, int dclass, long ttl, int subtype, Name host) Creates an AFSDB Record from the given data. -
Method Summary
Modifier and TypeMethodDescriptiongetHost()Gets the host providing service for the domain.protected NameintGets the subtype indicating the service provided by the host.protected intprotected voidrdataFromString(Tokenizer st, Name origin) Converts the text format of an RR to the internal format - must be overridenprotected voidrrFromWire(DNSInput in) Converts the type-specific RR to wire format - must be overriddenprotected StringConverts the type-specific RR to text format - must be overridden.protected voidrrToWire(DNSOutput out, Compression c, boolean canonical) Converts the type-specific RR to wire format - must be overridden.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, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
-
Field Details
-
u16Field
protected int u16Field -
nameField
-
-
Constructor Details
-
AFSDBRecord
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
Gets the host providing service for the domain. -
rrFromWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden- Specified by:
rrFromWirein classRecord- Throws:
IOException
-
rdataFromString
Description copied from class:RecordConverts the text format of an RR to the internal format - must be overriden- Specified by:
rdataFromStringin classRecord- Throws:
IOException
-
rrToString
Description copied from class:RecordConverts the type-specific RR to text format - must be overridden.- Specified by:
rrToStringin classRecord
-
getU16Field
protected int getU16Field() -
getNameField
-
rrToWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden.
-