protected static enum TcpServerImpl.ServerStatus extends java.lang.Enum<TcpServerImpl.ServerStatus>
Enum Constant and Description |
---|
Created |
Shutdown |
Started |
Starting |
Modifier and Type | Method and Description |
---|---|
static TcpServerImpl.ServerStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TcpServerImpl.ServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TcpServerImpl.ServerStatus Created
public static final TcpServerImpl.ServerStatus Starting
public static final TcpServerImpl.ServerStatus Started
public static final TcpServerImpl.ServerStatus Shutdown
public static TcpServerImpl.ServerStatus[] values()
for (TcpServerImpl.ServerStatus c : TcpServerImpl.ServerStatus.values()) System.out.println(c);
public static TcpServerImpl.ServerStatus 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 null