> On May 7, 2016, at 12:19 PM, Kevin Conway <kevinjacobcon...@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
>  
> <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@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to