public class GuacamoleInstruction extends Object
Constructor and Description |
---|
GuacamoleInstruction(String opcode,
List<String> args)
Creates a new GuacamoleInstruction having the given Operation and
list of arguments values.
|
GuacamoleInstruction(String opcode,
String... args)
Creates a new GuacamoleInstruction having the given Operation and
list of arguments values.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getArgs()
Returns a List of all argument values specified for this
GuacamoleInstruction.
|
String |
getOpcode()
Returns the opcode associated with this GuacamoleInstruction.
|
String |
toString()
Returns this GuacamoleInstruction in the form it would be sent over the
Guacamole protocol.
|
public GuacamoleInstruction(String opcode, String... args)
opcode
- The opcode of the instruction to create.args
- The list of argument values to provide in the new
instruction if any.public GuacamoleInstruction(String opcode, List<String> args)
opcode
- The opcode of the instruction to create.args
- The list of argument values to provide in the new
instruction if any.public String getOpcode()
public List<String> getArgs()
Copyright © 2016. All rights reserved.