| java.lang.Object java.lang.Thread ch.ethz.ssh2.channel.StreamForwarder
StreamForwarder | public class StreamForwarder extends Thread (Code) | | A StreamForwarder forwards data between two given streams.
If two StreamForwarder threads are used (one for each direction)
then one can be configured to shutdown the underlying channel/socket
if both threads have finished forwarding (EOF).
author: Christian Plattner, plattner@inf.ethz.ch version: $Id: StreamForwarder.java,v 1.2 2006/02/13 21:19:25 cplattne Exp $ |
Method Summary | |
public void | run() |
|
|