Re: [Twisted-Python] xmlrpc protocoll instanze per connection?

2010-08-09 Thread Pet
On Mon, Aug 9, 2010 at 3:18 PM, wrote: > On 12:07 pm, petshm...@googlemail.com wrote: >> >> [snip] >>> >>> If you want a new XMLRPC instance per request, then create a new one per >>> request.  http://twistedmatrix.com/documents/current/web/howto/web- in-60 >>> /dynamic-dispatch.html may help. >>

Re: [Twisted-Python] xmlrpc protocoll instanze per connection?

2010-08-09 Thread exarkun
On 12:07 pm, petshm...@googlemail.com wrote: [snip] If you want a new XMLRPC instance per request, then create a new one per request.  http://twistedmatrix.com/documents/current/web/howto/web- in-60 /dynamic-dispatch.html may help. This works for me too. getChild() returns for each request

Re: [Twisted-Python] xmlrpc protocoll instanze per connection?

2010-08-09 Thread Pet
On Thu, Aug 5, 2010 at 5:01 PM, wrote: > On 02:21 pm, petshm...@googlemail.com wrote: >> >> On Thu, Aug 5, 2010 at 3:32 PM, Alan Franzoni wrote: >>> >>> On 8/4/10 1:30 PM, Pet wrote: AFAIU this works only if Factory is subclassing protocol.ServerFactory, XMLRPCFactory subclasses s