[Twisted-Python] a question about self.factory in pb.Broker
Jean-Paul Calderone
exarkun at divmod.com
Mon Aug 25 12:28:36 MDT 2008
On Mon, 25 Aug 2008 19:22:10 +0100, A <aldoogy at gmail.com> wrote:
>Thanks,
>so out of curiosity , does Factory.buildProtocol() get called after
>PBClientFactory.clientConnectionMade(self,broker) ?
>http://twistedmatrix.com/trac/browser/tags/releases/twisted-8.1.0/twisted/spread/pb.py#L1088
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“.
Jean-Paul
More information about the Twisted-Python
mailing list