Class PortCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.PortCriterion
-
-
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()PortNumberport()Gets the input port number 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.
-
port
public PortNumber port()
Gets the input port number to match.- Returns:
- the input port number to match
-
-