public class LocalPortForwarder
extends java.lang.Object
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). Checkout Connection.createLocalPortForwarder(int, String, int)
on how to create one.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop TCP/IP forwarding of newly arriving connections.
|