public class MBodyMeterFeatures extends OpenflowStructure implements MultipartBody
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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalidategetVersionpublic MBodyMeterFeatures(ProtocolVersion pv)
pv - the protocol versionpublic int getTotalLength()
MultipartBodygetTotalLength in interface MultipartBodypublic String toString()
toString in class OpenflowStructurepublic String toDebugString()
OpenflowStructureOpenflowStructure.toString(), but
subclasses are free to override this behavior.toDebugString in interface StructuretoDebugString in class OpenflowStructurepublic 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 © 2014. All Rights Reserved.