Class TcpPortCriterion
- java.lang.Object
- 
- org.onosproject.net.flow.criteria.TcpPortCriterion
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.onosproject.net.flow.criteria.CriterionCriterion.IPv6ExthdrFlags, Criterion.TcpFlags, Criterion.Type
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()TpPortmask()Gets the mask for the TCP port to match.TpPorttcpPort()Gets the TCP port to match.StringtoString()Criterion.Typetype()Returns the type of criterion.
 
- 
- 
- 
Method Detail- 
typepublic Criterion.Type type() Description copied from interface:CriterionReturns the type of criterion.
 - 
tcpPortpublic TpPort tcpPort() Gets the TCP port to match.- Returns:
- the TCP port to match
 
 - 
maskpublic TpPort mask() Gets the mask for the TCP port to match.- Returns:
- the TCP port mask, null if not specified
 
 
- 
 
-