Package Products :: Package ZenUtils :: Module Utils :: Class LineReader
[hide private]
[frames] | no frames]

Class LineReader

source code

        object --+        
                 |        
threading._Verbose --+    
                     |    
      threading.Thread --+
                         |
                        LineReader

Simulate non-blocking readline() behavior.

Instance Methods [hide private]
 
__init__(self, stream)
@param stream {File-like object} input data stream
source code
 
run(self) source code
 
readline(self, timeout=0) source code

Inherited from threading.Thread: __repr__, getName, ident, isAlive, isDaemon, is_alive, join, name, setDaemon, setName, start

Inherited from threading.Thread (private): _block, _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Class Variables [hide private]
  daemon = True
Method Details [hide private]

__init__(self, stream)
(Constructor)

source code 

@param stream {File-like object} input data stream

Overrides: threading._Verbose.__init__

run(self)

source code 
Overrides: threading.Thread.run