public class TunnelCloseEvent extends Object implements UserEvent, CredentialEvent, TunnelEvent
Constructor and Description |
---|
TunnelCloseEvent(UserContext context,
Credentials credentials,
org.apache.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.apache.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.apache.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()
UserEvent
getUserContext
in interface UserEvent
public Credentials getCredentials()
CredentialEvent
getCredentials
in interface CredentialEvent
public org.apache.guacamole.net.GuacamoleTunnel getTunnel()
TunnelEvent
getTunnel
in interface TunnelEvent
Copyright © 2017. All rights reserved.