[Twisted-Python] a question about self.factory in pb.Broker

Jean-Paul Calderone exarkun at divmod.com
Mon Aug 25 14:28:36 EDT 2008

On Mon, 25 Aug 2008 19:22:10 +0100, A <aldoogy at gmail.com> wrote:
>so out of curiosity , does Factory.buildProtocol() get called after 
>PBClientFactory.clientConnectionMade(self,broker) ?

No, buildProtocol gets called first.

>Is the broker parameter a reference to the class rather than an instance of 
>Broker ?

The `broker´ parameter is an instance of `Broker´.


More information about the Twisted-Python mailing list