Class ExtensionCriterion
- java.lang.Object
-
- org.onosproject.net.flow.criteria.ExtensionCriterion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.criteria.Criterion
Criterion.IPv6ExthdrFlags, Criterion.TcpFlags, Criterion.Type
-
-
Constructor Summary
Constructors Constructor Description ExtensionCriterion(ExtensionSelector extensionSelector, DeviceId deviceId)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceIddeviceId()Returns the device ID.booleanequals(java.lang.Object obj)ExtensionSelectorextensionSelector()Returns the extension selector.inthashCode()java.lang.StringtoString()Criterion.Typetype()Returns the type of criterion.
-
-
-
Constructor Detail
-
ExtensionCriterion
public ExtensionCriterion(ExtensionSelector extensionSelector, DeviceId deviceId)
Constructor.- Parameters:
extensionSelector- extension selectordeviceId- device identification
-
-
Method Detail
-
extensionSelector
public ExtensionSelector extensionSelector()
Returns the extension selector.- Returns:
- extension selector
-
deviceId
public DeviceId deviceId()
Returns the device ID.- Returns:
- device ID
-
type
public Criterion.Type type()
Description copied from interface:CriterionReturns the type of criterion.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-