public class MBodyGroupFeatures extends OpenflowStructure implements MultipartBody
version| Constructor and Description |
|---|
MBodyGroupFeatures(ProtocolVersion pv)
Constructs a multipart body GroupFeatures type.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ActionType> |
getActionsForType(GroupType type)
Returns the set of supported actions for the given group type; since 1.2.
|
Set<GroupCapability> |
getCapabilities()
Returns the set of supported group capabilities; since 1.2.
|
long |
getMaxGroupsForType(GroupType type)
Returns the maximum number of groups for the given group type; since 1.2.
|
int |
getTotalLength()
Returns the total length of the body, in bytes.
|
Set<GroupType> |
getTypes()
Returns the set of supported group types; since 1.2.
|
String |
toDebugString()
Returns a string representation useful for debugging.
|
String |
toDebugString(int indent)
Returns a multi-line representation of this Group Features object.
|
String |
toString() |
getVersion, hex, hex, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalidategetVersionpublic MBodyGroupFeatures(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 Set<GroupType> getTypes()
public Set<GroupCapability> getCapabilities()
public long getMaxGroupsForType(GroupType type)
type - the group typepublic Set<ActionType> getActionsForType(GroupType type)
type - the group typeCopyright © 2014. All Rights Reserved.