DBusConnection.sendMessageWithReplyFinish

Finishes an operation started with g_dbus_connection_send_message_with_reply(). Note that error is only set if a local in-process error occurred. That is to say that the returned GDBusMessage object may be of type G_DBUS_MESSAGE_TYPE_ERROR. Use g_dbus_message_to_gerror() to transcode this to a GError. See Example 6, “D-Bus server example” and Example 8, “D-Bus UNIX File Descriptor example” for an example of how to use this low-level API to send and receive UNIX file descriptors. Since 2.26

class DBusConnection
sendMessageWithReplyFinish

Parameters

res AsyncResultIF

A GAsyncResult obtained from the GAsyncReadyCallback passed to g_dbus_connection_send_message_with_reply().

Return Value

A locked GDBusMessage or NULL if error is set. [transfer full]

Throws

GException on failure.

Meta