[Twisted-Python] Hep and Twisted (Was: Twisted-webserver hangs when serving big files)
Itamar Shtull-Trauring
itamar at itamarst.org
Mon Jun 9 23:55:03 MDT 2003
On 10 Jun 2003 01:54:43 -0400
Abe Fettig <abe at fettig.net> wrote:
> This is a really natural fit for Hep and looks easy as pie to
> implement. One question, though. Say I run a server by creating a
> Factory and running application.listenTCP(myFactory, port). What's
> the preferred way to access services from inside that Factory?
Pass a reference to the service when creating factory? Or even, have
service manage the factory, calling reactor.listenTCP in its
startService.
--
Itamar Shtull-Trauring http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting
More information about the Twisted-Python
mailing list