Class UnresolvedExtensionSelector
- java.lang.Object
-
- org.onosproject.net.flow.AbstractExtension
-
- org.onosproject.net.flow.criteria.UnresolvedExtensionSelector
-
- All Implemented Interfaces:
ExtensionSelector,Extension
public class UnresolvedExtensionSelector extends AbstractExtension implements ExtensionSelector
Unresolved extension selector.
-
-
Constructor Summary
Constructors Constructor Description UnresolvedExtensionSelector(byte[] arraybyte, ExtensionSelectorType type)Creates a new unresolved extension selector with given data in byte form.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(byte[] data)Deserialize the extension from a byte array.booleanequals(Object obj)inthashCode()byte[]serialize()Serialize the extension to a byte array.StringtoString()ExtensionSelectorTypetype()Gets the type of the extension selector.-
Methods inherited from class org.onosproject.net.flow.AbstractExtension
getProperties, getPropertyValue, setPropertyValue
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.onosproject.net.flow.Extension
getProperties, getPropertyValue, setPropertyValue
-
-
-
-
Constructor Detail
-
UnresolvedExtensionSelector
public UnresolvedExtensionSelector(byte[] arraybyte, ExtensionSelectorType type)Creates a new unresolved extension selector with given data in byte form.- Parameters:
arraybyte- byte data for the extension selectortype- unresolved extension data type
-
-
Method Detail
-
serialize
public byte[] serialize()
Description copied from interface:ExtensionSerialize the extension to a byte array.
-
deserialize
public void deserialize(byte[] data)
Description copied from interface:ExtensionDeserialize the extension from a byte array. The properties of this object will be overwritten with the data in the byte array.- Specified by:
deserializein interfaceExtension- Parameters:
data- input byte array
-
type
public ExtensionSelectorType type()
Description copied from interface:ExtensionSelectorGets the type of the extension selector.- Specified by:
typein interfaceExtensionSelector- Returns:
- type
-
-