Class UnresolvedExtensionTreatment
- java.lang.Object
- 
- org.onosproject.net.flow.AbstractExtension
- 
- org.onosproject.net.flow.instructions.UnresolvedExtensionTreatment
 
 
- 
- All Implemented Interfaces:
- Extension,- ExtensionTreatment
 
 public class UnresolvedExtensionTreatment extends AbstractExtension implements ExtensionTreatment Unresolved extension treatment.
- 
- 
Constructor SummaryConstructors Constructor Description UnresolvedExtensionTreatment(byte[] arraybyte, ExtensionTreatmentType type)Creates a new unresolved extension treatment 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(Object obj)inthashCode()byte[]serialize()Serialize the extension to a byte array.StringtoString()ExtensionTreatmentTypetype()Gets the type of the treatment extension.- 
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- 
UnresolvedExtensionTreatmentpublic UnresolvedExtensionTreatment(byte[] arraybyte, ExtensionTreatmentType type)Creates a new unresolved extension treatment with given data in byte form.- Parameters:
- arraybyte- byte data for treatment
- type- unresolved extension data type
 
 
- 
 - 
Method Detail- 
typepublic ExtensionTreatmentType type() Description copied from interface:ExtensionTreatmentGets the type of the treatment extension.- Specified by:
- typein interface- ExtensionTreatment
- Returns:
- type
 
 - 
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
 
 - 
serializepublic byte[] serialize() Description copied from interface:ExtensionSerialize the extension to a byte array.
 
- 
 
-