Interface RoaPrefixData
-
- All Superinterfaces:
Comparable<RoaPrefixData>
- All Known Implementing Classes:
AllowedRoute
public interface RoaPrefixData extends Comparable<RoaPrefixData>
Represents a Validated Roa Prefix
-
-
Field Summary
Fields Modifier and Type Field Description static Comparator<RoaPrefixData>ROA_PREFIX_DATA_COMPARATOR
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intcompareTo(RoaPrefixData o)net.ripe.ipresource.AsngetAsn()intgetMaximumLength()net.ripe.ipresource.IpRangegetPrefix()default AllowedRoutetoAllowedRoute()
-
-
-
Field Detail
-
ROA_PREFIX_DATA_COMPARATOR
static final Comparator<RoaPrefixData> ROA_PREFIX_DATA_COMPARATOR
-
-
Method Detail
-
getAsn
net.ripe.ipresource.Asn getAsn()
-
getPrefix
net.ripe.ipresource.IpRange getPrefix()
- Returns:
- The prefix of the entity. MUST be a prefix and not a IP range
-
getMaximumLength
int getMaximumLength()
- Returns:
- The maximum length of the VRP. The maximum length MUST be in the range (inclusive) between the prefix length and the length of addresses for the address family.
-
compareTo
default int compareTo(RoaPrefixData o)
- Specified by:
compareToin interfaceComparable<RoaPrefixData>
-
toAllowedRoute
default AllowedRoute toAllowedRoute()
-
-