public abstract class Action extends OpenflowStructure implements Comparable<Action>
version| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Action o)
Comparable implemented to sort actions according to their
decoded action type.
|
ActionType |
getActionType()
Returns the action type.
|
int |
getTotalLength()
Returns the total length of this action, 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, validatepublic String toString()
toString in class OpenflowStructurepublic 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 StructuretoDebugString in class OpenflowStructurepublic ActionType getActionType()
public int compareTo(Action o)
compareTo in interface Comparable<Action>o - the other actionpublic int getTotalLength()
Copyright © 2014. All Rights Reserved.