[Twisted-Python] Client to deal with multiple servers (Multiple Reactors?)
Christopher Armstrong
radix at twistedmatrix.com
Fri Jul 14 08:10:01 MDT 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
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
More information about the Twisted-Python
mailing list