[Twisted-Python] how to tap a DelayedCall?

James Y Knight foom at fuhm.net
Sat Jul 2 14:40:21 EDT 2005


On Jul 2, 2005, at 1:34 PM, Andrea Arcangeli wrote:

> On Sat, Jul 02, 2005 at 04:20:44AM +0200, Andrea Arcangeli wrote:
>
>> Now I think I can trivially move the callLater into the  
>> startFactory()
>> hook, and then it should work even with the tap file, but I  
>> wondered if
>>
>
> Well, sounds like there was nothing as easy as to move it in
> startFactory, I now arm the timer in startFactory and I cancel it in
> stopFactory and it works fine as expected and I can still use the  
> mktap
> trick to pass the params and -u/-g dynamically on the command line ;)

FYI, the -u and -g arguments were added to twistd for 2.0,

James




More information about the Twisted-Python mailing list