[Twisted-Python] Polling from Twisted
hoooooosety
hoooooosety at gmail.com
Tue Apr 28 03:33:54 EDT 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20090428/4565ba4a/attachment.htm
More information about the Twisted-Python
mailing list