Criterion.IPv6ExthdrFlags, Criterion.TcpFlags, Criterion.Type
Constructor and Description |
---|
ExtensionCriterion(ExtensionSelector extensionSelector,
DeviceId deviceId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DeviceId |
deviceId()
Returns the device ID.
|
boolean |
equals(java.lang.Object obj) |
ExtensionSelector |
extensionSelector()
Returns the extension selector.
|
int |
hashCode() |
java.lang.String |
toString() |
Criterion.Type |
type()
Returns the type of criterion.
|
public ExtensionCriterion(ExtensionSelector extensionSelector, DeviceId deviceId)
extensionSelector
- extension selectordeviceId
- device identificationpublic ExtensionSelector extensionSelector()
public DeviceId deviceId()
public Criterion.Type type()
Criterion
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object