Class IPv6FlowLabelCriterion

  • All Implemented Interfaces:
    Criterion

    public final class IPv6FlowLabelCriterion
    extends java.lang.Object
    implements Criterion
    Implementation of IPv6 Flow Label (RFC 6437) criterion (20 bits unsigned integer).
    • Method Detail

      • type

        public Criterion.Type type()
        Description copied from interface: Criterion
        Returns the type of criterion.
        Specified by:
        type in interface Criterion
        Returns:
        type of criterion
      • flowLabel

        public int flowLabel()
        Gets the IPv6 flow label to match.
        Returns:
        the IPv6 flow label to match (20 bits)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object