<div dir="ltr"><div><div><br></div>Hi all, <br><br></div><div>I am looking into twisted for writing a client application (bot style) and most of the examples I find are for server style applications. <br><br><br></div><div><div><br></div><div>Looking at the finger example and <a href="https://github.com/jdavisp3/twisted-intro/blob/master/twisted-server-3/fastpoetry.py">https://github.com/jdavisp3/twisted-intro/blob/master/twisted-server-3/fastpoetry.py</a> I am just wondering where is best to put my application logic.<br><br><br>The protocol is basically a ascii line style applicationĀ  <br><br><br>It feels to me that my Service should be the core and the protocol should just be something like <br><br>def send_mesage(message):<br><br><br><br></div><div><br><br><br></div><div><br><br><br><br clear="all"><div><div class="gmail_signature">Tim Hughes<br>mailto:<a href="mailto:thughes@thegoldfish.org" target="_blank">thughes@thegoldfish.org</a><br><br></div></div>
</div></div></div>