public final class NiciraMatchNshContextHeader
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.criteria.ExtensionSelector
| Constructor and Description |
|---|
NiciraMatchNshContextHeader(org.onosproject.net.flow.criteria.ExtensionSelectorType type)
Constructor to create Nsh context header.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
boolean |
equals(Object obj) |
int |
hashCode() |
org.onosproject.net.NshContextHeader |
nshContextHeader()
Gets the nsh context header to match.
|
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.criteria.ExtensionSelectorType |
type() |
getProperties, getPropertyValue, setPropertyValuepublic NiciraMatchNshContextHeader(org.onosproject.net.flow.criteria.ExtensionSelectorType type)
type - extension selector typepublic org.onosproject.net.NshContextHeader nshContextHeader()
public byte[] serialize()
serialize in interface org.onosproject.net.flow.Extensionpublic void deserialize(byte[] data)
deserialize in interface org.onosproject.net.flow.Extensionpublic org.onosproject.net.flow.criteria.ExtensionSelectorType type()
type in interface org.onosproject.net.flow.criteria.ExtensionSelector