[Twisted-Python] How to implement progress/transfer speed/transfered bytes handlers?

Michael Scharf Michael_Scharf at gmx.de
Tue Nov 5 22:35:36 MST 2002


Hi,

I want to use twisted as nntp client. Is it possible to add
somewhere into the streams something like a progress bar or
something that reports the download speed or the total
transferred bytes? I have not looked too deeply into twisted,
but as I understand it it uses the Decorator pattern between
the connection and the actual handler. All I would need is
to add a little class somewhere in between each connection
and the handler, so that I can decorate the Protocol.dataReceived
events...

Michael

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!





More information about the Twisted-Python mailing list