public class TunnelConnectEvent extends Object implements UserEvent, CredentialEvent, TunnelEvent
Constructor and Description |
---|
TunnelConnectEvent(UserContext context,
Credentials credentials,
org.apache.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.
|
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 TunnelConnectEvent(UserContext context, Credentials credentials, org.apache.guacamole.net.GuacamoleTunnel tunnel)
context
- The UserContext associated with the request connecting
the tunnel.credentials
- The credentials associated with the request connecting
the tunnel.tunnel
- The tunnel being connected.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.