[Twisted-Python] Call Back for startService() !

Justin Venus justin.venus at gmail.com
Tue Jun 26 10:01:11 MDT 2012


Vinod,

This code[1] uses twisted as its foundation.  The project is rather
complex, but if you take a look at some of the service code and it
should give you some ideas on what you can do with twisted services.

https://github.com/JustinVenus/droned/blob/master/droned/services/journal.py#L127

Justin Venus

On Tue, Jun 26, 2012 at 10:20 AM,  <exarkun at twistedmatrix.com> wrote:
> On 07:45 am, vk.86.811 at gmail.com wrote:
>>Hi,
>>
>>   I want to execute something after the service starts. Is there any
>>call
>>back that I can associate with startService() ? I have checked the
>>documentation, but couldn't find anything as such :(
>
> startService is a callback.
>
> Jean-Paul
>>Thanks,
>>Vinodh
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python



-- 
Justin Venus
justin.venus at gmail.com




More information about the Twisted-Python mailing list