public enum TerminationCause extends java.lang.Enum<TerminationCause>
| Enum Constant and Description |
|---|
congestion |
errorundefined |
internalTimeout |
mtlrRestart |
normal |
privacyViolation |
| Modifier and Type | Method and Description |
|---|---|
int |
getCause() |
static TerminationCause |
getTerminationCause(int cause) |
static TerminationCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TerminationCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminationCause normal
public static final TerminationCause errorundefined
public static final TerminationCause internalTimeout
public static final TerminationCause congestion
public static final TerminationCause mtlrRestart
public static final TerminationCause privacyViolation
public static TerminationCause[] values()
for (TerminationCause c : TerminationCause.values()) System.out.println(c);
public static TerminationCause 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 nullpublic int getCause()
public static TerminationCause getTerminationCause(int cause)
Copyright © 2011. All Rights Reserved.