public class TunnelConnectEvent extends Object implements CredentialEvent, TunnelEvent
Constructor and Description |
---|
TunnelConnectEvent(Credentials credentials,
net.sourceforge.guacamole.net.GuacamoleTunnel tunnel)
Creates a new TunnelConnectEvent which represents the connecting 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.
|
net.sourceforge.guacamole.net.GuacamoleTunnel |
getTunnel()
Returns the tunnel associated with this event, if any.
|
public TunnelConnectEvent(Credentials credentials, net.sourceforge.guacamole.net.GuacamoleTunnel tunnel)
credentials
- The credentials associated with the request
connecting the tunnel.tunnel
- The tunnel being connected.public Credentials getCredentials()
CredentialEvent
getCredentials
in interface CredentialEvent
public net.sourceforge.guacamole.net.GuacamoleTunnel getTunnel()
TunnelEvent
getTunnel
in interface TunnelEvent
Copyright © 2013. All Rights Reserved.