public static enum JslipcChannel.JslipcChannelState extends Enum<JslipcChannel.JslipcChannelState>
Enum Constant and Description |
---|
Closed
Channel is closed.
|
ClosedByPeer
Channel is closed by peer, but this end of the channel is still open.
|
Open
Channel is open.
|
Modifier and Type | Method and Description |
---|---|
static JslipcChannel.JslipcChannelState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JslipcChannel.JslipcChannelState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JslipcChannel.JslipcChannelState Open
public static final JslipcChannel.JslipcChannelState ClosedByPeer
public static final JslipcChannel.JslipcChannelState Closed
public static JslipcChannel.JslipcChannelState[] values()
for (JslipcChannel.JslipcChannelState c : JslipcChannel.JslipcChannelState.values()) System.out.println(c);
public static JslipcChannel.JslipcChannelState 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 © 2014. All Rights Reserved.