org.openflow.protocol.factory
Interface OFTableFeaturesPropertyFactory

All Known Implementing Classes:
BasicFactory, FloodlightFactory

public interface OFTableFeaturesPropertyFactory

The interface to factories used for retrieving OFTableFeaturesProperty instances. All methods are expected to be thread-safe.

Author:
Srini Seetharaman (srini.seetharaman@gmail.com)

Method Summary
 OFTableFeaturesProperty getTableFeaturesProperty(OFTableFeaturesPropertyType t)
          Retrieves an OFTableFeaturesProperty instance corresponding to the specified OFTableFeaturesPropertyType
 java.util.List<OFTableFeaturesProperty> parseTableFeaturesProperties(java.nio.ByteBuffer data, int length)
          Attempts to parse and return all OFTableFeaturesProperties contained in the given ByteBuffer, beginning at the ByteBuffer's position, and ending at position+length.
 java.util.List<OFTableFeaturesProperty> parseTableFeaturesProperties(java.nio.ByteBuffer data, int length, int limit)
          Attempts to parse and return all OFTableFeaturesProperties contained in the given ByteBuffer, beginning at the ByteBuffer's position, and ending at position+length.
 

Method Detail

getTableFeaturesProperty

OFTableFeaturesProperty getTableFeaturesProperty(OFTableFeaturesPropertyType t)
Retrieves an OFTableFeaturesProperty instance corresponding to the specified OFTableFeaturesPropertyType

Parameters:
t - the type of the OFTableFeaturesProperty to be retrieved
Returns:
an OFTableFeaturesProperty instance

parseTableFeaturesProperties

java.util.List<OFTableFeaturesProperty> parseTableFeaturesProperties(java.nio.ByteBuffer data,
                                                                     int length)
Attempts to parse and return all OFTableFeaturesProperties contained in the given ByteBuffer, beginning at the ByteBuffer's position, and ending at position+length.

Parameters:
data - the ByteBuffer to parse for OpenFlow OFTableFeaturesProperties
length - the number of Bytes to examine for OpenFlow OFTableFeaturesProperties
Returns:
a list of OFTableFeaturesProperty instances

parseTableFeaturesProperties

java.util.List<OFTableFeaturesProperty> parseTableFeaturesProperties(java.nio.ByteBuffer data,
                                                                     int length,
                                                                     int limit)
Attempts to parse and return all OFTableFeaturesProperties contained in the given ByteBuffer, beginning at the ByteBuffer's position, and ending at position+length.

Parameters:
data - the ByteBuffer to parse for OpenFlow OFTableFeaturesProperties
length - the number of Bytes to examine for OpenFlow OFTableFeaturesProperties
limit - the maximum number of OFTableFeaturesProperties to return, 0 means no limit
Returns:
a list of OFTableFeaturesProperty instances