Class RoaPrefix

    • Constructor Detail

      • RoaPrefix

        public RoaPrefix​(net.ripe.ipresource.IpRange prefix)
      • RoaPrefix

        public RoaPrefix​(net.ripe.ipresource.IpRange prefix,
                         Integer maximumLength)
        Instantiate an RoaPrefix.
        Parameters:
        prefix - prefix of the ROA
        maximumLength - maximumLength of the ROA
    • Method Detail

      • getPrefix

        public net.ripe.ipresource.IpRange getPrefix()
      • getMaximumLength

        public Integer getMaximumLength()
        Return the maximum length as specified in the structure of the ROA. Needed to exactly represent a decoded ROA. When consuming these objects, use getEffectiveMaximumLength() where possible.
      • getEffectiveMaximumLength

        public int getEffectiveMaximumLength()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object