[PEAK] TwistedReactor

darryl developer at csrules.dyndns.org
Fri Nov 21 23:00:22 EST 2003


In the IRC bot we were discussing the other day on IRC we never 
explicitly called reactor.run() ?
-darryl

Phillip J. Eby wrote:

> At 04:50 PM 11/21/03 -0600, darryl wrote:
>
>> I've a problem getting my ITwistedReactor to autostart.
>>
>> As i understand it, if I call binding.Make(myclass,uponAssembly=True)
>>
>> The classes ITwistedReactor should start?
>>
>> -darryl
>
>
> The reactor doesn't "start" by itself.  You have to have a 
> 'reactor.run()' call somewhere.  What normally happens automatically 
> is that you have components register themselves with the reactor for 
> various kinds of things to happen.  Your main loop or main command 
> will actually run the reactor loop with reactor.run().
>
> _______________________________________________
> PEAK mailing list
> PEAK at eby-sarna.com
> http://www.eby-sarna.com/mailman/listinfo/peak






More information about the PEAK mailing list