Class SctpPortCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.SctpPortCriterion
-
-
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(Object obj)inthashCode()TpPortmask()Gets the mask for the SCTP port to match.TpPortsctpPort()Gets the SCTP port to match.StringtoString()Criterion.Typetype()Returns the type of criterion.
-
-
-
Method Detail
-
type
public Criterion.Type type()
Description copied from interface:CriterionReturns the type of criterion.
-
sctpPort
public TpPort sctpPort()
Gets the SCTP port to match.- Returns:
- the SCTP port to match
-
mask
public TpPort mask()
Gets the mask for the SCTP port to match.- Returns:
- the SCTP port mask, null if not specified
-
-