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 DeviceId
deviceId()
Returns the device ID.boolean
equals(Object obj)
ExtensionSelector
extensionSelector()
Returns the extension selector.int
hashCode()
String
toString()
Criterion.Type
type()
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:Criterion
Returns the type of criterion.
-
-