Tuesday, July 15, 2008

Stateful XML-RPC Server

Ironed out some bugs with the instantiation of the sugarbot activity in some corner cases. Now I'm working on the XMLRPC server implementation to be able to handle sessions. Looking for a graceful way to do it so that I can just use a mix-in with the ServerProxy class and not have to do any modification beyond that.

Essentially, I want to be able to automate do the following

someObject.setValue(foo)
someObject.someMethod(bar) === someObject.someMethod(foo,bar)

It looks like the __call__ property may be able to help me out with this.

No comments:

Post a Comment