public enum ClientState extends Enum<ClientState>
Enum Constant and Description |
---|
AUTHORIZATION_ERROR |
CONNECTED |
CONNECTING |
CREATED |
DISCONNECTED |
RECONNECTING |
Modifier and Type | Method and Description |
---|---|
static ClientState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientState CREATED
public static final ClientState CONNECTING
public static final ClientState CONNECTED
public static final ClientState DISCONNECTED
public static final ClientState RECONNECTING
public static final ClientState AUTHORIZATION_ERROR
public static ClientState[] values()
for (ClientState c : ClientState.values()) System.out.println(c);
public static ClientState 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 nullCopyright © 2000–2022 EPAM Systems. All rights reserved.