public abstract class AbstractActiveConnection extends Object implements ActiveConnection
| Constructor and Description |
|---|
AbstractActiveConnection() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConnectionIdentifier()
Returns the identifier of the connection being actively used.
|
String |
getIdentifier()
Returns the unique identifier assigned to this object.
|
String |
getRemoteHost()
Returns the hostname or IP address of the remote host that initiated the
connection, if known.
|
Date |
getStartDate()
Returns the date and time the connection began.
|
org.glyptodon.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 |
setIdentifier(String identifier)
Sets the identifier assigned to this object.
|
void |
setRemoteHost(String remoteHost)
Sets the hostname or IP address of the remote host that initiated the
connection.
|
void |
setStartDate(Date startDate)
Sets the date and time the connection began.
|
void |
setTunnel(org.glyptodon.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.
|
public String getIdentifier()
IdentifiablegetIdentifier in interface Identifiablepublic void setIdentifier(String identifier)
IdentifiablesetIdentifier in interface Identifiableidentifier - The identifier to assign.public String getConnectionIdentifier()
ActiveConnectiongetConnectionIdentifier in interface ActiveConnectionpublic void setConnectionIdentifier(String connnectionIdentifier)
ActiveConnectionsetConnectionIdentifier in interface ActiveConnectionconnnectionIdentifier - The identifier of the connection 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.glyptodon.guacamole.net.GuacamoleTunnel getTunnel()
ActiveConnectiongetTunnel in interface ActiveConnectionpublic void setTunnel(org.glyptodon.guacamole.net.GuacamoleTunnel tunnel)
ActiveConnectionsetTunnel in interface ActiveConnectiontunnel - The connected GuacamoleTunnel, or null if permission is denied.Copyright © 2015. All rights reserved.