|
Ganymed SSH-2 for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.ethz.ssh2.LocalStreamForwarder
public class LocalStreamForwarder
A 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).
| Method Summary | |
|---|---|
void |
close()
Close the underlying SSH forwarding channel and free up resources. |
java.io.InputStream |
getInputStream()
|
java.io.OutputStream |
getOutputStream()
Get the OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.io.InputStream getInputStream()
throws java.io.IOException
InputStream object.
java.io.IOException
public java.io.OutputStream getOutputStream()
throws java.io.IOException
flush method of the
OutputStream. To signal EOF, please use the
close method of the OutputStream.
OutputStream object.
java.io.IOException
public void close()
throws java.io.IOException
java.io.IOException
|
Ganymed SSH-2 for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||