public class GuacamoleProxyConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GuacamoleProxyConfiguration.EncryptionMethod
All possible types of encryption used by guacd.
|
Constructor and Description |
---|
GuacamoleProxyConfiguration(String hostname,
int port,
boolean ssl)
Creates a new GuacamoleProxyConfiguration having the given hostname and
port, with encryption method being restricted to either NONE or SSL.
|
GuacamoleProxyConfiguration(String hostname,
int port,
GuacamoleProxyConfiguration.EncryptionMethod encryptionMethod)
Creates a new GuacamoleProxyConfiguration having the given hostname,
port, and encryption method.
|
Modifier and Type | Method and Description |
---|---|
GuacamoleProxyConfiguration.EncryptionMethod |
getEncryptionMethod()
Returns the type of encryption required by guacd.
|
String |
getHostname()
Returns the hostname or address of the machine where guacd is running.
|
int |
getPort()
Returns the port that guacd is listening on.
|
public GuacamoleProxyConfiguration(String hostname, int port, GuacamoleProxyConfiguration.EncryptionMethod encryptionMethod)
hostname
- The hostname or address of the machine where guacd is running.port
- The port that guacd is listening on.encryptionMethod
- The type of encryption required by the instance of guacd running at
the given hostname and port.public GuacamoleProxyConfiguration(String hostname, int port, boolean ssl)
hostname
- The hostname or address of the machine where guacd is running.port
- The port that guacd is listening on.ssl
- true if guacd requires SSL/TLS encryption, false if communication
with guacd should be unencrypted.public String getHostname()
public int getPort()
public GuacamoleProxyConfiguration.EncryptionMethod getEncryptionMethod()
Copyright © 2018. All rights reserved.