Interface TunnelConnectListener
Deprecated.
A listener whose tunnelConnected() hook will fire immediately after a new
tunnel is connected.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Event hook which fires immediately after a new tunnel is connected.
-
Method Details
-
tunnelConnected
Deprecated.Event hook which fires immediately after a new tunnel is connected. The return value of this hook dictates whether the tunnel is made visible to the session.- Parameters:
e
- The TunnelConnectEvent describing the tunnel being connected and any associated credentials.- Returns:
- true if the tunnel should be allowed to be connected, or false if the attempt should be denied, causing the attempt to effectively fail.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while handling the tunnel connect event. Throwing an exception will also stop the tunnel from being made visible to the session.
-
Listener
interface.