Gio.DBusObjectManagerServer

const Gio = imports.gi.Gio;

let dBusObjectManagerServer = new Gio.DBusObjectManagerServer({
    object_path: value,
});
  

Gio.DBusObjectManagerServer is used to export Gio.DBusObject instances using the standardized [org.freedesktop.DBus.ObjectManager](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager) interface. For example, remote D-Bus clients can get all objects and properties in a single call. Additionally, any change in the object hierarchy is broadcast using signals. This means that D-Bus clients can keep caches up to date by only listening to D-Bus signals.

See Gio.DBusObjectManagerClient for the client-side code that is intended to be used with Gio.DBusObjectManagerServer or any D-Bus object implementing the org.freedesktop.DBus.ObjectManager interface.

Since 2.30

Hierarchy

  • GObject.Object
    • Gio.DBusObjectManagerServer