[Twisted-Python] Client to deal with multiple servers (Multiple Reactors?)

Christopher Armstrong radix at twistedmatrix.com
Fri Jul 14 10:10:01 EDT 2006

On 7/14/06, Hermínio Miguel Sanches <hsanches at gmail.com> wrote:
> Many Thanks Christopher for the quick answer

No worries.

> What I did was:
> 1) call only once reactor.run() after launching all the callbacks
> 2) instantiating pb.PBClientFactory() each time before a call to
> reactor.connectTCP() (to change the server)
> Please advise if I am doing something wrong.

That looks right. Is everything working well?

Christopher Armstrong
International Man of Twistery

More information about the Twisted-Python mailing list