Hi List,

I am looking through cxxtools::remoteprocedure

https://github.com/maekitalo/cxxtools/blob/85bae88a734c26c1607042288a393c4bad15c751/include/cxxtools/remoteprocedure.h

trying to understand how everything works together.

I have some questions:

* I would assume that a remote procedure is like a method that can be run
remotely, perhaps similar to a function pointer or a resource identifier.
Why does the remote procedure hava a pointer to a client? Is the meaning of
remote procedure something else?

* Why is it possible to call setFault from the outside? I would expect a
fault to happen during execution and then the caller of the remoteprocedure
to call getFault to learn what went wrong.

*  Why is the remote procedure able to emit a signal? Shouldn't that come
from some kind of transport mechanism through which the procedure is called?

* I can't find RemoteProcedureBase in the apidoc - why isn't it in there,
perhaps I am looking in the wrong place?

* Why does the remote procedure need a composer? It doesn't seem to use it.
Shouldn't it then be in any derived class that actually needs it? Its not
even initialized?

* Could the arguments ai be replaced by a variadic template?

* What is the job of the Decomposers?

Thanks for your support!!!
Raphael
------------------------------------------------------------------------------
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to