The main function creates a Glib event loop, gets a connection to the session bus, and integrates the D-BUS event handling into the Glib event loop.
main函数创建一个Glib事件循环,获得会话总线的一个连接,并将D -BUS事件处理集成到Glib事件循环之中。
Because the dependencies for D-BUS are kept as small as possible, other applications that would like to use D-BUS don't have to worry about bloating dependencies.
由于尽可能地减少了D -BUS所需的依赖,所以其他可能会使用d - BUS的应用程序不用担心引入过多依赖。
D-BUS has several interesting features that make it look like a very promising candidate.
D - BUS有一些有趣的特性,使其像是一个非常有前途的选择。
D-BUS is essentially an implementation of inter-process communication (IPC).
D -BUS本质上是进程间通信(inter - process communication) (IPC)的一个实现。
Then a minimal D-BUS object is created and every second a signal is broadcast from the object.
然后创建一个最小限度的 D-BUS对象,这个对象每秒广播一个信号。
D-BUS is a lightweight yet powerful remote procedure call system with minimal overhead costs for the applications that wish to use it.
D - BUS是一个轻量级但是很强大的远程过程调用系统,为希望使用它的应用程序带来最小的开销代价。
Plans for the second phase, Portland 2.0, involve a service-oriented interprocess communication approach based on D-Bus interfaces.
第二个阶段Portland 2.0的计划包含基于d - Bus接口的面向服务的进程间通信机制。
Sending synthetic X events to applications is the key method to enabling full control of D-Bus and non-API applications.
要实现对d - Bus和没有提供API的应用程序的完全控制,向应用程序发送合成的X事件是一种重要方法。
A typical D-BUS setup will consist of several buses.
典型的D - BUS设置将由几个总线构成。
Now, let's walk through a few example uses of D-BUS code.
现在,让我们来接触一些使用 D-BUS 代码的示例。
D-BUS is easy to use from a developer's point of view.
从开发者的角度来看,D - BUS是易于使用的。
Even though D-BUS is relatively new, it has been adopted very quickly.
尽管D - BUS相对较新,但是却迅速地得到了采用。
To perform a method on a D-BUS object, you send the object a method call message.
要执行d -BUS对象的方法,您需要向对象发送一个方法调用消息。
The byte ordering is stated in each message, so if a D-BUS message travels over a network to a remote host, it can still be parsed correctly.
字节次序在每个消息中声明,所以如果一个D -BUS消息通过网络传输到远程的主机,它仍可以被正确地识别出来。
Conceptually, all applications that use D-BUS contain a set of objects, and messages are sent to and from specific objects — not applications — that are identified by an object path.
概念上,所有使用d -BUS的应用程序都包括一组对象,消息发送到或者发送自特定对象——不是应用程序——这些对象由对象路径来标识。
Finally, D-BUS is being developed under the umbrella of freedesktop.org, where interested members from GNOME, KDE, and elsewhere participate in the design and implementation.
最后,d - BUS正在freedesktop.org的保护下进行开发,在那里,来自GNOME、KDE以及其他组织的对此感兴趣的成员参与了设计与实现。
D-BUS was designed for desktop application and OS communication.
D - BUS设计用于桌面应用程序和OS通信。
D-BUS is under active public development by a group of very experienced programmers.
D - BUS正由一组非常有经验的程序员进行积极的公开开发。
You'll find info, downloads, documentation, and more at the D-BUS home page.
在D - BUS主页可以找到资料、下载、文档及更多内容。
Acceptance of D-BUS by early adopters is rapid, so it appears to have a rosy future on the Linux desktop.
D - BUS得到了早期采用者的迅速接受,因而它在Linux桌面领域似乎有一个乐观的未来。
The three primary things alarm tasks can do are display messages, run programs, or send messages over D-Bus to other applications.
警报任务可以执行三件主要事情:显示消息、运行程序和通过 D-Bus将消息发送给其他应用程序。
The three primary things alarm tasks can do are display messages, run programs, or send messages over D-Bus to other applications.
警报任务可以执行三件主要事情:显示消息、运行程序和通过 D-Bus将消息发送给其他应用程序。
应用推荐