[Twisted-Python] Getting multiservice from running reactor

Jean-Paul Calderone exarkun at divmod.com
Mon May 7 12:51:33 EDT 2007


On Mon, 07 May 2007 13:26:36 -0300, David Pratt <fairwinds at eastlink.ca> wrote:
>Can someone advise if it possible to obtain a service or multiservice
>object from the reactor object. I am interested in status of services in 
>multiservice. Many thanks.

There isn't necessarily a MultiService associated with the reactor, or
there may be several.  Most likely, whichever code you have which is
interested in the state of a service should already have a reference
to it, so it can just check directly.

Jean-Paul




More information about the Twisted-Python mailing list