public enum TerminationReason extends Enum<TerminationReason>
Enum Constant and Description |
---|
EXP_DEADTIMER |
MALFORMED_MSG |
TOO_MANY_UNKNOWN_MSGS |
TOO_MANY_UNKNWN_REQS |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static TerminationReason |
forValue(short valueArg)
Gets termination reason for specific short value.
|
short |
getShortValue()
Gets value of termination reason.
|
static TerminationReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TerminationReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminationReason UNKNOWN
public static final TerminationReason EXP_DEADTIMER
public static final TerminationReason MALFORMED_MSG
public static final TerminationReason TOO_MANY_UNKNWN_REQS
public static final TerminationReason TOO_MANY_UNKNOWN_MSGS
public static TerminationReason[] values()
for (TerminationReason c : TerminationReason.values()) System.out.println(c);
public static TerminationReason 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 short getShortValue()
public static TerminationReason forValue(short valueArg)
valueArg
- corresponding to Termination reasonCopyright © 2019 OpenDaylight. All rights reserved.