@Beta public enum PiPacketOperationType extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null