DBus

时光毁灭记忆、已成空白 提交于 2019-12-06 08:39:49

D-Bus helps coordinate process lifecycle. It makes it simple and reliable to code a “single instance” (?) application or deamon, and to launch applications and deamons on demand when their services are needed.

 

D-Bus is designed for two specific use cases:

l  A “system bus” for notifications from the system to user sessions, and to allow the system to request input from user sessions

l  A “session bus” used to implement desktop environments such as GNOME and KDE

 

Converting a value from some other representation into the wire format is called marshaling and converting it back from the wire format is unmarshaling.

a block of marshaled values must have a known type signature.

a single complete type is a sequence of type codes that fully describes one type: a single complete type is a basic type code, a variant type code, an array with its element type, or a struct with its fields.

  • basic types: struct is entirely defined by their 1-character type code.

 

转载于:https://www.cnblogs.com/lauraxia/p/3750653.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!