public enum StompCommand extends Enum<StompCommand>
Enum Constant and Description |
---|
ABORT |
ACK |
BEGIN |
COMMIT |
CONNECT |
CONNECTED |
DISCONNECT |
ERROR |
MESSAGE |
NACK |
RECEIPT |
SEND |
STOMP |
SUBSCRIBE |
UNKNOWN |
UNSUBSCRIBE |
Modifier and Type | Method and Description |
---|---|
static StompCommand |
valueOf(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 STOMP
public static final StompCommand CONNECT
public static final StompCommand CONNECTED
public static final StompCommand SEND
public static final StompCommand SUBSCRIBE
public static final StompCommand UNSUBSCRIBE
public static final StompCommand ACK
public static final StompCommand NACK
public static final StompCommand BEGIN
public static final StompCommand ABORT
public static final StompCommand COMMIT
public static final StompCommand DISCONNECT
public static final StompCommand MESSAGE
public static final StompCommand RECEIPT
public static final StompCommand ERROR
public static final StompCommand UNKNOWN
public static StompCommand[] values()
for (StompCommand c : StompCommand.values()) System.out.println(c);
public static StompCommand 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 nullCopyright © 2008–2024 The Netty Project. All rights reserved.