org.glyptodon.guacamole.net.auth
public interface Connection
| Modifier and Type | Method and Description |
|---|---|
org.glyptodon.guacamole.net.GuacamoleSocket |
connect(org.glyptodon.guacamole.protocol.GuacamoleClientInformation info)
Establishes a connection to guacd using the GuacamoleConfiguration
associated with this Connection, and returns the resulting, connected
GuacamoleSocket.
|
org.glyptodon.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.
|
String |
getName()
Returns the name assigned to this Connection.
|
String |
getParentIdentifier()
Returns the unique identifier of the parent ConnectionGroup for
this Connection.
|
void |
setConfiguration(org.glyptodon.guacamole.protocol.GuacamoleConfiguration config)
Sets the GuacamoleConfiguration associated with this Connection.
|
void |
setIdentifier(String identifier)
Sets the identifier assigned to this Connection.
|
void |
setName(String name)
Sets the name assigned to this Connection.
|
void |
setParentIdentifier(String parentIdentifier)
Sets the unique identifier of the parent ConnectionGroup for
this Connection.
|
String getName()
void setName(String name)
name - The name to assign.String getIdentifier()
void setIdentifier(String identifier)
identifier - The identifier to assign.String getParentIdentifier()
void setParentIdentifier(String parentIdentifier)
parentIdentifier - The unique identifier of the parent
ConnectionGroup for this Connection.org.glyptodon.guacamole.protocol.GuacamoleConfiguration getConfiguration()
void setConfiguration(org.glyptodon.guacamole.protocol.GuacamoleConfiguration config)
config - The GuacamoleConfiguration to associate with this
Connection.org.glyptodon.guacamole.net.GuacamoleSocket connect(org.glyptodon.guacamole.protocol.GuacamoleClientInformation info)
throws org.glyptodon.guacamole.GuacamoleException
info - Information associated with the connecting client.org.glyptodon.guacamole.GuacamoleException - If an error occurs while connecting to guacd,
or if permission to connect is denied.List<? extends ConnectionRecord> getHistory() throws org.glyptodon.guacamole.GuacamoleException
org.glyptodon.guacamole.GuacamoleException - If an error occurs while reading the history
of this connection, or if permission is
denied.Copyright © 2014. All Rights Reserved.