public enum CCMonitorMode extends Enum<CCMonitorMode>
MonitorMode ::= ENUMERATED { interrupted(0), notifyAndContinue(1), transparent(2) }
Used as field type by CCBCSMEvent
.
Enum Constant and Description |
---|
interrupted |
notifyAndContinue |
transparent |
Modifier and Type | Method and Description |
---|---|
static CCMonitorMode |
fromValue(int value)
Returns the enumeration constant for a given ASN.1 encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static CCMonitorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CCMonitorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CCMonitorMode interrupted
public static final CCMonitorMode notifyAndContinue
public static final CCMonitorMode transparent
public static CCMonitorMode[] values()
for (CCMonitorMode c : CCMonitorMode.values()) System.out.println(c);
public static CCMonitorMode 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 static CCMonitorMode fromValue(int value)
value
- integer ASN.1 encoded valuepublic int intValue()