[Twisted-Python] Looking for help dealing with ClientService reconnections

Kevin Conway kevinjacobconway at gmail.com
Sat May 7 17:02:17 MDT 2016


Thanks, glyph, for the correction. Also, thanks for reminding me that I'm
still living in twisted's past...

On Sat, May 7, 2016, 17:33 Glyph <glyph at twistedmatrix.com> wrote:

>
> On May 7, 2016, at 12:19 PM, Kevin Conway <kevinjacobconway at gmail.com>
> wrote:
>
> I'm still working through your code example and trying to get a better
> grasp of what, exactly, you're trying to implement as far as client
> behavior is concerned. In the meantime, it sounds, on the surface, like you
> are trying to implement a form of the ReconnectingClientFactory:
> http://twistedmatrix.com/documents/current/api/twisted.internet.protocol.ReconnectingClientFactory.html
> .
>
>
> Just to clear up this point: ReconnectingClientFactory is the old, bad way
> of doing things, that only works with connectTCP/connectSSL/connectUNIX et.
> al., and not with endpoints.  ClientService <
> https://twistedmatrix.com/documents/16.1.1/api/twisted.application.internet.ClientService.html>
> is the new, good way, only available since the latest release.
>
> -glyph
> _______________________________________________
> 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: </pipermail/twisted-python/attachments/20160507/7a25fd77/attachment-0002.html>


More information about the Twisted-Python mailing list