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,  <exar...@twistedmatrix.com> wrote:
> On 07:45 am, vk.86....@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@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python



-- 
Justin Venus
justin.ve...@gmail.com

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to