public interface OFStatisticsFactory
Modifier and Type | Method and Description |
---|---|
OFStatistics |
getStatistics(OFType t,
OFStatisticsType st)
Retrieves an OFStatistics instance corresponding to the specified
OFStatisticsType
|
List<OFStatistics> |
parseStatistics(OFType t,
OFStatisticsType st,
org.jboss.netty.buffer.ChannelBuffer 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.
|
List<OFStatistics> |
parseStatistics(OFType t,
OFStatisticsType st,
org.jboss.netty.buffer.ChannelBuffer 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.
|
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 retrievedList<OFStatistics> parseStatistics(OFType t, OFStatisticsType st, org.jboss.netty.buffer.ChannelBuffer 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 ChannelBuffer to parse for OpenFlow Statisticslength
- the number of Bytes to examine for OpenFlow StatisticsList<OFStatistics> parseStatistics(OFType t, OFStatisticsType st, org.jboss.netty.buffer.ChannelBuffer 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 ChannelBuffer to parse for OpenFlow Statisticslength
- the number of Bytes to examine for OpenFlow Statisticslimit
- the maximum number of messages to return, 0 means no limitCopyright © 2015. All rights reserved.