public enum ServerSocketState extends Enum<ServerSocketState>
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<ServerSocketState> |
BOUND_TRANSITION_STATES |
static EnumSet<ServerSocketState> |
ERROR_STATES |
static EnumSet<ServerSocketState> |
FINAL_STATES |
static EnumSet<ServerSocketState> |
INITIAL_STATES |
static EnumSet<ServerSocketState> |
OPEN_STATES |
static EnumSet<ServerSocketState> |
READY_TRANSITION_STATES |
| Modifier and Type | Method and Description |
|---|---|
static ServerSocketState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerSocketState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerSocketState Ready
public static final ServerSocketState Bound
public static final ServerSocketState Error
public static final ServerSocketState Closed
public static final EnumSet<ServerSocketState> OPEN_STATES
public static final EnumSet<ServerSocketState> ERROR_STATES
public static final EnumSet<ServerSocketState> INITIAL_STATES
public static final EnumSet<ServerSocketState> FINAL_STATES
public static final EnumSet<ServerSocketState> READY_TRANSITION_STATES
public static final EnumSet<ServerSocketState> BOUND_TRANSITION_STATES
public static ServerSocketState[] values()
for (ServerSocketState c : ServerSocketState.values()) System.out.println(c);
public static ServerSocketState 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 © 2026. All rights reserved.