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, setIdentifierclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAttributes, getHistory, setAttributesgetIdentifier, setIdentifierconnect, getActiveConnectionspublic String getName()
ConnectiongetName in interface Connectionpublic void setName(String name)
ConnectionsetName in interface Connectionname - The name to assign.public String getParentIdentifier()
ConnectiongetParentIdentifier in interface Connectionpublic void setParentIdentifier(String parentIdentifier)
ConnectionsetParentIdentifier in interface ConnectionparentIdentifier - The unique identifier of the parent
ConnectionGroup for this Connection.public org.apache.guacamole.protocol.GuacamoleConfiguration getConfiguration()
ConnectiongetConfiguration in interface Connectionpublic void setConfiguration(org.apache.guacamole.protocol.GuacamoleConfiguration configuration)
ConnectionsetConfiguration in interface Connectionconfiguration - The GuacamoleConfiguration to associate with this
Connection.public Set<String> getSharingProfileIdentifiers() throws org.apache.guacamole.GuacamoleException
ConnectiongetSharingProfileIdentifiers in interface Connectionorg.apache.guacamole.GuacamoleException - If an error occurs while fetching the sharing profiles for this
connection.Copyright © 2017. All rights reserved.