org.openflow.protocol.action
Class OFActionVendor
java.lang.Object
org.openflow.protocol.action.OFAction
org.openflow.protocol.action.OFActionVendor
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- OFActionBigSwitchVendor, OFActionNiciraVendor
public class OFActionVendor
- extends OFAction
- Author:
- David Erickson (daviderickson@cs.stanford.edu), James Hongyi Zeng (hyzeng@stanford.edu)
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MINIMUM_LENGTH
public static int MINIMUM_LENGTH
vendor
protected int vendor
data
protected byte[] data
OFActionVendor
public OFActionVendor()
getVendor
public int getVendor()
- Returns:
- the vendor
setVendor
public OFActionVendor setVendor(int vendor)
- Parameters:
vendor
- the vendor to set
readFrom
public void readFrom(java.nio.ByteBuffer data)
- Overrides:
readFrom
in class OFAction
writeTo
public void writeTo(java.nio.ByteBuffer data)
- Overrides:
writeTo
in class OFAction
hashCode
public int hashCode()
- Overrides:
hashCode
in class OFAction
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OFAction
getData
public byte[] getData()
- Returns:
- the data
setData
public void setData(byte[] data)
- Parameters:
data
- the data to set