public synchronized void stopAllLocalForwarding ( boolean killActiveTunnels ) throws SshException { for ( Enumeration < String > e = socketlisteners . keys ( ) ; e . hasMoreElements ( ) ; ) { stopLocalForwarding ( ( String ) e . nextElement ( ) , killActiveTunnels ) ; } }
Stop all local forwarding