Re: xmlrcp register classes

2005-09-05 Thread Sergio Rua
Hello, > class MyCombinedClass(MyClass1, MyClass2, MyClass3): > pass > > Server.register_instance(MyCombinedClass()) That was easy :) Thanks a lot. -- Sergio Rua -- http://mail.python.org/mailman/listinfo/python-list

Re: xmlrcp register classes

2005-09-05 Thread Brian Quinlan
Sergio Rua wrote: > Server = SimpleXMLRPCServer (('127.0.0.1',8080)) > > Server.register_instance(MyClass1()) > Server.register_instance(MyClass2()) > Server.register_instance(MyClass3()) > > What is seems to happen is that only the last class I register it is the > only one being exported. How c

xmlrcp register classes

2005-09-05 Thread Sergio Rua
Hello, I have a structured program with several classes which I would like to export using a xmlrpc server. I'm doing this Server = SimpleXMLRPCServer (('127.0.0.1',8080)) Server.register_instance(MyClass1()) Server.register_instance(MyClass2()) Server.register_instance(MyClass3()) What is seem