Re: [Twisted-Python] help me on startService ( service.Service )

2012-02-03 Thread
Collection) 2012/2/4 月忧茗 > > Oh, Thanks ! > It works! > > > application = service.Application('finger') > f = FingerService() > f.setServiceParent(application) > internet.TCPServer(9000, f.get_FingerFactory()) > > > > > 2012/2/4 > > On

Re: [Twisted-Python] help me on startService ( service.Service )

2012-02-03 Thread
Oh, Thanks ! It works! application = service.Application('finger') f = FingerService() f.setServiceParent(application) internet.TCPServer(9000, f.get_FingerFactory()) 2012/2/4 > On 06:11 am, yuey...@gmail.com wrote: > >Thanks for reply > > > >Yes, of course. > > > >I followed the turotial

Re: [Twisted-Python] help me on startService ( service.Service )

2012-02-02 Thread
Thanks for reply Yes, of course. I followed the turotial , ___ class FingerService(service.Service): ... def startService(self): print 'start service' application = service.Application('finger') f = FingerService() serviceCollection

[Twisted-Python] help me on startService ( service.Service )

2012-02-02 Thread
Hi, all I'm a new guy for twisted, I just study the example of finger14.tac at this page : http://twistedmatrix.com/documents/current/core/howto/tutorial/protocol.html But, *startService* not called when program running. Please help, thanks. Code like bellow: class FingerService(service.S