Development/Tutorials/D-Bus/Introduction: Difference between revisions

From KDE TechBase
m (s/DBUS/D-Bus)
Line 1: Line 1:
== Abstract ==
== Abstract ==


[http://www.freedesktop.org/wiki/Software/dbus DBUS] is a Free/Open Source software '''i'''nter'''p'''rocess '''c'''ommunications (IPC) mechanism that is in widespread use by open source desktop software today. It is part of the [http://freedesktop.org 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 DBUS from an application developer's perspective.
[http://www.freedesktop.org/wiki/Software/dbus D-Bus] is a Free/Open Source software '''i'''nter'''p'''rocess '''c'''ommunications (IPC) mechanism that is in widespread use by open source desktop software today. It is part of the [http://freedesktop.org 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 DBUS wire protocol, system bus or other information that is not covered in this tutorial, visit the [http://www.freedesktop.org/wiki/Software/dbus#head-9e9cf3221a30246219863f1d2366e36cb580debc DBUS documentation page]}}
{{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 [http://www.freedesktop.org/wiki/Software/dbus#head-9e9cf3221a30246219863f1d2366e36cb580debc D-Bus documentation page]}}


== Prerequisites ==
== Prerequisites ==
Line 10: Line 10:
== What Is IPC ==
== What Is IPC ==


== When To Use DBUS ==
== When To Use D-Bus ==


== The Buses ==
== The Buses ==

Revision as of 18:56, 26 December 2006

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