Boost logo

Boost :

From: Paolo Coletta (paolo_at_[hidden])
Date: 2008-03-21 11:01:05


Hi,

you could also take a look to this work by Jarl Lindrud
(http://www.codeproject.com/KB/threads/Rcf_Ipc_For_Cpp.aspx), which is
already based on boost (uses boost asio and boost serialization, but also
provides custom alternatives for both), but it's not in the form of a boost
library. In the past there has been some discussion about possible
integration between this library and boost.interface.
As a user, I'd highly appreciate to have one such library in boost (I'm
currently using the library by Lindrud in several projects).

Paolo

"salinda h" <salinda215_at_[hidden]> ha scritto nel messaggio
news:350da3070803210611o594a7ad9j57fe42e5edfa1152_at_mail.gmail.com...
> Hi All,
>
> For the google summer of code 2008, I wish to build a Cross
> Platform Remote Method Invocation Framework for C++ using Boost.Asio,
> similar to Java's remote method invocation (RMI). I will provide some
> macro
> definitions to create the proxy code.
>
> Please provide me your comments to adjust this idea to best suit the
> interests of boost community. I higly appreciate your suggestions.
>
> A sample code that will use this framework wold look like,
>
> account.h
> --------------
> DECLARE_BEGIN_PROXY(account)
> DECLARE_METHOD_1(deposit, void, double);
> DECLARE_METHOD_0(get_balance, double);
> DECLARE_END;
>
> class account
> {
> ..........
> .........
> }
>
> Server Code
> -----------------
> account acc = new account("Foo", 250);
> Server s = new server(server::TCP, 19000);
> s.attach("Foo", acc);
> s.run();
>
> Client Code
> ----------------
> account_proxy acct = account_proxy::get_proxy("172.25.44.195",
> server::TCP,
> 19000, "Foo");
> acct.deposit(100);
> double balance = acct.get_balance();
>
> Thank You,
> Salinda
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk