Package paramiko :: Module pipe
[frames] | no frames]

Module pipe

source code

Abstraction of a one-way pipe where the read end can be used in select(). Normally this is trivial, but Windows makes it nearly impossible.

The pipe acts like an Event, which can be set or cleared. When set, the pipe will trigger as readable in select().

Classes
  PosixPipe
  WindowsPipe
On Windows, only an OS-level "WinSock" may be used in select(), but reads and writes must be to the actual socket object.
  OrPipe
Functions
 
make_pipe() source code
 
make_or_pipe(pipe)
wraps a pipe into two pipe-like objects which are "or"d together to affect the real pipe.
source code
Variables
  __package__ = 'paramiko'
Function Details

make_or_pipe(pipe)

source code 

wraps a pipe into two pipe-like objects which are "or"d together to affect the real pipe. if either returned pipe is set, the wrapped pipe is set. when both are cleared, the wrapped pipe is cleared.