[Twisted-Python] High-level view of Twisted

Andrew Bennetts andrew at bemusement.org
Mon Jan 31 22:15:34 MST 2011


Jason Heeris wrote:
[...]
> 2. What is a Factory, anyway? What are they *for*?

<http://twistedmatrix.com/documents/current/core/howto/glossary.html#Factory>
says:

  In general, an object that constructs other objects. In Twisted, a Factory
  usually refers to a twisted.internet.protocol.Factory, which constructs
  Protocol instances for incoming or outgoing connections. See Writing
  Servers and Writing Clients. 

(I couldn't resist the opportunity to link to the glossary after the recent
thread about it...)

-Andrew.





More information about the Twisted-Python mailing list