Hello everybody,<br>I&#39;m running Twisted 2.5 on 32-bit Ubuntu Linux (tested with both Feisty and Gutsy) and python2.5. All packages are the distro&#39;s own ones.<br><br>I&#39;m experiencing a small problem with the broker&#39;s connectionReady method on the server side of the PB connection. It&#39;s not huge and doesn&#39;t cause problems in real-world applications, but it&#39;s making more difficult for me to write a proper unit test.
<br><br>&nbsp;According to the docs, connectionReady is called as soon as Banana negotiation is done. This is true on the client side; connectionReady gets called before the client can get the root object from the server.<br><br>
But this is not true on the server side; as you can see from the printout of the attached file, the client says it already has got the server&#39;s root object but the connectionready hasn&#39;t been called on the server yet.
<br><br>In order to be sure connectionReady has been called on the server side, I must trigger an additional callRemote.<br><br>I suppose there&#39;s some sort of caching or lazy behaviour implied here. Did I do something wrong? How can I force connectionReady to be called on the server side *before* the client can actually fetch the root object&#39;s remotereference?
<br clear="all"><br>Thanks.<br><br>-- <br>Alan Franzoni &lt;<a href="mailto:alan.franzoni.xyz@gmail.com">alan.franzoni.xyz@gmail.com</a>&gt;<br>-<br>Togli .xyz dalla mia email per contattarmi.<br>Remove .xyz from my address in order to contact me.
<br>-<br>GPG Key Fingerprint (Key ID = FE068F3E):<br>5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E