Blob Blame History Raw
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" id="tech-d-bus" xml:lang="ru">

  <info>
    <link type="guide" xref="tech" group="d-bus"/>
    <revision pkgversion="3.0" date="2011-04-05" status="candidate"/>

    <credit type="author copyright">
      <name>Shaun McCance</name>
      <email its:translate="no">shaunm@gnome.org</email>
      <years>2011–2012</years>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>

    <desc>Inter-process communication bus to provide APIs to other
    processes</desc>
  </info>

<title>D-Bus</title>

<p>D-Bus is a message bus for sending messages between
various applications, the desktop, and low-level components of the system.
D-Bus provides a simple API for sending messages to particular services
and for broadcasting messages to all interested services.  D-Bus enables
different types of applications to communicate and integrate with each
other and with the desktop, providing better interaction and a richer
experience for the user.  </p>

<p>D-Bus provides a session bus and a system bus.  The session bus is
used by applications in a single user session, allowing them to share
data and event notifications and to integrate into the user's desktop.
For example, movie players can send a D-Bus message to prevent the
screensaver from activating while the user is watching a movie.</p>

<p>Системная шина единственная в системе и работает независимо от сеансов пользователей. Она может взаимодействовать с приложениями в любом сеансе, позволяя приложениям взаимодействовать с системными компонентами без работы на низком уровне. Системная шина используется для обеспечения важной функциональности, которую пользователи ожидают от системы. Например, системная шина используется для слежением за включением и выключением сетевых интерфейсов, за подключением сетевых кабелей, а также состоянием батарей ноутбука.</p>

<p>D-Bus разработан совместно с <link href="http://www.freedesktop.org/">freedesktop.org</link>, поэтому его можно использовать с различными приложениями и средами рабочего стола. Проект D-Bus используется во многих средах рабочего стола, поэтому с его использованием можно создавать универсальные приложения, которые идеально интегрируются со средой рабочего стола пользователя независимо от того какая именно среда рабочего стола используется.</p>

  <p>GNOME provides full support for D-Bus using the GDBus APIs in
  <link xref="tech-gio">GIO</link>.</p>

<list style="compact">
  <item><p><link href="https://developer.gnome.org/gio/stable/">GIO Reference Manual</link></p></item>
  <item><p><link href="http://dbus.freedesktop.org/doc/dbus-tutorial.html">D-Bus Tutorial</link></p></item>
  <item><p><link href="http://dbus.freedesktop.org/doc/dbus-specification.html">D-Bus Specification</link></p></item>
</list>

</page>