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 SummaryConstructors Constructor Description UnresolvedExtensionSelector(byte[] arraybyte, ExtensionSelectorType type)Creates a new unresolved extension selector with given data in byte form.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(byte[] data)Deserialize the extension from a byte array.booleanequals(java.lang.Object obj)inthashCode()byte[]serialize()Serialize the extension to a byte array.java.lang.StringtoString()ExtensionSelectorTypetype()Gets the type of the extension selector.- 
Methods inherited from class org.onosproject.net.flow.AbstractExtensiongetProperties, getPropertyValue, setPropertyValue
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.onosproject.net.flow.ExtensiongetProperties, getPropertyValue, setPropertyValue
 
- 
 
- 
- 
- 
Constructor Detail- 
UnresolvedExtensionSelectorpublic UnresolvedExtensionSelector(byte[] arraybyte, ExtensionSelectorType type)Creates a new unresolved extension selector with given data in byte form.- Parameters:
- arraybyte- byte data for the extension selector
- type- unresolved extension data type
 
 
- 
 - 
Method Detail- 
serializepublic byte[] serialize() Description copied from interface:ExtensionSerialize the extension to a byte array.
 - 
deserializepublic 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 interface- Extension
- Parameters:
- data- input byte array
 
 - 
typepublic ExtensionSelectorType type() Description copied from interface:ExtensionSelectorGets the type of the extension selector.- Specified by:
- typein interface- ExtensionSelector
- Returns:
- type
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-