[Twisted-Python] Best way to trigger a future connection with data

Laurens Van Houtven _ at lvh.io
Thu Jul 18 11:07:26 MDT 2013


Hi Nick,

You're pretty much there already. Instantiate a ClientFactory that holds
all the necessary state. By default, your protocol will have access to that
state through its factory attribute (unless you override the Factory's
buildProtocol method).

cheers
lvh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20130718/fca838dc/attachment-0002.html>


More information about the Twisted-Python mailing list