public interface Connection extends Identifiable, Connectable
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
Returns all attributes associated with this connection.
|
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.
|
void |
setAttributes(Map<String,String> attributes)
Sets the given attributes.
|
void |
setConfiguration(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.GuacamoleConfiguration getConfiguration()
void setConfiguration(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 GuacamoleException
GuacamoleException
- If an error occurs while reading the history
of this connection, or if permission is
denied.Copyright © 2016. All rights reserved.