|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OFStatisticsFactory
The interface to factories used for retrieving OFStatistics instances. All methods are expected to be thread-safe.
Method Summary | |
---|---|
OFStatistics |
getStatistics(OFType t,
OFStatisticsType st)
Retrieves an OFStatistics instance corresponding to the specified OFStatisticsType |
java.util.List<OFStatistics> |
parseStatistics(OFType t,
OFStatisticsType st,
java.nio.ByteBuffer data,
int length)
Attempts to parse and return all OFStatistics contained in the given ByteBuffer, beginning at the ByteBuffer's position, and ending at position+length. |
java.util.List<OFStatistics> |
parseStatistics(OFType t,
OFStatisticsType st,
java.nio.ByteBuffer data,
int length,
int limit)
Attempts to parse and return all OFStatistics contained in the given ByteBuffer, beginning at the ByteBuffer's position, and ending at position+length. |
Method Detail |
---|
OFStatistics getStatistics(OFType t, OFStatisticsType st)
t
- the type of the containing OFMessage, only accepts statistics
request or replyst
- the type of the OFStatistics to be retrieved
java.util.List<OFStatistics> parseStatistics(OFType t, OFStatisticsType st, java.nio.ByteBuffer data, int length)
t
- the type of the containing OFMessage, only accepts statistics
request or replyst
- the type of the OFStatistics to be retrieveddata
- the ByteBuffer to parse for OpenFlow Statisticslength
- the number of Bytes to examine for OpenFlow Statistics
java.util.List<OFStatistics> parseStatistics(OFType t, OFStatisticsType st, java.nio.ByteBuffer data, int length, int limit)
t
- the type of the containing OFMessage, only accepts statistics
request or replyst
- the type of the OFStatistics to be retrieveddata
- the ByteBuffer to parse for OpenFlow Statisticslength
- the number of Bytes to examine for OpenFlow Statisticslimit
- the maximum number of messages to return, 0 means no limit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |