Message91037
| Author |
nirs |
| Recipients |
josiahcarlson, nirs |
| Date |
2009年07月29日.11:59:11 |
| SpamBayes Score |
0.00011684528 |
| Marked as misclassified |
No |
| Message-id |
<1248868752.71.0.699377161.issue6550@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I'll check the patch this week.
The asyncore framework has low level events - handle_read_event, handle_write_event and
handle_expt_event - these events are not used for reading, writing and OOB - they are just
responsible to call the high level events.
The high level events - handle_connect, handle_accept, handle_read, handle_write,
handle_close and handle_expt should be used only for specific events.
I don't see any problem in checking for errors in handle_expt_event, it works just like
handle_read_event, that calls handle_connect.
This design allow you do replace the dispatcher with your own dispatcher class,
implementing only the low level events. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年07月29日 11:59:13 | nirs | set | recipients:
+ nirs, josiahcarlson |
| 2009年07月29日 11:59:12 | nirs | set | messageid: <1248868752.71.0.699377161.issue6550@psf.upfronthosting.co.za> |
| 2009年07月29日 11:59:11 | nirs | link | issue6550 messages |
| 2009年07月29日 11:59:11 | nirs | create |
|