com.bigswitch.floodlight.vendor
Class OFInterfaceIPRequestVendorData
java.lang.Object
com.bigswitch.floodlight.vendor.OFBigSwitchVendorData
com.bigswitch.floodlight.vendor.OFInterfaceIPRequestVendorData
- All Implemented Interfaces:
- OFVendorData
public class OFInterfaceIPRequestVendorData
- extends OFBigSwitchVendorData
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
instantiable
protected static Instantiable<OFVendorData> instantiable
BSN_GET_INTERFACE_IP_REQUEST
public static final int BSN_GET_INTERFACE_IP_REQUEST
- Opcode/dataType to request IP addresses of all interfaces
- See Also:
- Constant Field Values
OFInterfaceIPRequestVendorData
public OFInterfaceIPRequestVendorData()
- Construct an interface IP request vendor data
getInstantiable
public static Instantiable<OFVendorData> getInstantiable()
- Returns:
- a subclass of Instantiable that instantiates
an instance of OFInterfaceIPRequestVendorData.
getLength
public int getLength()
- Description copied from class:
OFBigSwitchVendorData
- Get the length of the vendor data. This implementation will normally be
the superclass for another class that will override this to return the
overall vendor data length. This implementation just returns the length
of the part that includes the 4-byte integer data type value at the
beginning of the vendor data
- Specified by:
getLength
in interface OFVendorData
- Overrides:
getLength
in class OFBigSwitchVendorData
- Returns:
- the total length of the interface IP request message
the length is already accounted for in the super class
readFrom
public void readFrom(java.nio.ByteBuffer data,
int length)
- Read from the ByteBuffer
- Specified by:
readFrom
in interface OFVendorData
- Overrides:
readFrom
in class OFBigSwitchVendorData
- Parameters:
data
- the channel buffer from which we're deserializinglength
- the length to the end of the enclosing message
writeTo
public void writeTo(java.nio.ByteBuffer data)
- Write to the ByteBuffer
- Specified by:
writeTo
in interface OFVendorData
- Overrides:
writeTo
in class OFBigSwitchVendorData
- Parameters:
data
- the channel buffer to which we're serializing