public enum GuacamoleProtocolCapability extends Enum<GuacamoleProtocolCapability>
Enum Constant and Description |
---|
ARBITRARY_HANDSHAKE_ORDER
The protocol does not require handshake instructions to be sent in a
specific order, nor that all handshake instructions be sent.
|
PROTOCOL_VERSION_DETECTION
Negotiation of Guacamole protocol version between client and server
during the protocol handshake.
|
REQUIRED_INSTRUCTION
Support for the "required" instruction.
|
TIMEZONE_HANDSHAKE
Support for the "timezone" handshake instruction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSupported(GuacamoleProtocolVersion version)
Returns whether this capability is supported in the given Guacamole
protocol version.
|
static GuacamoleProtocolCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GuacamoleProtocolCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuacamoleProtocolCapability ARBITRARY_HANDSHAKE_ORDER
GuacamoleProtocolVersion.VERSION_1_1_0
.public static final GuacamoleProtocolCapability PROTOCOL_VERSION_DETECTION
GuacamoleProtocolVersion.VERSION_1_1_0
.public static final GuacamoleProtocolCapability REQUIRED_INSTRUCTION
GuacamoleProtocolVersion.VERSION_1_3_0
.public static final GuacamoleProtocolCapability TIMEZONE_HANDSHAKE
GuacamoleProtocolVersion.VERSION_1_1_0
.public static GuacamoleProtocolCapability[] values()
for (GuacamoleProtocolCapability c : GuacamoleProtocolCapability.values()) System.out.println(c);
public static GuacamoleProtocolCapability valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isSupported(GuacamoleProtocolVersion version)
version
- The Guacamole protocol version to check.Copyright © 2020. All rights reserved.