[Twisted-Python] Client to deal with multiple servers (Multiple Reactors?)
David Pratt
fairwinds at eastlink.ca
Fri Jul 14 09:07:27 EDT 2006
Hi. I would recommend creating a multiservice and adding each server
connection as a service so you have control over starting and stopping
the services independently. Look at the documentation for services.
Regards
David
Hermínio Miguel Sanches wrote:
> Hi,
>
> I am new to twisted and I am trying to implement a simple client that
> needs to deal with several servers (windows platform).
> I would like to send from the client asynchronous requests to all the
> server, using TCP
> I think that a solution would be to use a reactor per server connection
> in the client, but that does not seems possible as the reactor is a
> singleton.
>
> Could some one give me an idea of how i can deal with this?
>
> Thank You
>
>
> Miguel Sanches
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
More information about the Twisted-Python
mailing list