Class IcmpTypeCriterion

  • All Implemented Interfaces:
    Criterion

    public final class IcmpTypeCriterion
    extends Object
    implements Criterion
    Implementation of ICMP 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
      • icmpType

        public short icmpType()
        Gets the ICMP type to match.
        Returns:
        the ICMP type to match (8 bits unsigned integer)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object