[Twisted-Python] Example of re-usable ClientFactories?

Orestis Markou orestis at orestis.gr
Wed Jun 15 18:15:54 EDT 2011


On 15 Jun 2011, at 22:19, Glyph Lefkowitz wrote:

> On Jun 15, 2011, at 1:03 PM, Orestis Markou wrote:
> 
>> But, for most of the one-shot cases it seems that a ClientCreator (or an endpoint) would serve the same purpose, no?
> 
> I am not sure that I understand your message.  ClientFactory will be re-used if you re-use it; it won't be re-used if you don't.  There's no particularly compelling reason to do so or not to do so; just whatever happens to make sense within your application.

I should have been more specific - I'm looking for application examples or domains that re-using a ClientFactory makes sense. Just in case someone asks ;) 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110616/621e6855/attachment-0001.htm 


More information about the Twisted-Python mailing list