[Twisted-Python] Service dependencies
Eric Faurot
eric.faurot at gmail.com
Thu Jan 19 06:32:13 MST 2006
On 1/19/06, Matt Goodall <matt at pollenation.net> wrote:
> Hi,
> In other words, what is the recommended way of starting services in the
> correct order, including waiting for them to get initialised fully,
> these days?
I'd say if service B relies on servcie A, then B.startService
must explicitely call A.startService(). Of course, it requires that
A.startService
must be a noop if called more than once. Now for deferred, I'm not 100% sure,
but I don't think there is something very wrong returning a deferred in
startService.
Eric.
More information about the Twisted-Python
mailing list