-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum ChannelModeDescribes the possible flags used to configure client capabilities, using ChannelOptions.
-
-
Field Summary
Fields Modifier and Type Field Description private final intmask
-
Enum Constant Summary
Enum Constants Enum Constant Description annotation_subscribeThe client can subscribe to annotation messages.
annotation_publishThe client can publish annotation messages.
object_subscribeThe client can subscribe to object messages.
object_publishThe client can publish object messages.
presence_subscribeThe client can receive presence messages.
subscribeThe client can subscribe to messages.
publishThe client can publish messages.
presenceThe client can enter the presence set.
-
Method Summary
Modifier and Type Method Description static Set<ChannelMode>toSet(int flags)static Array<ChannelMode>values()static ChannelModevalueOf(String name)intgetMask()-
-
Method Detail
-
toSet
static Set<ChannelMode> toSet(int flags)
-
values
static Array<ChannelMode> values()
-
valueOf
static ChannelMode valueOf(String name)
-
getMask
int getMask()
-
-
-
-