org.glyptodon.guacamole.net.event
public class TunnelCloseEvent extends Object implements UserEvent, CredentialEvent, TunnelEvent
| Constructor and Description |
|---|
TunnelCloseEvent(UserContext context,
Credentials credentials,
org.glyptodon.guacamole.net.GuacamoleTunnel tunnel)
Creates a new TunnelCloseEvent which represents the closing of the
given tunnel via a request associated with the given credentials.
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
getCredentials()
Returns the current credentials of the user triggering the event, if any.
|
org.glyptodon.guacamole.net.GuacamoleTunnel |
getTunnel()
Returns the tunnel associated with this event, if any.
|
UserContext |
getUserContext()
Returns the current UserContext of the user triggering the event, if any.
|
public TunnelCloseEvent(UserContext context, Credentials credentials, org.glyptodon.guacamole.net.GuacamoleTunnel tunnel)
context - The UserContext associated with the request closing
the tunnel.credentials - The credentials associated with the request that
connected the tunnel.tunnel - The tunnel being closed.public UserContext getUserContext()
UserEventgetUserContext in interface UserEventpublic Credentials getCredentials()
CredentialEventgetCredentials in interface CredentialEventpublic org.glyptodon.guacamole.net.GuacamoleTunnel getTunnel()
TunnelEventgetTunnel in interface TunnelEventCopyright © 2014. All Rights Reserved.