DBusMethodInvocation


Object Hierarchy:

GLib.DBusMethodInvocation GLib.DBusMethodInvocation GLib.DBusMethodInvocation GLib.Object GLib.Object GLib.Object->GLib.DBusMethodInvocation

Description:

[ CCode ( type_id = "g_dbus_method_invocation_get_type ()" ) ]
[ Version ( since = "2.26" ) ]
public sealed class DBusMethodInvocation : Object

Instances of the `GDBusMethodInvocation` 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 `GDBusMethodInvocation` object is to receive it as an argument to the `handle_method_call()` function in a [ type@Gio.DBusInterfaceVTable] that was passed to [method@Gio.DBusConnection.register_object].


Namespace: GLib
Package: gio-2.0

Content:

Creation methods:

Methods:

Inherited Members: