GUACAMOLE-422: Add timezone to tunnel connections.

This commit is contained in:
Nick Couchman
2018-06-03 14:59:47 -04:00
committed by Virtually Nick
parent 8ad65d6e6c
commit 047ed7ac9c
4 changed files with 56 additions and 1 deletions

View File

@@ -58,6 +58,11 @@ public class GuacamoleClientInformation {
* The list of image mimetypes reported by the client to be supported.
*/
private final List<String> imageMimetypes = new ArrayList<String>();
/**
* The timezone report by the client.
*/
private String timezone = "";
/**
* Returns the optimal screen width requested by the client, in pixels.
@@ -144,5 +149,25 @@ public class GuacamoleClientInformation {
public List<String> getImageMimetypes() {
return imageMimetypes;
}
/**
* Return the timezone as reported by the client.
*
* @returns
* A string value of the timezone reported by the client.
*/
public String getTimezone() {
return timezone;
}
/**
* Set the string value of the timezone.
*
* @param timezone
* The string value of the timezone reported by the client.
*/
public void setTimezone(String timezone) {
this.timezone = timezone;
}
}