public class NiciraLoad
extends org.onosproject.net.flow.AbstractExtension
implements org.onosproject.net.flow.instructions.ExtensionTreatment
| Constructor and Description |
|---|
NiciraLoad()
Empty constructor.
|
NiciraLoad(int ofsNbits,
long dst,
long value)
Creates a new load treatment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data) |
long |
dst()
Gets load destination.
|
boolean |
equals(Object o) |
int |
hashCode() |
int |
ofsNbits()
Gets load nBits.
|
byte[] |
serialize() |
String |
toString() |
org.onosproject.net.flow.instructions.ExtensionTreatmentType |
type() |
long |
value()
Gets load value.
|
getProperties, getPropertyValue, setPropertyValuepublic NiciraLoad()
public NiciraLoad(int ofsNbits,
long dst,
long value)
ofsNbits - off set and nBitsdst - destinationvalue - valuepublic int ofsNbits()
public long dst()
public long value()
public 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.Extension