public class Ofdpa3SetQosIndex
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
| Modifier | Constructor and Description |
|---|---|
protected |
Ofdpa3SetQosIndex()
Constructs a new set Qos index instruction.
|
|
Ofdpa3SetQosIndex(int qosindex)
Constructs a new set Qos index instruction with a given int.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
boolean |
equals(Object obj) |
int |
hashCode() |
int |
qosIndex()
Gets the Qos index as int.
|
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValueprotected Ofdpa3SetQosIndex()
public Ofdpa3SetQosIndex(int qosindex)
qosindex - Qos index as integerpublic int qosIndex()
public org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
type in interface org.onosproject.net.flow.instructions.ExtensionTreatmentpublic void deserialize(byte[] data)
deserialize in interface org.onosproject.net.flow.Extensionpublic byte[] serialize()
serialize in interface org.onosproject.net.flow.Extension