net.sourceforge.guacamole.protocol
Class GuacamoleClientInformation

java.lang.Object
  extended by net.sourceforge.guacamole.protocol.GuacamoleClientInformation

public class GuacamoleClientInformation
extends Object

An abstract representation of Guacamole client information, including all information required by the Guacamole protocol during the preamble.

Author:
Michael Jumper

Constructor Summary
GuacamoleClientInformation()
           
 
Method Summary
 List<String> getAudioMimetypes()
          Returns the list of audio mimetypes supported by the client.
 int getOptimalScreenHeight()
          Returns the optimal screen height requested by the client, in pixels.
 int getOptimalScreenWidth()
          Returns the optimal screen width requested by the client, in pixels.
 List<String> getVideoMimetypes()
          Returns the list of video mimetypes supported by the client.
 void setOptimalScreenHeight(int optimalScreenHeight)
          Sets the client's optimal screen height.
 void setOptimalScreenWidth(int optimalScreenWidth)
          Sets the client's optimal screen width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuacamoleClientInformation

public GuacamoleClientInformation()
Method Detail

getOptimalScreenWidth

public int getOptimalScreenWidth()
Returns the optimal screen width requested by the client, in pixels.

Returns:
The optimal screen width requested by the client, in pixels.

setOptimalScreenWidth

public void setOptimalScreenWidth(int optimalScreenWidth)
Sets the client's optimal screen width.

Parameters:
optimalScreenWidth - The optimal screen width of the client.

getOptimalScreenHeight

public int getOptimalScreenHeight()
Returns the optimal screen height requested by the client, in pixels.

Returns:
The optimal screen height requested by the client, in pixels.

setOptimalScreenHeight

public void setOptimalScreenHeight(int optimalScreenHeight)
Sets the client's optimal screen height.

Parameters:
optimalScreenHeight - The optimal screen height of the client.

getAudioMimetypes

public List<String> getAudioMimetypes()
Returns the list of audio mimetypes supported by the client. To add or removed supported mimetypes, the list returned by this function can be modified.

Returns:
The set of audio mimetypes supported by the client.

getVideoMimetypes

public List<String> getVideoMimetypes()
Returns the list of video mimetypes supported by the client. To add or removed supported mimetypes, the list returned by this function can be modified.

Returns:
The set of video mimetypes supported by the client.


Copyright © 2013. All Rights Reserved.