Boost logo

Boost :

Subject: Re: [boost] RemoteCall framework for RPC
From: Alex Marmer (amarmer_at_[hidden])
Date: 2015-05-17 03:32:44

Programmer needs to implement serialization for custom data (as it is shown for struct ABC in )Then advantage of the framework: C++ remote programming model is the same as local.
It can be any transport which synchronously sends and receives data, it is not implemented by framework.Assuming transport is implemented as API like bool TransportSendReceive(std::vector<char>& vChar), then to use framework, needs to be created class like:
struct RemoteCallTransport: public RemoteCall::Transport{   bool SendReceive(std::vector<char>& vChar) override   {      return TransportSendReceive(vChar);
   }} transport;
then client can call transport.CALL_REMOTE(Test)(parameters);


  On Saturday, May 16, 2015 11:51 PM, Andreas Schäfer <gentryx_at_[hidden]> wrote:


in which ways is your code superior to previous approaches? If I'm not
mistaken then you've introduced a custom serialization scheme that
simply transmits objects as a byte stream. I doubt that is important.
Also, which network transports do you support?


On 03:57 Sun 17 May    , Alex Marmer wrote:
> Hello,
> I created a C++ framework RemoteCall which allows to use RPC the same way as  local C++ calls are used.
> For declaration, implementation and call used macros: DECLARE_REMOTE, IMPLEMENT_REMOTE, CALL_REMOTE.Return and parameters (In and In/Out) can be any type except pointers. 
> For instance:  std::tuple<in, bool> DECLARE_REMOTE(Test)(std::vector<std::string>& vInOut, const std::wstring& sIn).
> Implementation is on
> Would it be useful to add this framework in Boost?
> Sincerely,Alex 
> _______________________________________________
> Unsubscribe & other changes:

Andreas Schäfer
HPC and Grid Computing
Department of Computer Science 3
Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
+49 9131 85-27910
PGP/GPG key via keyserver
This is Bunny. Copy and paste Bunny into your
signature to help him gain world domination!
Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at