public abstract class Instruction extends OpenflowStructure
parseErrorCause, version
Modifier and Type | Method and Description |
---|---|
InstructionType |
getInstructionType()
Returns the Instruction type.
|
int |
getTotalLength()
Returns the total length of the instruction in bytes.
|
String |
toDebugString()
Returns a string representation useful for debugging.
|
String |
toDebugString(int indent)
Returns a string representation useful for debugging.
|
String |
toString() |
getVersion, hex, hex, incomplete, parseErrorCause, validate
public int getTotalLength()
public String toString()
toString
in class OpenflowStructure
public String toDebugString(int indent)
toString()
, but
subclasses are free to override this behavior.indent
- the number of spaces with which to prefix each linepublic String toDebugString()
toString()
, but
subclasses are free to override this behavior.toDebugString
in interface Structure
toDebugString
in class OpenflowStructure
public InstructionType getInstructionType()
Copyright © 2015. All Rights Reserved.