public static enum ControlMessage.Type extends Enum<ControlMessage.Type>
Enum Constant and Description |
---|
FLOW_MOD_PACKET |
FLOW_REMOVED_PACKET |
INBOUND_PACKET |
OUTBOUND_PACKET |
REPLY_PACKET |
REQUEST_PACKET |
Modifier and Type | Method and Description |
---|---|
static ControlMessage.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlMessage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlMessage.Type INBOUND_PACKET
public static final ControlMessage.Type OUTBOUND_PACKET
public static final ControlMessage.Type FLOW_MOD_PACKET
public static final ControlMessage.Type FLOW_REMOVED_PACKET
public static final ControlMessage.Type REQUEST_PACKET
public static final ControlMessage.Type REPLY_PACKET
public static ControlMessage.Type[] values()
for (ControlMessage.Type c : ControlMessage.Type.values()) System.out.println(c);
public static ControlMessage.Type 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