public class MBodyFlowStatsRequest extends OpenflowStructure implements MultipartBody
version| Constructor and Description |
|---|
MBodyFlowStatsRequest(ProtocolVersion pv)
Constructs a multipart body FLOW type request.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getCookie()
Returns the cookie value that flow entries are required to
match; Since 1.1.
|
long |
getCookieMask()
Returns the mask used to restrict the cookie bits that must match;
Since 1.1.
|
Match |
getMatch()
Returns the match describing the fields that flow entries should
match; Since 1.0.
|
GroupId |
getOutGroup()
Returns the output group that flow entries are required to
match; Since 1.1.
|
BigPortNumber |
getOutPort()
Returns the output port that flow entries are required to
match; Since 1.0.
|
TableId |
getTableId()
Returns the ID of the table to read; Since 1.0.
|
int |
getTotalLength()
Returns the total length of the body, in bytes.
|
String |
toDebugString()
Returns a string representation useful for debugging.
|
String |
toString() |
void |
validate()
Validates this structure for completeness and throws an exception
if the structure is considered "not complete".
|
getVersion, hex, hexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersionpublic MBodyFlowStatsRequest(ProtocolVersion pv)
pv - the protocol versionpublic 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 void validate()
throws IncompleteStructureException
OpenflowStructureThis default implementation does nothing, i.e. default behavior is that structures are considered complete.
Subclasses should override this method to check that mandatory fields or other internal state is present, throwing an exception if it is not.
validate in interface MultipartBodyvalidate in class OpenflowStructureIncompleteStructureException - if the structure is not completepublic int getTotalLength()
MultipartBodygetTotalLength in interface MultipartBodypublic TableId getTableId()
A value of TableId.ALL indicates all tables.
public BigPortNumber getOutPort()
A value of Port.ANY indicates no restriction.
public GroupId getOutGroup()
A value of GroupId.ALL indicates no restriction.
For 1.0, this method will always return null.
public long getCookie()
For 1.0, this method will always return 0.
getCookieMask()public long getCookieMask()
A value of 0 indicates no restriction.
For 1.0, this method will always return 0.
getCookie()public Match getMatch()
Copyright © 2014. All Rights Reserved.