public enum MonitorChannelMessageType extends java.lang.Enum<MonitorChannelMessageType>
Enum Constant and Description |
---|
Message
Indicates, it is a regular data message between output and input channel.
|
Ping
Indicates, it is the ping message.
|
Modifier and Type | Method and Description |
---|---|
static MonitorChannelMessageType |
fromInt(int i)
Converts integer value into the enum.
|
int |
geValue()
Converts enum to integer value.
|
static MonitorChannelMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MonitorChannelMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitorChannelMessageType Ping
public static final MonitorChannelMessageType Message
public static MonitorChannelMessageType[] values()
for (MonitorChannelMessageType c : MonitorChannelMessageType.values()) System.out.println(c);
public static MonitorChannelMessageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int geValue()
public static MonitorChannelMessageType fromInt(int i)
i
- integer value