org.exolab.jmscts.core.types
Class MessageType

java.lang.Object
  |
  +--org.exolab.jmscts.core.types.MessageType
All Implemented Interfaces:
java.io.Serializable

public class MessageType
extends java.lang.Object
implements java.io.Serializable

Class MessageType.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static MessageType BYTESMESSAGE
          The instance of the BytesMessage type
static int BYTESMESSAGE_TYPE
          The BytesMessage type
static MessageType MAPMESSAGE
          The instance of the MapMessage type
static int MAPMESSAGE_TYPE
          The MapMessage type
static MessageType MESSAGE
          The instance of the Message type
static int MESSAGE_TYPE
          The Message type
static MessageType OBJECTMESSAGE
          The instance of the ObjectMessage type
static int OBJECTMESSAGE_TYPE
          The ObjectMessage type
static MessageType STREAMMESSAGE
          The instance of the StreamMessage type
static int STREAMMESSAGE_TYPE
          The StreamMessage type
static MessageType TEXTMESSAGE
          The instance of the TextMessage type
static int TEXTMESSAGE_TYPE
          The TextMessage type
 
Method Summary
static java.util.Enumeration enumerate()
          Method enumerateReturns an enumeration of all possible instances of MessageType
 int getType()
          Method getTypeReturns the type of this MessageType
 java.lang.String toString()
          Method toStringReturns the String representation of this MessageType
static MessageType valueOf(java.lang.String string)
          Method valueOfReturns a new MessageType based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BYTESMESSAGE_TYPE

public static final int BYTESMESSAGE_TYPE
The BytesMessage type

BYTESMESSAGE

public static final MessageType BYTESMESSAGE
The instance of the BytesMessage type

MAPMESSAGE_TYPE

public static final int MAPMESSAGE_TYPE
The MapMessage type

MAPMESSAGE

public static final MessageType MAPMESSAGE
The instance of the MapMessage type

OBJECTMESSAGE_TYPE

public static final int OBJECTMESSAGE_TYPE
The ObjectMessage type

OBJECTMESSAGE

public static final MessageType OBJECTMESSAGE
The instance of the ObjectMessage type

STREAMMESSAGE_TYPE

public static final int STREAMMESSAGE_TYPE
The StreamMessage type

STREAMMESSAGE

public static final MessageType STREAMMESSAGE
The instance of the StreamMessage type

TEXTMESSAGE_TYPE

public static final int TEXTMESSAGE_TYPE
The TextMessage type

TEXTMESSAGE

public static final MessageType TEXTMESSAGE
The instance of the TextMessage type

MESSAGE_TYPE

public static final int MESSAGE_TYPE
The Message type

MESSAGE

public static final MessageType MESSAGE
The instance of the Message type
Method Detail

enumerate

public static java.util.Enumeration enumerate()
Method enumerateReturns an enumeration of all possible instances of MessageType

getType

public int getType()
Method getTypeReturns the type of this MessageType

toString

public java.lang.String toString()
Method toStringReturns the String representation of this MessageType
Overrides:
toString in class java.lang.Object

valueOf

public static MessageType valueOf(java.lang.String string)
Method valueOfReturns a new MessageType based on the given String value.
Parameters:
string -  


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.