public enum ChannelState extends Enum<ChannelState>
| Enum Constant and Description |
|---|
FAILED |
INITIAL |
SUBSCRIBE_SENT |
SUBSCRIBED |
UNSUBSCRIBED |
| Modifier and Type | Method and Description |
|---|---|
static ChannelState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelState INITIAL
public static final ChannelState SUBSCRIBE_SENT
public static final ChannelState SUBSCRIBED
public static final ChannelState UNSUBSCRIBED
public static final ChannelState FAILED
public static ChannelState[] values()
for (ChannelState c : ChannelState.values()) System.out.println(c);
public static ChannelState 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 © 2016 Pusher. All rights reserved.