Class MplsTcCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.MplsTcCriterion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.criteria.Criterion
Criterion.IPv6ExthdrFlags, Criterion.TcpFlags, Criterion.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
byte
tc()
Gets the MPLS TC to match.java.lang.String
toString()
Criterion.Type
type()
Returns the type of criterion.
-
-
-
Method Detail
-
type
public Criterion.Type type()
Description copied from interface:Criterion
Returns the type of criterion.
-
tc
public byte tc()
Gets the MPLS TC to match.- Returns:
- the MPLS TC to match (3 bits)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-