Commit graph

6 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
c729069c2b ping client: use async dial and a longer timeout 2024-12-07 20:35:51 +01:00
Florian Lüke
1d5a957043 port mnode_proto_ping_client to the new async work 2024-12-07 18:34:06 +01:00
Florian Lüke
4e4606c454 hide spdlog from mnode_nng.h 2024-12-07 17:36:59 +01:00
Florian Lüke
d3a5f2c75c refactor namespaces 2024-12-07 16:48:24 +01:00
Florian Lüke
07919d6795 async ping client and server 2024-12-07 16:12:40 +01:00