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 protocol.ServerFactory: http://twistedmatrix.com/documents/10.0.0/api/twisted.web.server.Site.html by the way, if I now understand your question: just subclass XMLRPC and create your own xmlrpc resource class by adding methods like xmlrpc_somemethod xmlrpc_othermethod then add such handler to your server.Site, and you're done. Your method will be invoked once per request. Alan Franzoni _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python