|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GuacamoleInstruction.Operation>
net.sourceforge.guacamole.protocol.GuacamoleInstruction.Operation
public static enum GuacamoleInstruction.Operation
The operation performed by a particular Guacamole instruction. Each Operation is associated with a unique opcode.
| Enum Constant Summary | |
|---|---|
CLIENT_AUDIO
Message sent from client to server specifying which audio mimetypes are supported. |
|
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. |
|
CLIENT_SIZE
Message sent from client to server specifying the optimal or desired screen size. |
|
CLIENT_VIDEO
Message sent from client to server specifying which video mimetypes are supported. |
|
SERVER_ARGS
Message sent from server to client specifying which arguments are required by the selected protocol. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GuacamoleInstruction.Operation CLIENT_SIZE
public static final GuacamoleInstruction.Operation CLIENT_AUDIO
public static final GuacamoleInstruction.Operation CLIENT_VIDEO
public static final GuacamoleInstruction.Operation CLIENT_SELECT
public static final GuacamoleInstruction.Operation CLIENT_CONNECT
public static final GuacamoleInstruction.Operation SERVER_ARGS
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String getOpcode()
public static GuacamoleInstruction.Operation fromOpcode(String opcode)
opcode - The unique opcode associated with an Operation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||