Class OduSignalIdCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.OduSignalIdCriterion
-
- All Implemented Interfaces:
Criterion
public final class OduSignalIdCriterion extends java.lang.Object implements Criterion
Implementation of ODU (Optical channel Data Unit) signal ID signal criterion. This criterion is based on the specification of "OFPXMT_EXP_ODU_SIGID" in Open Networking Foundation "Optical Transport Protocol Extension Version 1.0", but defined in protocol agnostic way.
-
-
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 booleanequals(java.lang.Object obj)inthashCode()OduSignalIdoduSignalId()Returns the ODU Signal to match.java.lang.StringtoString()Criterion.Typetype()Returns the type of criterion.
-
-
-
Method Detail
-
type
public Criterion.Type type()
Description copied from interface:CriterionReturns the type of criterion.
-
oduSignalId
public OduSignalId oduSignalId()
Returns the ODU Signal to match.- Returns:
- the ODU signal to match
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-