Allows tunnel to be closed from the outside. Once a forwardTcp is called on a tunnel instance, it no longer respects close on the tunnel itself (or allows interrupting the thread). This is an alternative, session-wide method to stop a tunnel by its id (available as getId method).
Allows tunnel to be closed from the outside. Once a
forwardTcp
is called on a tunnel instance, it no longer respectsclose
on the tunnel itself (or allows interrupting the thread). This is an alternative, session-wide method to stop a tunnel by its id (available asgetId
method).