public class Match extends OpenflowStructure
version| Constructor and Description |
|---|
Match(ProtocolVersion pv,
MatchType matchType,
int length,
List<MatchField> fileds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<MatchField> |
fieldList()
Returns the fields in spec-defined order.
|
List<MatchField> |
getMatchFields()
Returns the list of match fields, in the order they were defined
in the match structure.
|
int |
getMatchLength() |
MatchType |
getMatchType()
Returns the Match type.
|
int |
getTotalLength()
Returns the total length of the match structure in bytes,
including the padding to take the structure out to the
nearest 64-bit boundary.
|
int |
hashCode() |
String |
toDebugString()
Returns a multi-line representation of this Match structure.
|
String |
toDebugString(int indent)
Returns a multi-line representation of this Match structure.
|
String |
toString() |
getVersion, hex, hex, validatepublic Match(ProtocolVersion pv, MatchType matchType, int length, List<MatchField> fileds)
public int getTotalLength()
public String toString()
toString in class OpenflowStructurepublic List<MatchField> fieldList()
public String toDebugString(int indent)
indent - a short string to prefix each linepublic String toDebugString()
toDebugString in interface StructuretoDebugString in class OpenflowStructurepublic MatchType getMatchType()
public int getMatchLength()
public List<MatchField> getMatchFields()
Copyright © 2014. All Rights Reserved.