[Twisted-Python] Send messages in an Infinite loop

Justin Venus justin.venus at gmail.com
Mon Jul 9 01:59:45 EDT 2012


Look at twisted.internet.task.LoopingCall.

Justin Venus
On Jul 9, 2012 12:53 AM, "kangta123" <kang7213 at gmail.com> wrote:

> Hello all:
>
> I am newbie to use twisted. I want to send message in an Infinite loop in
> server, such as send a timestamp each 5s to all clients. i have tried to
> use like "deferToThread"  and "callFromThread", but i am failed.if have any
> suggestions please tell me.
>
> thanks.
>
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20120709/cc1ac738/attachment.htm 


More information about the Twisted-Python mailing list