Hi,
I'm new to gRPC. I've been reading everything available on the web site (
http://www.grpc.io) and running the C++ and Python examples. One thing that is not clear is how to integrate gRPC to processes developed using GLib (
https://developer.gnome.org/references), Qt (
http://www.qt.io/), or Twisted (
https://twistedmatrix.com/trac/).
Over the years I've written several applications (daemons) on Linux platforms. I often used some sort of a framework to design the main loop (e.g. GLib). Libraries like GLib or Twsited provide ways to hook up to the system (signals, interrupts, D-Bus, sysfs, etc...). For example, you may want to hook up a callback when a signal (e.g. SIGTERM) is sent to a daemon. Similarly, GLib, Qt, or Twisted provide ways to hook up to a D-Bus interface so that a daemon can process remote procedure calls over D-Bus. D-Bus, however, is (usually) limited to intra-processor RPC whereas gRPC allows for both intra- and inter-processor RPC.
My question is: Is it possible to add gRPC to a daemon (let's say a GLib-based daemon) and how would one go about doing something like this?