Class Icmpv6TypeCriterion

  • All Implemented Interfaces:
    Criterion

    public final class Icmpv6TypeCriterion
    extends java.lang.Object
    implements Criterion
    Implementation of ICMPv6 type criterion (8 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
      • icmpv6Type

        public short icmpv6Type()
        Gets the ICMPv6 type to match.
        Returns:
        the ICMPv6 type to match (8 bits unsigned integer)
      • 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