com.bigswitch.floodlight.vendor
Class OFBigSwitchVendorActionFactory

java.lang.Object
  extended by com.bigswitch.floodlight.vendor.OFBigSwitchVendorActionFactory
All Implemented Interfaces:
OFVendorActionFactory

public class OFBigSwitchVendorActionFactory
extends java.lang.Object
implements OFVendorActionFactory


Field Summary
protected static org.slf4j.Logger logger
           
 
Constructor Summary
OFBigSwitchVendorActionFactory()
           
 
Method Summary
 OFActionVendor readFrom(java.nio.ByteBuffer data)
          parse the data from the wire, create and return a vendor-specific action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.slf4j.Logger logger
Constructor Detail

OFBigSwitchVendorActionFactory

public OFBigSwitchVendorActionFactory()
Method Detail

readFrom

public OFActionVendor readFrom(java.nio.ByteBuffer data)
Description copied from interface: OFVendorActionFactory
parse the data from the wire, create and return a vendor-specific action.

Specified by:
readFrom in interface OFVendorActionFactory
Parameters:
data - contains a serialized vendor action at the current readerPosition. The full message is guaranteed to be available in the buffer.
Returns:
upon success returns a newly allocated vendor-specific action instance, and advances the readerPosition in data for the entire length. Upon failure, returns null and leaves the readerPosition in data unmodified.