<div>Hi, all <br></div><div><br></div><div>I&#39;m a new guy for twisted, </div><div>I just study the example of finger14.tac</div><div>at this page : <a href="http://twistedmatrix.com/documents/current/core/howto/tutorial/protocol.html">http://twistedmatrix.com/documents/current/core/howto/tutorial/protocol.html</a></div>
<div><br></div><div>But,  <strong>startService</strong> not called when program running.</div><div><br></div><div><br></div><div>Please help,  thanks.</div><div><br></div><div><br></div><div>Code like bellow:</div><div><br>
</div><div><br></div><div style="margin-left:0px!important">class FingerService(service.Service):</div><div style="margin-left:0px!important"><div><br></div></div><div style="margin-left:40px!important"><div>...<br></div>
</div><div style="margin-left:40px!important">def startService(self):</div><div style="margin-left:40px!important"><div><br></div></div><div style="margin-left:80px!important"><div><div>print &#39;start service&#39;<br></div>
<div>self.test_call()</div><div>service.Service.startService(self)</div><div><br></div><div><br></div><div><br></div></div></div><div>Noting output ,and test_call()  not called.</div>