DBus

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.html

 

D-Bus is designed for two specific use cases:session

l  A 「system bus」 for notifications from the system to user sessions, and to allow the system to request input from user sessionsapp

l  A 「session bus」 used to implement desktop environments such as GNOME and KDEdom

 

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

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

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.orm

  • basic types: struct is entirely defined by their 1-character type code.
相關文章
相關標籤/搜索