net.sourceforge.guacamole.net.event.listener
Interface TunnelCloseListener
public interface TunnelCloseListener
A listener whose tunnelClosed() hook will fire immediately after an
existing tunnel is closed.
- Author:
- Michael Jumper
tunnelClosed
boolean tunnelClosed(TunnelCloseEvent e)
throws net.sourceforge.guacamole.GuacamoleException
- Event hook which fires immediately after 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:
net.sourceforge.guacamole.GuacamoleException
- If an error occurs while handling the
tunnel close event. Throwing an exception
will also stop the tunnel from being closed.
Copyright © 2013. All Rights Reserved.