Development/Tutorials/D-Bus/Introduction

From KDE TechBase

Abstract

D-Bus is a Free/Open Source software interprocess communications (IPC) mechanism that is in widespread use by open source desktop software today. It is part of the freedesktop.org project and used in a wide range of applications. Examples include hotplug notifications on Linux, desktop search queries in strigi and as the primary means of IPC in KDE 4. This tutorial looks at the basic concepts of and terminology used in D-Bus from an application developer's perspective.

Tip
For more in depth looks at the D-Bus wire protocol, system bus or other information that is not covered in this tutorial, visit the D-Bus documentation page


Prerequisites

None.

What Is IPC

When To Use D-Bus

The Buses

Messages

Namespaces and Addresses

Interfaces

Services

Objects

Calling and Being Called

Methods

Signals

Useful Tools

qdbus

dbus-viewer

Other Resources