org.openflow.protocol.vendor
Interface OFVendorData

All Known Implementing Classes:
OFBigSwitchVendorData, OFBsnL2TableSetVendorData, OFBsnL2TableVendorData, OFBsnPktinSuppressionSetRequestVendorData, OFByteArrayVendorData, OFInterfaceIPReplyVendorData, OFInterfaceIPRequestVendorData, OFMirrorGetVendorDataReply, OFMirrorGetVendorDataRequest, OFMirrorSetVendorData, OFNetmaskGetVendorDataReply, OFNetmaskGetVendorDataRequest, OFNetmaskSetVendorData, OFNetmaskVendorData, OFNiciraVendorData, OFOpenFlowVendorData, OFQueueDeleteVendorData, OFQueueModifyVendorData, OFQueueVendorData, OFRoleReplyVendorData, OFRoleRequestVendorData, OFRoleVendorData

public interface OFVendorData

The base class for all vendor data.

Author:
Rob Vaterlaus (rob.vaterlaus@bigswitch.com)

Method Summary
 int getLength()
           
 void readFrom(java.nio.ByteBuffer data, int length)
          Read the vendor data from the specified ByteBuffer
 void writeTo(java.nio.ByteBuffer data)
          Write the vendor data to the specified ByteBuffer
 

Method Detail

getLength

int getLength()
Returns:
length of the data

readFrom

void readFrom(java.nio.ByteBuffer data,
              int length)
Read the vendor data from the specified ByteBuffer

Parameters:
data -

writeTo

void writeTo(java.nio.ByteBuffer data)
Write the vendor data to the specified ByteBuffer

Parameters:
data -