public class DefaultMoveExtensionTreatment extends org.onosproject.net.flow.AbstractExtension implements MoveExtensionTreatment
| Constructor and Description |
|---|
DefaultMoveExtensionTreatment(int srcOfs,
int dstOfs,
int nBits,
int src,
int dst,
org.onosproject.net.flow.instructions.ExtensionTreatmentType type)
Creates a new move Treatment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
int |
dst()
Returns DST field of move extension action.
|
int |
dstOffset()
Returns DST_OFS field of move extension action.
|
boolean |
equals(Object obj) |
int |
hashCode() |
int |
nBits()
Returns N_BITS field of move extension action.
|
byte[] |
serialize() |
int |
src()
Returns SRC field of move extension action.
|
int |
srcOffset()
Returns SRC_OFS field of move extension action.
|
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
getProperties, getPropertyValue, setPropertyValuepublic DefaultMoveExtensionTreatment(int srcOfs,
int dstOfs,
int nBits,
int src,
int dst,
org.onosproject.net.flow.instructions.ExtensionTreatmentType type)
srcOfs - source offsetdstOfs - destination offsetnBits - nbitssrc - sourcedst - destinationtype - extension treatment typepublic org.onosproject.net.flow.instructions.ExtensionTreatmentType type()
type in interface org.onosproject.net.flow.instructions.ExtensionTreatmentpublic byte[] serialize()
serialize in interface org.onosproject.net.flow.Extensionpublic void deserialize(byte[] data)
deserialize in interface org.onosproject.net.flow.Extensionpublic int srcOffset()
MoveExtensionTreatmentsrcOffset in interface MoveExtensionTreatmentpublic int dstOffset()
MoveExtensionTreatmentdstOffset in interface MoveExtensionTreatmentpublic int src()
MoveExtensionTreatmentsrc in interface MoveExtensionTreatmentpublic int dst()
MoveExtensionTreatmentdst in interface MoveExtensionTreatmentpublic int nBits()
MoveExtensionTreatmentnBits in interface MoveExtensionTreatment