[Twisted-Python] A question about ITransport.write()

2008-12-27 Thread Lian Cheng
Hi, all As a Twisted newbie, I read the Twisted documentation, and found that: 1. ITransport.write() doesn't return a deferred. 2. IProtocol doesn't have a dataSent() callback or something alike. Since ITransport.write() is a non-blocking call, how can I be informed when data sent by ITran

[Twisted-Python] Re: A question about ITransport.write()

2008-12-28 Thread Lian Cheng
Thanks Andrew! Andrew Bennetts 写道: Lian Cheng wrote: Hi, all As a Twisted newbie, I read the Twisted documentation, and found that: 1. ITransport.write() doesn't return a deferred. 2. IProtocol doesn't have a dataSent() callback or something alike. Since ITransport.write(