ch.ethz.ssh2
Class LocalPortForwarder
java.lang.Object
ch.ethz.ssh2.LocalPortForwarder
public class LocalPortForwarder
- extends 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). Checkout Connection.createLocalPortForwarder(int, String, int)
on how to create one.
- Version:
- 2.50, 03/15/10
- Author:
- Christian Plattner
|
Method Summary |
void |
close()
Stop TCP/IP forwarding of newly arriving connections. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
close
public void close()
throws IOException
- Stop TCP/IP forwarding of newly arriving connections.
- Throws:
IOException
Copyright © 2011. All Rights Reserved.