public class RTRecord extends Record
Modifier and Type | Field and Description |
---|---|
protected Name |
nameField |
protected int |
u16Field |
Constructor and Description |
---|
RTRecord(Name name,
int dclass,
long ttl,
int preference,
Name intermediateHost)
Creates an RT Record from the given data
|
Modifier and Type | Method and Description |
---|---|
Name |
getIntermediateHost()
Gets the host to use as a router.
|
protected Name |
getNameField() |
int |
getPreference()
Gets the preference of the route.
|
protected int |
getU16Field() |
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
protected int u16Field
protected Name nameField
public RTRecord(Name name, int dclass, long ttl, int preference, Name intermediateHost)
preference
- The preference of the route. Smaller numbers indicate
more preferred routes.intermediateHost
- The domain name of the host to use as a router.Copyright © 2015. All Rights Reserved.