public static enum UscControl.ControlCode extends Enum<UscControl.ControlCode>
Enum Constant and Description |
---|
ECHO |
OTHER |
TERMINATION_REQUEST |
TERMINATION_RESPONSE |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
toString() |
static UscControl.ControlCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UscControl.ControlCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UscControl.ControlCode OTHER
public static final UscControl.ControlCode TERMINATION_REQUEST
public static final UscControl.ControlCode TERMINATION_RESPONSE
public static final UscControl.ControlCode ECHO
public static UscControl.ControlCode[] values()
for (UscControl.ControlCode c : UscControl.ControlCode.values()) System.out.println(c);
public static UscControl.ControlCode 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()
public String toString()
toString
in class Enum<UscControl.ControlCode>
Copyright © 2019 OpenDaylight. All rights reserved.