public enum ServerConnectionState extends java.lang.Enum<ServerConnectionState>
Enum Constant and Description |
---|
CONNECTED
The application is connected to the remote server.
|
CONNECTING
The application is actively attempting to connect to the remote server.
|
Modifier and Type | Method and Description |
---|---|
static ServerConnectionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerConnectionState CONNECTING
public static final ServerConnectionState CONNECTED
public static ServerConnectionState[] values()
for (ServerConnectionState c : ServerConnectionState.values()) System.out.println(c);
public static ServerConnectionState 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 nullCopyright © 2010 - 2020 Adobe. All Rights Reserved