Re: [Twisted-Python] Twistd and application framework questions

2009-04-02 Thread Terry Jones
Hi Nadav, Itamar > "Itamar" == Itamar Shtull-Trauring writes: Itamar> On Wed, 2009-04-01 at 13:16 -0400, Nadav Aharony wrote: >> 1) The program uses multiple UDP/TCP clients and servers that are >> currently launched with reactor.listenTCP / UDP connectTCP/UDP etc. I've >> been using MultiSe

Re: [Twisted-Python] Twistd and application framework questions

2009-04-02 Thread Itamar Shtull-Trauring
On Wed, 2009-04-01 at 13:16 -0400, Nadav Aharony wrote: > 1) The program uses multiple UDP/TCP clients and servers that are > currently launched with reactor.listenTCP / UDP connectTCP/UDP etc. I've > been using MultiService, according to the twisted documentation. > Some of these services were

Re: [Twisted-Python] Twistd and application framework questions

2009-04-01 Thread Rob Hoadley
I can help you with this question: > 2)  There are still scenarios where I would want to run my code the > "reactor" way rather than than using the application framework, and I would > love to be able to keep a single file that's compatible with both modes.. > Is there a way to detect in runtime w

[Twisted-Python] Twistd and application framework questions

2009-04-01 Thread Nadav Aharony
Hello, I have finally gotten to a stage where I want to run my very large application as a daemonized twisted app, and I have two questions: 1) The program uses multiple UDP/TCP clients and servers that are currently launched with reactor.listenTCP / UDP connectTCP/UDP etc. I've been using M