public static enum commands.MessageProtocolCommand extends Enum<commands.MessageProtocolCommand>
| Enum Constant and Description |
|---|
ACK_MESSAGE |
EXIT |
HAND_OFF_LISTENERS |
INIT |
INVALID |
NORMAL_MESSAGE |
PRINT_QUEUE_SIZES |
SET_PAYLOAD_SIZE |
USE_POOLED_CONNECTIONS |
USE_SHARED |
USE_THREAD_OWNED |
USE_THREAD_OWNED_UNORDERED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInvalid() |
byte |
toByte() |
static commands.MessageProtocolCommand |
valueOf(byte byteValue) |
static commands.MessageProtocolCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static commands.MessageProtocolCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final commands.MessageProtocolCommand INVALID
public static final commands.MessageProtocolCommand INIT
public static final commands.MessageProtocolCommand USE_THREAD_OWNED
public static final commands.MessageProtocolCommand USE_SHARED
public static final commands.MessageProtocolCommand HAND_OFF_LISTENERS
public static final commands.MessageProtocolCommand USE_THREAD_OWNED_UNORDERED
public static final commands.MessageProtocolCommand USE_POOLED_CONNECTIONS
public static final commands.MessageProtocolCommand NORMAL_MESSAGE
public static final commands.MessageProtocolCommand SET_PAYLOAD_SIZE
public static final commands.MessageProtocolCommand ACK_MESSAGE
public static final commands.MessageProtocolCommand PRINT_QUEUE_SIZES
public static final commands.MessageProtocolCommand EXIT
public static commands.MessageProtocolCommand[] values()
for (commands.MessageProtocolCommand c : commands.MessageProtocolCommand.values()) System.out.println(c);
public static commands.MessageProtocolCommand 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 static commands.MessageProtocolCommand valueOf(byte byteValue)
public boolean isInvalid()
public byte toByte()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.