DBussy Example: The Useless Object Server
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
A new addition to my DBussy Examples repo <https://github.com/ldo/dbussy_examples>, <https://gitlab.com/ldo/dbussy_examples> is the Useless Object Server and accompanying Useless Object Client. The server allows creation and deletion of objects at specified paths, along with the attachment of a read/write string-valued “value” property to each object. There are also additional create-time, modify-time and access-time properties that are automatically maintained for each object as a result of accesses made to the “value” of each object. The server also sends signals reporting the creation and deletion of objects, and changes to the “value” property. The client goes through some basic exercising of the object-manipulation API, and also concurrently listens for the corresponding signals and reports them. It is worth noting that there is not a single line of XML anywhere in these two scripts: introspection data is produced automatically from the server-side interface-class definition, and used to dynamically generate the corresponding proxy interface class on the client side. _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus