org.fusesource.stompjms.message
Enum StompJmsMessage.JmsMsgType
java.lang.Object
java.lang.Enum<StompJmsMessage.JmsMsgType>
org.fusesource.stompjms.message.StompJmsMessage.JmsMsgType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StompJmsMessage.JmsMsgType>
- Enclosing class:
- StompJmsMessage
public static enum StompJmsMessage.JmsMsgType
- extends java.lang.Enum<StompJmsMessage.JmsMsgType>
|
Field Summary |
org.fusesource.hawtbuf.AsciiBuffer |
buffer
|
org.fusesource.hawtbuf.AsciiBuffer |
mime
|
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MESSAGE
public static final StompJmsMessage.JmsMsgType MESSAGE
BYTES
public static final StompJmsMessage.JmsMsgType BYTES
MAP
public static final StompJmsMessage.JmsMsgType MAP
OBJECT
public static final StompJmsMessage.JmsMsgType OBJECT
STREAM
public static final StompJmsMessage.JmsMsgType STREAM
TEXT
public static final StompJmsMessage.JmsMsgType TEXT
buffer
public final org.fusesource.hawtbuf.AsciiBuffer buffer
mime
public final org.fusesource.hawtbuf.AsciiBuffer mime
values
public static StompJmsMessage.JmsMsgType[] 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 (StompJmsMessage.JmsMsgType c : StompJmsMessage.JmsMsgType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StompJmsMessage.JmsMsgType 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
Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.