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

2012-02-03 Thread Itamar Turner-Trauring
On 02/03/2012 01:11 AM, 月忧茗 wrote: > Thanks for reply > > Yes, of course. > > I followed the turotial , > And you ran the file using "twistd -y finger14.tac"? If you did it like that, output may not be visible since the program is daemonized by default. -n option will keep it from daemonizing, a

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

2012-02-03 Thread exarkun
On 06:11 am, yuey...@gmail.com wrote: >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() >se

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-03 Thread 月忧茗
Sorry, It should be this: application = service.Application('finger') f = FingerService() f.setServiceParent(application) serviceCollection = service.IServiceCollection(application) internet.TCPServer(9000, f.get_FingerFactory() ).setServiceParent(serviceCollection)

[Twisted-Python] regarding #5412

2012-02-03 Thread moses dsouza
Hi Is this #5412 valid ? I ask because there aren't any comments against this bug. I'll provide a patch on confirmation. regards moijes12 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/