public enum PacketInReason extends Enum<PacketInReason> implements OfpCodeBasedEnum
| Enum Constant and Description |
|---|
ACTION
Action explicitly output to controller; Since 1.0.
|
INVALID_TTL
Packet has invalid TTL; Since 1.2.
|
NO_MATCH
No matching flow (table-miss flow entry); 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 PacketInReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketInReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketInReason NO_MATCH
public static final PacketInReason ACTION
public static final PacketInReason INVALID_TTL
public static PacketInReason[] values()
for (PacketInReason c : PacketInReason.values()) System.out.println(c);
public static PacketInReason 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.