public class LocalStreamForwarder
extends java.lang.Object
LocalStreamForwarder forwards an Input- and Outputstream
pair via the secure tunnel to another host (which may or may not be identical
to the remote SSH-2 server).| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the underlying SSH forwarding channel and free up resources.
|
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream()
Get the OutputStream.
|
public java.io.InputStream getInputStream()
InputStream object.public java.io.OutputStream getOutputStream()
flush method of the
OutputStream. To signal EOF, please use the
close method of the OutputStream.OutputStream object.public void close()
throws java.io.IOException
java.io.IOException