juanjo, you could use twisted.internet.task module to implement this, try LoopingCall, it's easy to use. more info in this page,http://twistedmatrix.com/projects/core/documentation/howto/time.html
2009-04-28 hoooooosety 发件人: Juanjo Conti 发送时间: 2009-04-28 08:07:26 收件人: twisted-python 抄送: 主题: [Twisted-Python] Polling from Twisted Hi, this is my first mail to the list. I am writing a server using Twisted, extending LineOnlyReceiver. In it I maintain a list of clients connected. I'd like to poll every client for certain status information every 30 seconds. Which is the correct approach to implement this? Thanks in advance, -- Juanjo Conti
_______________________________________________ Twisted-Python mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
