RPC Client acts like a server

2008-07-14 Thread Utku Altinkaya
Hello,

I need a client that connects to the server and answers remote calls.
Is there a way to dot that using sandart xmlrpclib ? Currently I am
using Remote Python Call library, but looking for alternative
solutions as well.

regards
--
http://mail.python.org/mailman/listinfo/python-list


Boost reference container problem( std::vector)

2008-08-17 Thread Utku Altinkaya
Hello,

I am wrapping the reference container vector as document suggests.

typedef std::vector EntityContainer;

class_("Entity", init());

class_("EntityContainer")
.def(vector_indexing_suite() )
;

When I try to iterate in python all I get is the following error:
TypeError: No to_python (by-value) converter found for C++ type: class
CUEEntity *

As you can see CUEEntity is wrapped propery, and I am aable to access
and use that class without problems, I can not find the information on
adding return policies to wrapped container classes.

I will appreciate if you can point me solution or a sample.

regards
--
http://mail.python.org/mailman/listinfo/python-list