Class MplsTcCriterion

  • All Implemented Interfaces:
    Criterion

    public final class MplsTcCriterion
    extends Object
    implements Criterion
    Implementation of MPLS TC criterion (3 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
      • tc

        public byte tc()
        Gets the MPLS TC to match.
        Returns:
        the MPLS TC to match (3 bits)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object