Enum GuacamoleProtocolCapability

    • Enum Constant Detail


        public static final GuacamoleProtocolCapability REQUIRED_INSTRUCTION
        Support for the "required" instruction. The "required" instruction allows the server to explicitly request connection parameters from the client without which the connection cannot continue, such as user credentials. Support for this instruction was introduced in GuacamoleProtocolVersion.VERSION_1_3_0.

        public static final GuacamoleProtocolCapability TIMEZONE_HANDSHAKE
        Support for the "timezone" handshake instruction. The "timezone" instruction allows the client to request that the server forward their local timezone for use within the remote desktop session. Support for forwarding the client timezone was introduced in GuacamoleProtocolVersion.VERSION_1_1_0.
    • Method Detail

      • values

        public static GuacamoleProtocolCapability[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GuacamoleProtocolCapability c : GuacamoleProtocolCapability.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GuacamoleProtocolCapability valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isSupported

        public boolean isSupported​(GuacamoleProtocolVersion version)
        Returns whether this capability is supported in the given Guacamole protocol version.
        version - The Guacamole protocol version to check.
        true if this capability is supported by the given protocol version, false otherwise.