com.bigswitch.floodlight.vendor
Class OFActionBigSwitchVendor

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

public abstract class OFActionBigSwitchVendor
extends OFActionVendor


Field Summary
static int BSN_VENDOR_ID
           
static int MINIMUM_LENGTH
           
protected  int 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 OFActionBigSwitchVendor(int subtype)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getSubtype()
           
 int hashCode()
           
 void readFrom(java.nio.ByteBuffer data)
           
 void setSubtype(int subtype)
           
 java.lang.String toString()
          Returns a summary of the message
 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MINIMUM_LENGTH

public static int MINIMUM_LENGTH

BSN_VENDOR_ID

public static int BSN_VENDOR_ID

subtype

protected int subtype
Constructor Detail

OFActionBigSwitchVendor

protected OFActionBigSwitchVendor(int subtype)
Method Detail

getSubtype

public int getSubtype()

setSubtype

public void setSubtype(int 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

toString

public java.lang.String toString()
Description copied from class: OFAction
Returns a summary of the message

Overrides:
toString in class OFAction
Returns:
"ofmsg=v=$version;t=$type:l=$len:xid=$xid"