mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 20:57:40 +00:00
GUACAMOLE-1293: Add common support for the msg instruction.
This commit is contained in:
@@ -33,6 +33,13 @@ public enum GuacamoleProtocolCapability {
|
||||
*/
|
||||
ARBITRARY_HANDSHAKE_ORDER(GuacamoleProtocolVersion.VERSION_1_1_0),
|
||||
|
||||
/**
|
||||
* Support for the "msg" instruction. The "msg" instruction allows the
|
||||
* server to send messages to the client. Support for this instruction was
|
||||
* introduced in {@link GuacamoleProtocolVersion#VERSION_1_5_0}.
|
||||
*/
|
||||
MSG_INSTRUCTION(GuacamoleProtocolVersion.VERSION_1_5_0),
|
||||
|
||||
/**
|
||||
* Negotiation of Guacamole protocol version between client and server
|
||||
* during the protocol handshake. The ability to negotiate protocol
|
||||
|
@@ -53,11 +53,18 @@ public class GuacamoleProtocolVersion {
|
||||
*/
|
||||
public static final GuacamoleProtocolVersion VERSION_1_3_0 = new GuacamoleProtocolVersion(1, 3, 0);
|
||||
|
||||
/**
|
||||
* Protocol version 1.5.0, which introduces the "msg" instruction, allowing
|
||||
* the server to send message notifications that will be displayed on the
|
||||
* client.
|
||||
*/
|
||||
public static final GuacamoleProtocolVersion VERSION_1_5_0 = new GuacamoleProtocolVersion(1, 5, 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_3_0;
|
||||
public static final GuacamoleProtocolVersion LATEST = VERSION_1_5_0;
|
||||
|
||||
/**
|
||||
* A regular expression that matches the VERSION_X_Y_Z pattern, where
|
||||
|
Reference in New Issue
Block a user