public class Ofdpa3SetMplsType
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
| Modifier | Constructor and Description |
|---|---|
protected |
Ofdpa3SetMplsType()
Constructs a new set MPLS type instruction.
|
|
Ofdpa3SetMplsType(Ofdpa3MplsType mplsType)
Constructs a new set MPLS type instruction with given type.
|
|
Ofdpa3SetMplsType(short mplsType)
Constructs a new set MPLS type instruction with given type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
boolean |
equals(Object obj) |
int |
hashCode() |
short |
mplsType()
Gets the MPLS type.
|
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValueprotected Ofdpa3SetMplsType()
public Ofdpa3SetMplsType(short mplsType)
mplsType - MPLS type in shortpublic Ofdpa3SetMplsType(Ofdpa3MplsType mplsType)
mplsType - Ofdpa3MplsTypepublic short mplsType()
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