public static enum CommandMessage.Operation extends Enum<CommandMessage.Operation>
| Enum Constant and Description |
|---|
CHANNEL_DISCONNECTED |
CLIENT_PING |
CLIENT_SYNC |
CLUSTER_REQUEST |
DATA_UPDATE |
DATA_UPDATE_ATTRIBUTES |
INVALIDATE_SUBSCRIBTION |
LOGIN |
LOGOUT |
POLL |
SUBSCRIBE |
UNKNOWN |
UNSUBSCRIBE |
| Modifier and Type | Field and Description |
|---|---|
int |
id |
| Modifier and Type | Method and Description |
|---|---|
static CommandMessage.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandMessage.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandMessage.Operation SUBSCRIBE
public static final CommandMessage.Operation UNSUBSCRIBE
public static final CommandMessage.Operation POLL
public static final CommandMessage.Operation DATA_UPDATE_ATTRIBUTES
public static final CommandMessage.Operation CLIENT_SYNC
public static final CommandMessage.Operation CLIENT_PING
public static final CommandMessage.Operation DATA_UPDATE
public static final CommandMessage.Operation CLUSTER_REQUEST
public static final CommandMessage.Operation LOGIN
public static final CommandMessage.Operation LOGOUT
public static final CommandMessage.Operation INVALIDATE_SUBSCRIBTION
public static final CommandMessage.Operation CHANNEL_DISCONNECTED
public static final CommandMessage.Operation UNKNOWN
public static CommandMessage.Operation[] values()
for (CommandMessage.Operation c : CommandMessage.Operation.values()) System.out.println(c);
public static CommandMessage.Operation 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 © 2014. All rights reserved.