Class OduSignalTypeCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.OduSignalTypeCriterion
-
- All Implemented Interfaces:
Criterion
public final class OduSignalTypeCriterion extends java.lang.Object implements Criterion
Implementation of ODU (Optical channel Data Unit) signal Type criterion. This criterion is based on the specification of "OFPXMT_EXP_ODU_SIGTYPE" 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 boolean
equals(java.lang.Object obj)
int
hashCode()
OduSignalType
signalType()
Returns the ODU Signal Type 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.
-
signalType
public OduSignalType signalType()
Returns the ODU Signal Type to match.- Returns:
- the ODU signal Type to match
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-