public abstract class AbstractConnection extends AbstractIdentifiable implements Connection
Constructor and Description |
---|
AbstractConnection() |
Modifier and Type | Method and Description |
---|---|
org.apache.guacamole.protocol.GuacamoleConfiguration |
getConfiguration()
Returns the GuacamoleConfiguration associated with this Connection.
|
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 |
setConfiguration(org.apache.guacamole.protocol.GuacamoleConfiguration configuration)
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.
|
equals, getIdentifier, hashCode, setIdentifier
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAttributes, getHistory, setAttributes
getIdentifier, setIdentifier
connect, getActiveConnections
public String getName()
Connection
getName
in interface Connection
public void setName(String name)
Connection
setName
in interface Connection
name
- The name to assign.public String getParentIdentifier()
Connection
getParentIdentifier
in interface Connection
public void setParentIdentifier(String parentIdentifier)
Connection
setParentIdentifier
in interface Connection
parentIdentifier
- The unique identifier of the parent
ConnectionGroup for this Connection.public org.apache.guacamole.protocol.GuacamoleConfiguration getConfiguration()
Connection
getConfiguration
in interface Connection
public void setConfiguration(org.apache.guacamole.protocol.GuacamoleConfiguration configuration)
Connection
setConfiguration
in interface Connection
configuration
- The GuacamoleConfiguration to associate with this
Connection.public Set<String> getSharingProfileIdentifiers() throws org.apache.guacamole.GuacamoleException
Connection
getSharingProfileIdentifiers
in interface Connection
org.apache.guacamole.GuacamoleException
- If an error occurs while fetching the sharing profiles for this
connection.Copyright © 2016. All rights reserved.