public enum EventCode extends Enum<EventCode>
| Enum Constant and Description |
|---|
AUTHENTICATION_REJECTED
Authentication credentials rejected.
|
CLOSED
Session has been closed.
|
ERROR
Error occurred during operation.
|
NULL_VAL
To be used to represent not present or null.
|
OK
Operation was successful
|
REDIRECT
Redirect to cluster leader.
|
| Modifier and Type | Method and Description |
|---|---|
static EventCode |
get(int value)
Lookup the enum value representing the value.
|
int |
value()
The raw encoded value in the Java type representation.
|
static EventCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventCode OK
public static final EventCode ERROR
public static final EventCode REDIRECT
public static final EventCode AUTHENTICATION_REJECTED
public static final EventCode CLOSED
public static final EventCode NULL_VAL
public static EventCode[] values()
for (EventCode c : EventCode.values()) System.out.println(c);
public static EventCode 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 value()
public static EventCode get(int value)
value - encoded to be looked up.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.