forked from paramiko/paramiko
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNOTES
More file actions
13 lines (10 loc) · 685 Bytes
/
NOTES
File metadata and controls
13 lines (10 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
+-------------------+ +-----------------+
(Socket)InputStream ---> | ssh2 transport | <===> | ssh2 channel |
(Socket)OutputStream --> | (auth, pipe) | N | (buffer) |
+-------------------+ +-----------------+
@ feeder thread | |
- read InputStream | +-> InputStream
- feed into channel +---> OutputStream
buffers
SIS <-- @ --> (parse, find chan) --> ssh2 chan: buffer <-- SSHInputStream
SSHOutputStream --> ssh2 chan --> ssh2 transport --> SOS [no thread]