public interface ActiveConnection extends Identifiable, Shareable<SharingProfile>
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.
|
getIdentifier, setIdentifier
getSharingCredentials
String getConnectionIdentifier()
void setConnectionIdentifier(String connnectionIdentifier)
connnectionIdentifier
- The identifier of the connection being actively used.String getSharingProfileIdentifier()
void setSharingProfileIdentifier(String sharingProfileIdentifier)
sharingProfileIdentifier
- The identifier of the sharing profile being actively used.Date getStartDate()
void setStartDate(Date startDate)
startDate
- The date and time the connection began, or null if this
information is not available.String getRemoteHost()
void setRemoteHost(String remoteHost)
remoteHost
- The hostname or IP address of the remote host, or null if this
information is not available.String getUsername()
void setUsername(String username)
username
- The name of the user who is using this connection, or null if this
information is not available.org.apache.guacamole.net.GuacamoleTunnel getTunnel()
void setTunnel(org.apache.guacamole.net.GuacamoleTunnel tunnel)
tunnel
- The connected GuacamoleTunnel, or null if permission is denied.Copyright © 2016. All rights reserved.