summaryrefslogtreecommitdiff
path: root/NOTES
blob: 9e8ce06eb5a5c21e5c67c7d7ccf52153557371f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

                         +-------------------+       +-----------------+
(Socket)InputStream ---> |  secsh transport  | <===> |  secsh channel  |
(Socket)OutputStream --> |  (auth, pipe)     |   N   |  (buffer)       |
                         +-------------------+       +-----------------+
                          @  feeder thread             | |
                             - read InputStream        | +-> InputStream
                             - feed into channel       +---> OutputStream
                               buffers

SIS <-- @ --> (parse, find chan) --> secsh chan: buffer <-- SSHInputStream
SSHOutputStream --> secsh chan --> secsh transport --> SOS   [no thread]