Message80940
This is my explanation of dispatcher_with_send. As my english is far from
perfect and I'm not expirienced writing documentation you need to review
it and fix my mistakes.
class asyncore.dispatcher_with_send
This is class based on asyncore.dispatcher. The only difference that
unlike dispatcher.send which is direct mean to the socket.send() send()
of this class uses buffered io. At first all outgoing data saved to the
buffer and later it will send when socket becomes avaliable for write.
Thus dispatcher_with_send.send() will never return EWOULDBLOCK error.
Also you shuldn't overrdie writable() method as in this dispatcher it
will automatically return convient value depending weither output buffer
empty or not. |
|
| Date |
User |
Action |
Args |
| 2009-02-02 14:32:06 | exe | set | recipients:
+ exe, georg.brandl, josiahcarlson, giampaolo.rodola |
| 2009-02-02 14:32:05 | exe | set | messageid: <1233585125.84.0.575604944093.issue5097@psf.upfronthosting.co.za> |
| 2009-02-02 14:32:04 | exe | link | issue5097 messages |
| 2009-02-02 14:32:03 | exe | create | |
|