|
Packit |
1470ea |
|
|
Packit |
1470ea |
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" id="tech-d-bus" xml:lang="gl">
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<info>
|
|
Packit |
1470ea |
<link type="guide" xref="tech" group="d-bus"/>
|
|
Packit |
1470ea |
<revision pkgversion="3.0" date="2011-04-05" status="candidate"/>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<credit type="author copyright">
|
|
Packit |
1470ea |
<name>Shaun McCance</name>
|
|
Packit |
1470ea |
<email its:translate="no">shaunm@gnome.org</email>
|
|
Packit |
1470ea |
<years>2011–2012</years>
|
|
Packit |
1470ea |
</credit>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<desc>Inter-process communication bus to provide APIs to other
|
|
Packit |
1470ea |
processes</desc>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
|
|
Packit |
1470ea |
<mal:name>Fran Dieguez</mal:name>
|
|
Packit |
1470ea |
<mal:email>frandieguez@gnome.org</mal:email>
|
|
Packit |
1470ea |
<mal:years>2009-2013.</mal:years>
|
|
Packit |
1470ea |
</mal:credit>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
|
|
Packit |
1470ea |
<mal:name>Leandro Regueiro</mal:name>
|
|
Packit |
1470ea |
<mal:email>leandro.regueiro@gmail.com</mal:email>
|
|
Packit |
1470ea |
<mal:years>2011.</mal:years>
|
|
Packit |
1470ea |
</mal:credit>
|
|
Packit |
1470ea |
</info>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<title>D-Bus</title>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
D-Bus is a message bus for sending messages between
|
|
Packit |
1470ea |
various applications, the desktop, and low-level components of the system.
|
|
Packit |
1470ea |
D-Bus provides a simple API for sending messages to particular services
|
|
Packit |
1470ea |
and for broadcasting messages to all interested services. D-Bus enables
|
|
Packit |
1470ea |
different types of applications to communicate and integrate with each
|
|
Packit |
1470ea |
other and with the desktop, providing better interaction and a richer
|
|
Packit |
1470ea |
experience for the user.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
D-Bus provides a session bus and a system bus. The session bus is
|
|
Packit |
1470ea |
used by applications in a single user session, allowing them to share
|
|
Packit |
1470ea |
data and event notifications and to integrate into the user's desktop.
|
|
Packit |
1470ea |
For example, movie players can send a D-Bus message to prevent the
|
|
Packit |
1470ea |
screensaver from activating while the user is watching a movie.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
O bus do sistema é un bus dun só mensaxe que se executa independentemente de calquera sesión de usuario. Pódese comunicar cos aplicativos de calquera sesión, permitindo a ditos aplicativos interactuar cos compoñentes do sistema sen ter que tratar con detalles de baixo nivel do sistema. O bus do sistema úsase para fornecer unha funcionalidade importante que os usuarios agardan que funcione nos seus sistemas. Por exemplo, o bus do sistema úsase para monitorizar cando as interfaces de rede se conectan ou desconectan, cando se conectan unidades externas e cando a batería do sistema está baixa.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
D-Bus é desenvolvido conxuntamente en <link href="http://www.freedesktop.org/">freedesktop.org</link>, de tal forma que pode usalo con diferentes contornos de escritorio e aplicativos. Debido a que D-Bus é un proxecto multiescritorio, pode usalo para crear software portábel e versátil que se integre dun modo transparente co escritorio do usuario, independente de que escritorio sexa.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
GNOME provides full support for D-Bus using the GDBus APIs in
|
|
Packit |
1470ea |
<link xref="tech-gio">GIO</link>.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<list style="compact">
|
|
Packit |
1470ea |
<item><link href="https://developer.gnome.org/gio/stable/">GIO Reference Manual</link> </item>
|
|
Packit |
1470ea |
<item><link href="http://dbus.freedesktop.org/doc/dbus-tutorial.html">Titorial de D-Bus</link> </item>
|
|
Packit |
1470ea |
<item><link href="http://dbus.freedesktop.org/doc/dbus-specification.html">Especificación de D-Bus</link> </item>
|
|
Packit |
1470ea |
</list>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
</page>
|