public enum ChannelMode extends Enum<ChannelMode>
| Enum Constant and Description |
|---|
DUPLEX |
PUBLISHER_ONLY |
SUBSCRIBER_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static ChannelMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelMode PUBLISHER_ONLY
public static final ChannelMode SUBSCRIBER_ONLY
public static final ChannelMode DUPLEX
public static ChannelMode[] values()
for (ChannelMode c : ChannelMode.values()) System.out.println(c);
public static ChannelMode 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.