eneter.messaging.messagingsystems.composites.monitoredmessagingcomposit
Enum MonitorChannelMessageType

java.lang.Object
  extended by java.lang.Enum<MonitorChannelMessageType>
      extended by eneter.messaging.messagingsystems.composites.monitoredmessagingcomposit.MonitorChannelMessageType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MonitorChannelMessageType>

public enum MonitorChannelMessageType
extends java.lang.Enum<MonitorChannelMessageType>

Type of the message.


Enum Constant Summary
Message
          Indicates, it is a regular data message between output and input channel.
Ping
          Indicates, it is the ping message.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Ping

public static final MonitorChannelMessageType Ping
Indicates, it is the ping message.


Message

public static final MonitorChannelMessageType Message
Indicates, it is a regular data message between output and input channel.

Method Detail

values

public static MonitorChannelMessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MonitorChannelMessageType c : MonitorChannelMessageType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MonitorChannelMessageType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

geValue

public int geValue()
Converts enum to integer value.

Returns:
integer value of the enum.

fromInt

public static MonitorChannelMessageType fromInt(int i)
Converts integer value into the enum.

Parameters:
i - integer value
Returns:
enum