Hi,<br><br>I&#39;m currently trying to implement the JXTA standard (<a href="http://www.jxta.org">http://www.jxta.org</a>) in Python using twisted (because it seems to be the right choice). I&#39;ve implemented the basic parts that are not network related, that is, not much ;)<br clear="all">
<br>To make a correct JXTA peer (well designed to be modular and to be able to add services), I have cascade several services (I think they should be services, but I can be wrong, I&#39;m a real beginner with Twisted). For instance:<br>
network -&gt; TCP transport layer service -&gt; endpoint service -&gt; some other high level services -&gt; endpoint service -&gt; TCP transport layer (may not be the same as the first one).<br><br>Is there a sample somewhere that does something like this ? Each time an event is sent to a listener (the TCP transport layer, the endpoint, ...) that acts upon it. I&#39;ve tried to find some samples over the Internet, but perhaps someone has a pointer to help me ?<br>
<br>Matthieu<br>-- <br>French PhD student<br>Website : <a href="http://matthieu-brucher.developpez.com/">http://matthieu-brucher.developpez.com/</a><br>Blogs : <a href="http://matt.eifelle.com">http://matt.eifelle.com</a> and <a href="http://blog.developpez.com/?blog=92">http://blog.developpez.com/?blog=92</a><br>
LinkedIn : <a href="http://www.linkedin.com/in/matthieubrucher">http://www.linkedin.com/in/matthieubrucher</a>