|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OFVendorDataFactory
The interface to factories used for parsing/creating OFVendorData instances. All methods are expected to be thread-safe.
| Method Summary | |
|---|---|
OFVendorData |
getVendorData(OFVendorId vendorId,
OFVendorDataType vendorDataType)
Retrieves an OFVendorData instance corresponding to the specified OFVendorId and OFVendorDataType. |
OFVendorData |
parseVendorData(int vendorId,
java.nio.ByteBuffer data,
int length)
Attempts to parse and return the OFVendorData contained in the given ByteBuffer, beginning right after the vendor id. |
| Method Detail |
|---|
OFVendorData getVendorData(OFVendorId vendorId,
OFVendorDataType vendorDataType)
vendorId - the vendorId of the containing OFVendor messagevendorDataType - the type of the OFVendorData to be retrieved
OFVendorData parseVendorData(int vendorId,
java.nio.ByteBuffer data,
int length)
vendorId - the vendor id that was parsed from the OFVendor message.data - the ByteBuffer from which to parse the vendor datalength - the length to the end of the enclosing message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||