<br><br><div class="gmail_quote">2009/5/29 Michael Thompson <span dir="ltr">&lt;<a href="mailto:michaelnt@gmail.com">michaelnt@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2009/5/28  <span dir="ltr">&lt;<a href="mailto:glyph@divmod.com" target="_blank">glyph@divmod.com</a>&gt;</span><br><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><br>
On 01:23 am, <a href="mailto:asb.bush@gmail.com" target="_blank">asb.bush@gmail.com</a> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have just started to look at the Twisted framework and would like to put it<br>
to use for a new project I am working on.  Not being very familiar with the<br>
framework and fairly new to Python in general I would like to ask a<br>
design/architecture question.  (I have written similar applications in C but<br>
would prefer to start this in the right direction and not write Python like<br>
C.)<br>
</blockquote>
<br></div>
Thanks for asking!<br>
<br>
I apologize for the delay in my answer.  I started writing up a simple example (attached) but was discouraged to find that it was 100 lines long and required too much explaining.<br>
<br>
Then I started documenting it and explaining every line but that was a very long, tedious message.  So, it doesn&#39;t have much in the way of explanation; I hope you will find it useful regardless.</blockquote></div><div>
 <br>
Thanks for the very interesting example which I mainly follow apart from the lineReceived method in the ProxyClient, don&#39;t we need to add a callback to the deferred before appending it to the requestQueue?</div></div>
</blockquote><div><br>Oops I see now that the callback is added in the proxy server lineReceived.<br><br>Thanks, Michael<br></div></div><br>