public static enum ChannelState.EventName extends Enum<ChannelState.EventName>
| Enum Constant and Description |
|---|
BytePayload
Typed name for the
BytePayloadChannelEvent |
DisposeChannel
Typed name for the
DisposeChannelEvent |
ObjectPayload
Typed name for the
ObjectPayloadChannelEvent |
StringPayload
Typed name for the
StringPayloadChannelEvent |
| Modifier and Type | Method and Description |
|---|---|
static ChannelState.EventName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelState.EventName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelState.EventName DisposeChannel
DisposeChannelEventpublic static final ChannelState.EventName BytePayload
BytePayloadChannelEventpublic static final ChannelState.EventName StringPayload
StringPayloadChannelEventpublic static final ChannelState.EventName ObjectPayload
ObjectPayloadChannelEventpublic static ChannelState.EventName[] values()
for (ChannelState.EventName c : ChannelState.EventName.values()) System.out.println(c);
public static ChannelState.EventName 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 © 2018. All Rights Reserved.