public enum QueuePropType extends Enum<QueuePropType> implements OfpCodeBasedEnum
Enum Constant and Description |
---|
EXPERIMENTER
Experimenter defined property; Since 1.2.
|
MAX_RATE
Maximum datarate; Since 1.2.
|
MIN_RATE
Minimum datarate guaranteed; Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode(ProtocolVersion pv)
Returns the code for the constant, under the given protocol
version.
|
static QueuePropType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueuePropType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueuePropType MIN_RATE
public static final QueuePropType MAX_RATE
public static final QueuePropType EXPERIMENTER
public static QueuePropType[] values()
for (QueuePropType c : QueuePropType.values()) System.out.println(c);
public static QueuePropType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode(ProtocolVersion pv)
OfpCodeBasedEnum
getCode
in interface OfpCodeBasedEnum
pv
- the protocol versionCopyright © 2015. All Rights Reserved.