com.bigswitch.floodlight.vendor
Class OFActionNiciraVendor

java.lang.Object
  extended by org.openflow.protocol.action.OFAction
      extended by org.openflow.protocol.action.OFActionVendor
          extended by com.bigswitch.floodlight.vendor.OFActionNiciraVendor
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
OFActionNiciraTtlDecrement

public class OFActionNiciraVendor
extends OFActionVendor

FIXME: this should really be handled by a consistent parse tree for different vendor actions but for the time being this works and gets the job done.

Author:
gregor

Field Summary
static int MINIMUM_LENGTH
           
static int NICIRA_VENDOR_ID
           
protected  short subtype
           
 
Fields inherited from class org.openflow.protocol.action.OFActionVendor
data, vendor
 
Fields inherited from class org.openflow.protocol.action.OFAction
length, OFFSET_LENGTH, OFFSET_TYPE, type
 
Constructor Summary
protected OFActionNiciraVendor(short subtype)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 short getSubtype()
           
 int hashCode()
           
 void readFrom(java.nio.ByteBuffer data)
           
 void setSubtype(short subtype)
           
 void writeTo(java.nio.ByteBuffer data)
           
 
Methods inherited from class org.openflow.protocol.action.OFActionVendor
getData, getVendor, setData, setVendor
 
Methods inherited from class org.openflow.protocol.action.OFAction
clone, fromString, getLength, getLengthU, getType, setLength, setType, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MINIMUM_LENGTH

public static int MINIMUM_LENGTH

NICIRA_VENDOR_ID

public static int NICIRA_VENDOR_ID

subtype

protected short subtype
Constructor Detail

OFActionNiciraVendor

protected OFActionNiciraVendor(short subtype)
Method Detail

getSubtype

public short getSubtype()

setSubtype

public void setSubtype(short subtype)

readFrom

public void readFrom(java.nio.ByteBuffer data)
Overrides:
readFrom in class OFActionVendor

writeTo

public void writeTo(java.nio.ByteBuffer data)
Overrides:
writeTo in class OFActionVendor

hashCode

public int hashCode()
Overrides:
hashCode in class OFActionVendor

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OFActionVendor