Skip to content

bydottck13/test-sd-bus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

***** NOTICE *****

This is a D-BUS sample by using sd-bus includes testing to emit signals and to call methods with D-BUS architecture.

DESCRIPTIONS

There are other d-bus packages, like glib. However, accourding to the testing by IBM, sd-bus is the fastest, so building a Ubuntu IPC can hinge mainly on sd-bus. For more information concerning the performance, see here.

REQUIREMENTS

Testing OS: ubuntu-16.04.2-desktop-amd64

$ sudo apt-get install libsystemd-dev

BUILD CODE

$ make all	
$ ./serviced-a	

Open a new terminal

$ ./serviced-b

MISCELLANEOUS

Some useful tools for debugging:

  • D-Feet - install from Ubuntu Software
  • busctl - e.g. busctl --user tree INTERFACE_NAME
  • dbus-monitor - execute from CLI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors