public static enum ChannelImpl.CHANNEL_ID extends Enum<ChannelImpl.CHANNEL_ID>
Enum Constant and Description |
---|
CLUSTER
cluster used for controlling nodes in a cluster remotely
|
PING
Used for core protocol management.
|
REPLICATION
Replication, i.e.
|
SESSION
Session creation and attachment.
|
USER
Channels [0-9] are reserved for the system, user channels must be greater than that.
|
Modifier and Type | Field and Description |
---|---|
long |
id |
Modifier and Type | Method and Description |
---|---|
protected static String |
idToString(long code) |
static ChannelImpl.CHANNEL_ID |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelImpl.CHANNEL_ID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelImpl.CHANNEL_ID PING
public static final ChannelImpl.CHANNEL_ID SESSION
public static final ChannelImpl.CHANNEL_ID REPLICATION
public static final ChannelImpl.CHANNEL_ID CLUSTER
public static final ChannelImpl.CHANNEL_ID USER
public static ChannelImpl.CHANNEL_ID[] values()
for (ChannelImpl.CHANNEL_ID c : ChannelImpl.CHANNEL_ID.values()) System.out.println(c);
public static ChannelImpl.CHANNEL_ID 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 nullprotected static String idToString(long code)
Copyright © 2016 JBoss by Red Hat. All rights reserved.