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

Class CountStream

 object --+    
          |    
_BaseStream --+
              |
             CountStream


Dummy stream, which throws away all data
Method Summary
  __init__(self)
Initialization
  write(self, towrite)
throw away stuff and count the number of octets
  writelines(self, lines)
write lines
    Inherited from _BaseStream
  __getattr__(self, name)
Delegates all undefined attributes to the stream
  close(self)
Closes the stream
    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

__init__(self)
(Constructor)

Initialization
Overrides:
svnmailer.stream._BaseStream.__init__

write(self, towrite)

throw away stuff and count the number of octets
Overrides:
svnmailer.stream._BaseStream.write

writelines(self, lines)

write lines
Overrides:
svnmailer.stream._BaseStream.writelines

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