mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-221: Add client support for the "required" instruction.
This commit is contained in:
@@ -40,7 +40,16 @@ public enum GuacamoleProtocolCapability {
|
||||
* {@link GuacamoleProtocolVersion#VERSION_1_1_0}.
|
||||
*/
|
||||
PROTOCOL_VERSION_DETECTION(GuacamoleProtocolVersion.VERSION_1_1_0),
|
||||
|
||||
|
||||
/**
|
||||
* Support for the "required" instruction. The "required" instruction
|
||||
* allows the server to explicitly request connection parameters from the
|
||||
* client without which the connection cannot continue, such as user
|
||||
* credentials. Support for this instruction was introduced in
|
||||
* {@link GuacamoleProtocolVersion#VERSION_1_3_0}.
|
||||
*/
|
||||
REQUIRED_INSTRUCTION(GuacamoleProtocolVersion.VERSION_1_3_0),
|
||||
|
||||
/**
|
||||
* Support for the "timezone" handshake instruction. The "timezone"
|
||||
* instruction allows the client to request that the server forward their
|
||||
|
@@ -46,11 +46,18 @@ public class GuacamoleProtocolVersion {
|
||||
*/
|
||||
public static final GuacamoleProtocolVersion VERSION_1_1_0 = new GuacamoleProtocolVersion(1, 1, 0);
|
||||
|
||||
/**
|
||||
* Protocol version 1.3.0, which introduces the "required" instruction
|
||||
* allowing the server to explicitly request connection parameters from the
|
||||
* client.
|
||||
*/
|
||||
public static final GuacamoleProtocolVersion VERSION_1_3_0 = new GuacamoleProtocolVersion(1, 3, 0);
|
||||
|
||||
/**
|
||||
* The most recent version of the Guacamole protocol at the time this
|
||||
* version of GuacamoleProtocolVersion was built.
|
||||
*/
|
||||
public static final GuacamoleProtocolVersion LATEST = VERSION_1_1_0;
|
||||
public static final GuacamoleProtocolVersion LATEST = VERSION_1_3_0;
|
||||
|
||||
/**
|
||||
* A regular expression that matches the VERSION_X_Y_Z pattern, where
|
||||
|
Reference in New Issue
Block a user