|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.guacamole.protocol.GuacamoleInstruction
public class GuacamoleInstruction
An abstract representation of a Guacamole instruction, as defined by the Guacamole protocol.
| Nested Class Summary | |
|---|---|
static class |
GuacamoleInstruction.Operation
The operation performed by a particular Guacamole instruction. |
| Constructor Summary | |
|---|---|
GuacamoleInstruction(GuacamoleInstruction.Operation operation,
String... args)
Creates a new GuacamoleInstruction having the given Operation and list of arguments values. |
|
| Method Summary | |
|---|---|
String[] |
getArgs()
Returns an array of all argument values specified for this GuacamoleInstruction. |
GuacamoleInstruction.Operation |
getOperation()
Returns the Operation associated with this GuacamoleInstruction. |
String |
toString()
Returns this GuacamoleInstruction in the form it would be sent over the Guacamole protocol. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GuacamoleInstruction(GuacamoleInstruction.Operation operation,
String... args)
operation - The Operation of the instruction to create.args - The list of argument values to provide in the new
instruction if any.| Method Detail |
|---|
public GuacamoleInstruction.Operation getOperation()
public String[] getArgs()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||