public interface OFVendorDataFactory
| Modifier and Type | Method and Description |
|---|---|
OFVendorData |
getVendorData(OFVendorId vendorId,
OFVendorDataType vendorDataType)
Retrieves an OFVendorData instance corresponding to the specified
OFVendorId and OFVendorDataType.
|
OFVendorData |
parseVendorData(int vendorId,
org.jboss.netty.buffer.ChannelBuffer data,
int length)
Attempts to parse and return the OFVendorData contained in the given
ChannelBuffer, beginning right after the vendor id.
|
OFVendorData getVendorData(OFVendorId vendorId, OFVendorDataType vendorDataType)
vendorId - the vendorId of the containing OFVendor messagevendorDataType - the type of the OFVendorData to be retrievedOFVendorData parseVendorData(int vendorId, org.jboss.netty.buffer.ChannelBuffer data, int length)
vendorId - the vendor id that was parsed from the OFVendor message.data - the ChannelBuffer from which to parse the vendor datalength - the length to the end of the enclosing message.Copyright © 2015. All rights reserved.