Package svnmailer :: Module stream :: Class CuckooStream
[show private | hide private]
[frames | no frames]

Class CuckooStream

 object --+    
          |    
_BaseStream --+
              |
             CuckooStream


Stream wrapper, which provides a method to replace the stream
Method Summary
  replaceStream(self, stream)
Replaces the stream with another
    Inherited from _BaseStream
  __init__(self, stream)
Initialization
  __getattr__(self, name)
Delegates all undefined attributes to the stream
  close(self)
Closes the stream
  write(self, towrite)
Writes the data to the stream
  writelines(self, lines)
Write a list of strings
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...

Instance Variable Summary
    Inherited from _BaseStream
file stream: The wrapped stream

Method Details

replaceStream(self, stream)

Replaces the stream with another
Parameters:
stream - The new stream
           (type=file)

Generated by Epydoc 2.0 on Sun Sep 25 20:49:06 2005 http://epydoc.sf.net