Interface TunnelCloseListener
Deprecated.
A listener whose tunnelClosed() hook will fire immediately before an
existing tunnel is closed.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Event hook which fires immediately before an existing tunnel is closed.
-
Method Details
-
tunnelClosed
Deprecated.Event hook which fires immediately before an existing tunnel is closed. The return value of this hook dictates whether the tunnel is allowed to be closed.- Parameters:
e- The TunnelCloseEvent describing the tunnel being closed and any associated credentials.- Returns:
- true if the tunnel should be allowed to be closed, 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 close event. Throwing an exception will also stop the tunnel from being closed.
-
Listenerinterface.