public class RTRecord extends U16NameBase
nameField, 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.
|
int |
getPreference()
Gets the preference of the route.
|
getNameField, getU16FieldbyteArrayFromString, byteArrayToString, checkByteArrayLength, checkU16, checkU32, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withNamepublic 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.public int getPreference()
public Name getIntermediateHost()
Copyright © 2021 McEvoy Software Ltd. All rights reserved.