Class IPDscpCriterion

  • All Implemented Interfaces:
    Criterion

    public final class IPDscpCriterion
    extends Object
    implements Criterion
    Implementation of IP DSCP (Differentiated Services Code Point) criterion (6 bits).
    • 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
      • ipDscp

        public byte ipDscp()
        Gets the IP DSCP value to match.
        Returns:
        the IP DSCP value to match
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object