[Twisted-Python] pb.Broker subclass question

David Pratt fairwinds at eastlink.ca
Mon Jun 12 12:16:06 EDT 2006

Hi Jean-Paul. Nothing too special - I have just added a couple of 
attributes for classes the subclassed Broker will use and a couple of 
notification methods back to the factory. Can you advise a method for 
this sort of subclassing that might work so Client and Server are fine 
with the subclassed Broker.


Jean-Paul Calderone wrote:
> On Mon, 12 Jun 2006 12:25:58 -0300, David Pratt <fairwinds at eastlink.ca> 
> wrote:
>> Hi. I'm interested in subclassing Broker to extend it. I've subclassed 
>> the PBServerFactory and PBClientFactory. The server starts with the 
>> new protocol class but the client is unable to communicate. I believe 
>> the client is not using the correct protocol since it gets it from 
>> Broker to start. Can someone provide some advice on a way to 
>> subclassing the client to have it use a subclassed Broker protocol. 
>> Many thanks
> What does your Broker subclass do?
> Jean-Paul
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list