public static enum StompClient.State extends Enum<StompClient.State>
| Enum Constant and Description |
|---|
CONNECTED |
CONNECTING |
DISCONNECTED |
DISCONNECTING |
| Modifier and Type | Method and Description |
|---|---|
static StompClient.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StompClient.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StompClient.State DISCONNECTED
public static final StompClient.State CONNECTING
public static final StompClient.State CONNECTED
public static final StompClient.State DISCONNECTING
public static StompClient.State[] values()
for (StompClient.State c : StompClient.State.values()) System.out.println(c);
public static StompClient.State 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 © 2013 JBoss by Red Hat. All Rights Reserved.