Package org.xbill.DNS
Class RTRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.U16NameBase
org.xbill.DNS.RTRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
Route Through Record - lists a route preference and intermediate host.
- See Also:
-
Field Summary
Fields inherited from class org.xbill.DNS.U16NameBase
nameField, u16Field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the host to use as a router.intGets the preference of the route.Methods inherited from class org.xbill.DNS.U16NameBase
getNameField, getU16Field, rdataFromString, rrFromWire, rrToString, rrToWireMethods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
-
Constructor Details
-
RTRecord
RTRecord() -
RTRecord
Creates an RT Record from the given data- Parameters:
preference- The preference of the route. Smaller numbers indicate more preferred routes.intermediateHost- The domain name of the host to use as a router.
-
-
Method Details
-
getPreference
public int getPreference()Gets the preference of the route. -
getIntermediateHost
Gets the host to use as a router.
-