Skip to content

dpfrey/D-Bus_Example

Repository files navigation

DBus Example

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.

How to Build

  1. mkdir build && cd build
  2. cmake -G Ninja ..
  3. ninja

How to Run

  1. ./basics_server
  2. ./basics_client

Things I am Not

  1. A DBus expert
  2. A GLib/GIO/GObject expert
  3. 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.

About

Basic D-Bus example program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published