public interface Connection
Modifier and Type | Method and Description |
---|---|
net.sourceforge.guacamole.net.GuacamoleSocket |
connect(net.sourceforge.guacamole.protocol.GuacamoleClientInformation info)
Establishes a connection to guacd using the GuacamoleConfiguration
associated with this Connection, and returns the resulting, connected
GuacamoleSocket.
|
net.sourceforge.guacamole.protocol.GuacamoleConfiguration |
getConfiguration()
Returns the GuacamoleConfiguration associated with this Connection.
|
List<? extends ConnectionRecord> |
getHistory()
Returns a list of ConnectionRecords representing the usage history
of this Connection, including any active users.
|
String |
getIdentifier()
Returns the unique identifier assigned to this Connection.
|
void |
setConfiguration(net.sourceforge.guacamole.protocol.GuacamoleConfiguration config)
Sets the GuacamoleConfiguration associated with this Connection.
|
void |
setIdentifier(String identifier)
Sets the identifier assigned to this Connection.
|
String getIdentifier()
void setIdentifier(String identifier)
identifier
- The identifier to assign.net.sourceforge.guacamole.protocol.GuacamoleConfiguration getConfiguration()
void setConfiguration(net.sourceforge.guacamole.protocol.GuacamoleConfiguration config)
config
- The GuacamoleConfiguration to associate with this
Connection.net.sourceforge.guacamole.net.GuacamoleSocket connect(net.sourceforge.guacamole.protocol.GuacamoleClientInformation info) throws net.sourceforge.guacamole.GuacamoleException
info
- Information associated with the connecting client.net.sourceforge.guacamole.GuacamoleException
- If an error occurs while connecting to guacd,
or if permission to connect is denied.List<? extends ConnectionRecord> getHistory() throws net.sourceforge.guacamole.GuacamoleException
net.sourceforge.guacamole.GuacamoleException
- If an error occurs while reading the history
of this connection, or if permission is
denied.Copyright © 2013. All Rights Reserved.