mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 20:57:40 +00:00
GUACAMOLE-422: Add getter for retrieving the protocol version negotiated by ConfiguredGuacamoleSocket.
This commit is contained in:
@@ -253,6 +253,20 @@ public class ConfiguredGuacamoleSocket implements GuacamoleSocket {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the version of the Guacamole protocol associated with the
|
||||
* Guacamole connection negotiated by this ConfiguredGuacamoleSocket. This
|
||||
* version is the lowest version common to both ConfiguredGuacamoleSocket
|
||||
* and the relevant Guacamole proxy instance (guacd).
|
||||
*
|
||||
* @return
|
||||
* The protocol version that this ConfiguredGuacamoleSocket will use to
|
||||
* communicate with guacd.
|
||||
*/
|
||||
public GuacamoleProtocolVersion getProtocolVersion() {
|
||||
return protocolVersion;
|
||||
}
|
||||
|
||||
@Override
|
||||
public GuacamoleWriter getWriter() {
|
||||
return socket.getWriter();
|
||||
|
Reference in New Issue
Block a user