This repository contains code to build a simple DBus client and server program. The client passes a
"greeting" to the server which will print "Hello [greeting]" and fill in an output parameter
indicating how many times the HelloWorld
function has been called. The server also registers a
timer which will expire a few times and then terminate the server.
mkdir build && cd build
cmake -G Ninja ..
ninja
./basics_server
./basics_client
- A DBus expert
- A GLib/GIO/GObject expert
- A CMake expert
What I'm trying to say is that this example works, but I can't guarantee that it's an idiomatic or optimal implementation.