public enum StompCommand extends java.lang.Enum<StompCommand>
| Enum Constant and Description |
|---|
CONNECT |
CONNECTED |
DISCONNECT |
ERROR |
MESSAGE |
RECEIPT |
SEND |
SUBSCRIBE |
UNSUBSCRIBE |
| Modifier and Type | Method and Description |
|---|---|
static StompCommand |
fromValue(java.lang.String value) |
java.lang.String |
toString() |
static StompCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StompCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StompCommand CONNECT
public static final StompCommand CONNECTED
public static final StompCommand DISCONNECT
public static final StompCommand ERROR
public static final StompCommand MESSAGE
public static final StompCommand RECEIPT
public static final StompCommand SEND
public static final StompCommand SUBSCRIBE
public static final StompCommand UNSUBSCRIBE
public static StompCommand[] values()
for (StompCommand c : StompCommand.values()) System.out.println(c);
public static StompCommand 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 static StompCommand fromValue(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<StompCommand>