public enum FlowRemovedReason extends Enum<FlowRemovedReason> implements OfpCodeBasedEnum
| Enum Constant and Description |
|---|
DELETE
Evicted by a DELETE flow mod; Since 1.0.
|
GROUP_DELETE
Group was removed; Since 1.1.
|
HARD_TIMEOUT
Time exceeded the hard timeout; Since 1.0.
|
IDLE_TIMEOUT
Flow idle time exceeded the idle timeout; 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 FlowRemovedReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowRemovedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowRemovedReason IDLE_TIMEOUT
public static final FlowRemovedReason HARD_TIMEOUT
public static final FlowRemovedReason DELETE
public static final FlowRemovedReason GROUP_DELETE
public static FlowRemovedReason[] values()
for (FlowRemovedReason c : FlowRemovedReason.values()) System.out.println(c);
public static FlowRemovedReason 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)
OfpCodeBasedEnumgetCode in interface OfpCodeBasedEnumpv - the protocol versionCopyright © 2014. All Rights Reserved.