ch.ethz.ssh2

Class LocalPortForwarder


public class LocalPortForwarder
extends java.lang.Object

A LocalPortForwarder forwards TCP/IP connections to a local port via the secure tunnel to another host (which may or may not be identical to the remote SSH-2 server).

Method Summary

void
close()
Stop TCP/IP forwarding of newly arriving connections.

Method Details

close

public void close()
            throws IOException
Stop TCP/IP forwarding of newly arriving connections.