Class UdpPortCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.UdpPortCriterion
-
-
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(Object obj)
int
hashCode()
TpPort
mask()
Gets the mask for the UDP port to match.String
toString()
Criterion.Type
type()
Returns the type of criterion.TpPort
udpPort()
Gets the UDP port to match.
-
-
-
Method Detail
-
type
public Criterion.Type type()
Description copied from interface:Criterion
Returns the type of criterion.
-
udpPort
public TpPort udpPort()
Gets the UDP port to match.- Returns:
- the UDP port to match
-
mask
public TpPort mask()
Gets the mask for the UDP port to match.- Returns:
- the UDP port mask, null if not specified
-
-