public enum ChannelConnectStatus extends Enum<ChannelConnectStatus>
| Enum Constant and Description |
|---|
CLOSED
已关闭。
|
CLOSING
关闭中。
|
RUNNING
运行状态。
|
WAIT
等待状态,ChannelConnect的初始状态。
|
| Modifier and Type | Method and Description |
|---|---|
static ChannelConnectStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelConnectStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelConnectStatus WAIT
public static final ChannelConnectStatus RUNNING
public static final ChannelConnectStatus CLOSING
public static final ChannelConnectStatus CLOSED
public static ChannelConnectStatus[] values()
for (ChannelConnectStatus c : ChannelConnectStatus.values()) System.out.println(c);
public static ChannelConnectStatus 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 © 2024. All Rights Reserved.