
----- Original Message ----- From: "Daniel Larimer" <dlarimer@gmail.com> To: <boost@lists.boost.org> Sent: Sunday, February 07, 2010 3:52 AM Subject: [boost] Interest in Remote Procedure Call Library?
I have been playing with some code and recently developed a very efficient, extensible, and easy to use API for performing remote procedure calls (with multiple protocols). I am writing to gauge interest and get feedback on the user API. The native "protocol" is a custom combined tcp/udp protocol using multi-cast for discovery, but it would be very easy to add a shared memory solution, a dbus, XML/RPC, CORBA, etc back end to the user api.
Example:
class SomeClass { public: int add( int a, int b ) { return a + b ); void sub( int a, int b, int* result ) { if(result) *result = a -b; }; void inout( int& a ) { a += 5; } };
META_INTERFACE( SomeClass, METHOD(add) METHOD(sub) METHOD(inout) )
Hi, Does the library takes care of overloading? Could you show an example? Does the library takes care of exceptions? Could you show an example? Best, Vicente