Re: stop/start client connections with loseConnection in ReconnectingClientFactory

"Chris Satterthwaite" <[email protected]> Fri, 22 Mar 2019 18:28:31 -0500
Newsgroups gmane.comp.python.twisted
Message-ID <[email protected]>
Hi Sean,

 

Thanks for the suggestion; I’ll take a look.

 

-Chris

 

 

From: Twisted-Python <[email protected]> On Behalf Of Sean DiZazzo
Sent: Friday, March 22, 2019 3:09 PM
To: Twisted general discussion <[email protected]>
Subject: Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

 

You may want to look at twisted.application.internet.ClientService <https://twistedmatrix.com/documents/18.7.0/api/twisted.application.internet.ClientService.html> .  It uses the new endpoints instead of the `connectTCP()` stuff.  Not sure if it applies in your situation, but it has all of the retry logic built in, so that may make it easier to work with.

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python