Gio.DBusMethodInvocation
const Gio = imports.gi.Gio; let dBusMethodInvocation = new Gio.DBusMethodInvocation();
Instances of the Gio.DBusMethodInvocation class are used when handling D-Bus method calls. It provides a way to asynchronously return results and errors.
The normal way to obtain a Gio.DBusMethodInvocation object is to receive it as an argument to the handle_method_call() function in a Gio.DBusInterfaceVTable that was passed to Gio.DBusConnection.prototype.register_object.
Since 2.26
Hierarchy
-
GObject.Object
- Gio.DBusMethodInvocation
Methods
- Gio.DBusMethodInvocation.prototype.get_connection
- Gio.DBusMethodInvocation.prototype.get_interface_name
- Gio.DBusMethodInvocation.prototype.get_message
- Gio.DBusMethodInvocation.prototype.get_method_info
- Gio.DBusMethodInvocation.prototype.get_method_name
- Gio.DBusMethodInvocation.prototype.get_object_path
- Gio.DBusMethodInvocation.prototype.get_parameters
- Gio.DBusMethodInvocation.prototype.get_property_info
- Gio.DBusMethodInvocation.prototype.get_sender
- Gio.DBusMethodInvocation.prototype.return_dbus_error
- Gio.DBusMethodInvocation.prototype.return_error_literal
- Gio.DBusMethodInvocation.prototype.return_gerror
- Gio.DBusMethodInvocation.prototype.return_value
- Gio.DBusMethodInvocation.prototype.return_value_with_unix_fd_list