[Twisted-Python] still no stop!

Bill la Forge laforge49 at yahoo.co.in
Fri May 21 08:20:08 MDT 2004


I've uninstalled twisted and re-installed.
 
Still no 'stop'! Here's my latest (true) test:
 
from twisted.application import service
from twisted.internet import reactor
class SimpleService(service.Service):
    def startService(self):
        service.Service.startService(self)
        print '>>>start'
    def stopService(self):
        print '>>>stop'
        service.Service.stopService(self)
        
from twisted.application import service
from twisted.internet import reactor
import simpleService
application = service.Application('testServer')
serviceCollection=service.IServiceCollection(application)
ss=simpleService.SimpleService()
ss.setServiceParent(serviceCollection)
reactor.stop()

C:\other\Bill\compstrm\compstrm\twbsd>twistd -noy testService.py
2004/05/21 19:45 India Standard Time [-] Log opened.
2004/05/21 19:45 India Standard Time [-] twistd 1.2.0 (C:\Python23\python.exe 2.
3.3) starting up
2004/05/21 19:45 India Standard Time [-] reactor class: twisted.internet.default
.SelectReactor
2004/05/21 19:45 India Standard Time [-] >>>start
2004/05/21 19:45 India Standard Time [-] Main loop terminated.
2004/05/21 19:45 India Standard Time [-] Server Shut Down.
C:\other\Bill\compstrm\compstrm\twbsd>
 
Is this an NT200 problem???
 
;-(
 


Bill la Forge
http://www.geocities.com/laforge49/
Yahoo! India Matrimony: Find your partner online.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20040521/fcc60f32/attachment.html>


More information about the Twisted-Python mailing list