Part of bzrlib.transport.ssh View In Hierarchy
This class is also socket-like enough to be used with SocketAsChannelAdapter (it has 'send' and 'recv' methods).
Method | __init__ | Constructor. |
Method | send | Undocumented |
Method | recv | Undocumented |
Method | close | Undocumented |
Method | get_sock_or_pipes | Returns a (kind, io_object) pair. |
Parameters | proc | a subprocess.Popen |
sock | if proc.stdin/out is a socket from a socketpair, then sock should bzrlib's half of that socketpair. If not passed, proc's stdin/out is assumed to be ordinary pipes. |