@Beta public enum PiPacketOperationType extends Enum<PiPacketOperationType>
| Enum Constant and Description |
|---|
PACKET_IN
Represents a packet-in, i.e.
|
PACKET_OUT
Represents a packet-out, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static PiPacketOperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PiPacketOperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiPacketOperationType PACKET_OUT
public static final PiPacketOperationType PACKET_IN
public static PiPacketOperationType[] values()
for (PiPacketOperationType c : PiPacketOperationType.values()) System.out.println(c);
public static PiPacketOperationType 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 null