[Twisted-Python] xmlrpc protocoll instanze per connection?

Alan Franzoni mailing at franzoni.eu
Thu Aug 5 09:32:13 EDT 2010

On 8/4/10 1:30 PM, Pet wrote:

> AFAIU this works only if Factory is subclassing
> protocol.ServerFactory, XMLRPCFactory subclasses server.Site, where
> protocol attribute is not present

server.Site subclasses  http.HTTPFactory which, in turns, subclasses


by the way, if I now understand your question: just subclass XMLRPC and
create your own xmlrpc resource class by adding methods like


then add such handler to your server.Site, and you're done. Your method
will be invoked once per request.

Alan Franzoni

More information about the Twisted-Python mailing list