|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StatsType>
org.openflow.protocol.StatsType
public enum StatsType
Enumerates what types of stats are in the OpenFlow protocol. Equivalent to the OFPST_* constants.
| Enum Constant Summary | |
|---|---|
AGGREGATE
Aggregate flow statistics |
|
DESC
Description of this OpenFlow switch |
|
FLOW
Individual flow stats |
|
PORT
Physical port statistics |
|
TABLE
Flow table statistics |
|
VENDOR
Vendor extension |
|
| Method Summary | |
|---|---|
static StatsHeader |
decode(int len,
OFGMessageType t,
int xid,
java.io.DataInput in)
Constructs the object representing the received message. |
short |
getTypeID()
returns the special value used to identify this type |
static StatsType |
typeValToStatsType(short typeID)
Returns the OFGMessageType constant associated with typeID, if any |
static StatsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StatsType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final StatsType DESC
public static final StatsType FLOW
public static final StatsType AGGREGATE
public static final StatsType TABLE
public static final StatsType PORT
public static final StatsType VENDOR
| Method Detail |
|---|
public static StatsType[] values()
for (StatsType c : StatsType.values()) System.out.println(c);
public static StatsType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic short getTypeID()
public static StatsType typeValToStatsType(short typeID)
public static StatsHeader decode(int len,
OFGMessageType t,
int xid,
java.io.DataInput in)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||