mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-10-27 15:13:07 +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;
|
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
|
@Override
|
||||||
public GuacamoleWriter getWriter() {
|
public GuacamoleWriter getWriter() {
|
||||||
return socket.getWriter();
|
return socket.getWriter();
|
||||||
|
|||||||
Reference in New Issue
Block a user