Just to add:
        
On 18 Apr 2008, at 01:32, Andrew McNabb wrote:
First, I think I understand the difference between protocol factories
and protocols, but I could use a little reassurance.  My current
understanding is that the protocol factory holds the state that is
common to all connections, whereas the protocol holds the state that is specific to a particular connection. Is that an accurate understanding?

While I would say that you shouldn't manage common state in your ServerFactory, for simple applications, it can be convenient to do so.

Matt

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to