public class MBodyMeterFeatures extends OpenflowStructure implements MultipartBody
parseErrorCause, version
Constructor and Description |
---|
MBodyMeterFeatures(ProtocolVersion pv)
Constructs a multipart body MeterFeaturestype.
|
Modifier and Type | Method and Description |
---|---|
Set<MeterBandType> |
getBandTypes()
Returns the set of supported meter band types; Since 1.3.
|
Set<MeterFlag> |
getCapabilities()
Returns the set of meter capabilities; Since 1.3.
|
int |
getMaxBands()
Returns the maximum supported bands per meter; Since 1.3.
|
int |
getMaxColor()
Returns the maximum color value; Since 1.3.
|
long |
getMaxMeters()
Returns the maximum number of meters; Since 1.3.
|
int |
getTotalLength()
Returns the total length of the body, in bytes.
|
String |
toDebugString()
Returns a string representation useful for debugging.
|
String |
toDebugString(int indent)
Returns a multi-line representation of this Meter Features object.
|
String |
toString() |
getVersion, hex, hex, incomplete, parseErrorCause, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
validate
getVersion
public MBodyMeterFeatures(ProtocolVersion pv)
pv
- the protocol versionpublic int getTotalLength()
MultipartBody
getTotalLength
in interface MultipartBody
public String toString()
toString
in class OpenflowStructure
public String toDebugString()
OpenflowStructure
OpenflowStructure.toString()
, but
subclasses are free to override this behavior.toDebugString
in interface Structure
toDebugString
in class OpenflowStructure
public String toDebugString(int indent)
indent
- the additional indent (number of spaces)public long getMaxMeters()
public Set<MeterBandType> getBandTypes()
public Set<MeterFlag> getCapabilities()
public int getMaxBands()
public int getMaxColor()
Copyright © 2015. All Rights Reserved.