public interface Connection extends Identifiable, Connectable
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
Returns all attributes associated with this connection.
|
org.apache.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 |
getName()
Returns the name assigned to this Connection.
|
String |
getParentIdentifier()
Returns the unique identifier of the parent ConnectionGroup for
this Connection.
|
Set<String> |
getSharingProfileIdentifiers()
Returns identifiers of all readable sharing profiles that can be used to
join this connection when it is active.
|
void |
setAttributes(Map<String,String> attributes)
Sets the given attributes.
|
void |
setConfiguration(org.apache.guacamole.protocol.GuacamoleConfiguration config)
Sets the GuacamoleConfiguration associated with 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.
|
getIdentifier, setIdentifier
connect, getActiveConnections
String getName()
void setName(String name)
name
- The name to assign.String getParentIdentifier()
void setParentIdentifier(String parentIdentifier)
parentIdentifier
- The unique identifier of the parent
ConnectionGroup for this Connection.org.apache.guacamole.protocol.GuacamoleConfiguration getConfiguration()
void setConfiguration(org.apache.guacamole.protocol.GuacamoleConfiguration config)
config
- The GuacamoleConfiguration to associate with this
Connection.Map<String,String> getAttributes()
void setAttributes(Map<String,String> attributes)
attributes
- A map of all attribute identifiers to their corresponding values.List<? extends ConnectionRecord> getHistory() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while reading the history
of this connection, or if permission is
denied.Set<String> getSharingProfileIdentifiers() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while fetching the sharing profiles for this
connection.Copyright © 2017. All rights reserved.