public enum StompCommands extends Enum<StompCommands>
Enum Constant and Description |
---|
ABORT |
ACK |
BEGIN |
COMMIT |
CONNECT |
CONNECTED |
DISCONNECT |
ERROR |
MESSAGE |
NACK |
RECEIPT |
SEND |
STOMP |
SUBSCRIBE |
UNSUBSCRIBE |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static StompCommands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StompCommands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StompCommands ABORT
public static final StompCommands ACK
public static final StompCommands NACK
public static final StompCommands BEGIN
public static final StompCommands COMMIT
public static final StompCommands CONNECT
public static final StompCommands CONNECTED
public static final StompCommands DISCONNECT
public static final StompCommands ERROR
public static final StompCommands MESSAGE
public static final StompCommands RECEIPT
public static final StompCommands SEND
public static final StompCommands STOMP
public static final StompCommands SUBSCRIBE
public static final StompCommands UNSUBSCRIBE
public static StompCommands[] values()
for (StompCommands c : StompCommands.values()) System.out.println(c);
public static StompCommands valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<StompCommands>
Copyright © 2018 JBoss by Red Hat. All rights reserved.