[Twisted-Python] Twisted with PyQt
adigeaydin at gmail.com
Wed Dec 3 11:18:17 EST 2008
Yes, the point is Producer, i solved my problem.
2008/12/3 <glyph at divmod.com>
> On 11:13 am, adigeaydin at gmail.com wrote:
>> Actuallly i solved my problem but i have another one. I am sending file in
>> while loop, as you said before it doesnt send data pyhshically, i am
>> updating my progressBar in while loop, so the progressBar is being updated
>> before data being sent..
>> Is there any signal that self.transport.write() creates when data "really"
>> sent? May be i can update my progressBar with that signal..
> Sort of. You shouldn't call transport.write() in a loop, you should
> register a producer for the transport and call transport.write when it's
> ready. Documentation is here:
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
Uluslararası Bilgisayar Enstitüsü
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python