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

Hermínio Miguel Sanches hsanches at gmail.com
Fri Jul 14 10:14:58 EDT 2006


Many Thanks David
For now I am trying to put something very simple to work wich it seems to
do.
Later I will needed to use twisted.application.service.

Cheers

Miguel

On 7/14/06, David Pratt <fairwinds at eastlink.ca> wrote:
>
> 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
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20060714/45ea4fc7/attachment.htm 


More information about the Twisted-Python mailing list