public abstract class AbstractActiveConnection extends AbstractIdentifiable implements ActiveConnection
| Constructor and Description |
|---|
AbstractActiveConnection() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConnectionIdentifier()
Returns the identifier of the connection being actively used.
|
String |
getRemoteHost()
Returns the hostname or IP address of the remote host that initiated the
connection, if known.
|
String |
getSharingProfileIdentifier()
Returns the identifier of the sharing profile being actively used.
|
Date |
getStartDate()
Returns the date and time the connection began.
|
org.apache.guacamole.net.GuacamoleTunnel |
getTunnel()
Returns the connected GuacamoleTunnel being used.
|
String |
getUsername()
Returns the name of the user who is using this connection.
|
void |
setConnectionIdentifier(String connnectionIdentifier)
Sets the identifier of the connection being actively used.
|
void |
setRemoteHost(String remoteHost)
Sets the hostname or IP address of the remote host that initiated the
connection.
|
void |
setSharingProfileIdentifier(String sharingProfileIdentifier)
Sets the identifier of the sharing profile being actively used.
|
void |
setStartDate(Date startDate)
Sets the date and time the connection began.
|
void |
setTunnel(org.apache.guacamole.net.GuacamoleTunnel tunnel)
Sets the connected GuacamoleTunnel being used.
|
void |
setUsername(String username)
Sets the name of the user who is using this connection.
|
equals, getIdentifier, hashCode, setIdentifierclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIdentifier, setIdentifiergetSharingCredentialspublic String getConnectionIdentifier()
ActiveConnectiongetConnectionIdentifier in interface ActiveConnectionpublic void setConnectionIdentifier(String connnectionIdentifier)
ActiveConnectionsetConnectionIdentifier in interface ActiveConnectionconnnectionIdentifier - The identifier of the connection being actively used.public String getSharingProfileIdentifier()
ActiveConnectiongetSharingProfileIdentifier in interface ActiveConnectionpublic void setSharingProfileIdentifier(String sharingProfileIdentifier)
ActiveConnectionsetSharingProfileIdentifier in interface ActiveConnectionsharingProfileIdentifier - The identifier of the sharing profile being actively used.public Date getStartDate()
ActiveConnectiongetStartDate in interface ActiveConnectionpublic void setStartDate(Date startDate)
ActiveConnectionsetStartDate in interface ActiveConnectionstartDate - The date and time the connection began, or null if this
information is not available.public String getRemoteHost()
ActiveConnectiongetRemoteHost in interface ActiveConnectionpublic void setRemoteHost(String remoteHost)
ActiveConnectionsetRemoteHost in interface ActiveConnectionremoteHost - The hostname or IP address of the remote host, or null if this
information is not available.public String getUsername()
ActiveConnectiongetUsername in interface ActiveConnectionpublic void setUsername(String username)
ActiveConnectionsetUsername in interface ActiveConnectionusername - The name of the user who is using this connection, or null if this
information is not available.public org.apache.guacamole.net.GuacamoleTunnel getTunnel()
ActiveConnectiongetTunnel in interface ActiveConnectionpublic void setTunnel(org.apache.guacamole.net.GuacamoleTunnel tunnel)
ActiveConnectionsetTunnel in interface ActiveConnectiontunnel - The connected GuacamoleTunnel, or null if permission is denied.Copyright © 2016. All rights reserved.