> On 30. Nov 2020, at 05:48, Peter Westlake <peter.westl...@pobox.com> wrote:
>
>
> I'm studying an SSH client implementation using Conch, and was surprised to
> see that the ClientFactory subclass had a connect() method which calls
> connectTCP. This isn't really a problem - the code works - but it seems like
> an odd place to do the connection. Am I right to be surprised?
>
> Peter.
Hi Peter,
ClientFactory doesn’t define a connect method, so that’s probably just a custom
convenience method added by the author, rather than something involved in the
twisted interface. As for if it’s weird or not, that’s hard to say without
seeing the full implementation.
- Colin
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python