org.openflow.protocol
Enum OFFeaturesReply.OFCapabilities
java.lang.Object
java.lang.Enum<OFFeaturesReply.OFCapabilities>
org.openflow.protocol.OFFeaturesReply.OFCapabilities
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<OFFeaturesReply.OFCapabilities>
- Enclosing class:
- OFFeaturesReply
public static enum OFFeaturesReply.OFCapabilities
- extends java.lang.Enum<OFFeaturesReply.OFCapabilities>
Corresponds to bits on the capabilities field
Field Summary |
protected int |
value
|
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 |
OFPC_FLOW_STATS
public static final OFFeaturesReply.OFCapabilities OFPC_FLOW_STATS
OFPC_TABLE_STATS
public static final OFFeaturesReply.OFCapabilities OFPC_TABLE_STATS
OFPC_PORT_STATS
public static final OFFeaturesReply.OFCapabilities OFPC_PORT_STATS
OFPC_GROUP_STATS
public static final OFFeaturesReply.OFCapabilities OFPC_GROUP_STATS
OFPC_IP_REASM
public static final OFFeaturesReply.OFCapabilities OFPC_IP_REASM
OFPC_QUEUE_STATS
public static final OFFeaturesReply.OFCapabilities OFPC_QUEUE_STATS
OFPC_PORT_BLOCKED
public static final OFFeaturesReply.OFCapabilities OFPC_PORT_BLOCKED
value
protected int value
values
public static OFFeaturesReply.OFCapabilities[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (OFFeaturesReply.OFCapabilities c : OFFeaturesReply.OFCapabilities.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OFFeaturesReply.OFCapabilities valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
valueOf
public static java.util.EnumSet<OFFeaturesReply.OFCapabilities> valueOf(int i)
- Given a capabilities value, return the list of OFCapabilities
associated with it
- Parameters:
i
- capabilities value
- Returns:
- EnumSet
getValue
public int getValue()
- Returns:
- the value