2003-11-04 03:34:24 -05:00
|
|
|
|
|
|
|
+-------------------+ +-----------------+
|
2003-11-10 03:49:50 -05:00
|
|
|
(Socket)InputStream ---> | ssh2 transport | <===> | ssh2 channel |
|
2003-11-04 03:34:24 -05:00
|
|
|
(Socket)OutputStream --> | (auth, pipe) | N | (buffer) |
|
|
|
|
+-------------------+ +-----------------+
|
|
|
|
@ feeder thread | |
|
|
|
|
- read InputStream | +-> InputStream
|
|
|
|
- feed into channel +---> OutputStream
|
|
|
|
buffers
|
|
|
|
|
2003-11-10 03:49:50 -05:00
|
|
|
SIS <-- @ --> (parse, find chan) --> ssh2 chan: buffer <-- SSHInputStream
|
|
|
|
SSHOutputStream --> ssh2 chan --> ssh2 transport --> SOS [no thread]
|
2003-11-04 03:34:24 -05:00
|
|
|
|