Commit graph

4 commits

Author SHA1 Message Date
Florian Lüke
bf03a19820 add prototype nng reqrep based blocking protobuf rpc server and client
The code requires cc_generic_services = true in the service proto files.
nng_msg payload is:
  request format : size:u32 + serialized MethodCall
  response format: size:u32 + serialized MethodCallResponse

Dispatch is done using descriptors, message prototypes and protobuf.Any.
Error handling is missing apart from error logging.
2024-12-08 21:01:54 +01:00
Florian Lüke
7ab1af93e3 play with protos and service stub descriptors 2024-12-08 13:49:46 +01:00
Florian Lüke
78cab52b91 add sync reqrep ping pong 2024-11-21 22:23:52 +01:00
Florian Lüke
e316f2e95a cmake: require protobuf, generate mnode protobuf test lib 2024-11-21 21:27:30 +01:00