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