public static enum GuacamoleInstruction.Operation extends Enum<GuacamoleInstruction.Operation>
| Enum Constant and Description |
|---|
CLIENT_CONNECT
Message sent from client to server specifying which argument
values correspond to the arguments required by the selected
protocol.
|
CLIENT_SELECT
Message sent from client to server specifying which protocol is
to be used.
|
SERVER_ARGS
Message sent from server to client specifying which arguments
are required by the selected protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static GuacamoleInstruction.Operation |
fromOpcode(String opcode)
Returns the corresponding Operation having the given opcode, if any.
|
String |
getOpcode()
Returns the unique opcode associated with this Operation.
|
static GuacamoleInstruction.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GuacamoleInstruction.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuacamoleInstruction.Operation CLIENT_SELECT
public static final GuacamoleInstruction.Operation CLIENT_CONNECT
public static final GuacamoleInstruction.Operation SERVER_ARGS
public static GuacamoleInstruction.Operation[] values()
for (GuacamoleInstruction.Operation c : GuacamoleInstruction.Operation.values()) System.out.println(c);
public static GuacamoleInstruction.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 nullpublic String getOpcode()
public static GuacamoleInstruction.Operation fromOpcode(String opcode)
opcode - The unique opcode associated with an Operation.Copyright © 2012. All Rights Reserved.