public static enum ServerConnections.OutgoingState extends Enum<ServerConnections.OutgoingState>
Enum Constant and Description |
---|
CONNECTING |
HANDSHAKING |
NULL |
OK |
Modifier and Type | Method and Description |
---|---|
static ServerConnections.OutgoingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerConnections.OutgoingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerConnections.OutgoingState NULL
public static final ServerConnections.OutgoingState CONNECTING
public static final ServerConnections.OutgoingState HANDSHAKING
public static final ServerConnections.OutgoingState OK
public static ServerConnections.OutgoingState[] values()
for (ServerConnections.OutgoingState c : ServerConnections.OutgoingState.values()) System.out.println(c);
public static ServerConnections.OutgoingState 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 © 2019 "Tigase, Inc.". All rights reserved.