DBusConnection.flushSync

Synchronously flushes connection. The calling thread is blocked until this is done. See g_dbus_connection_flush() for the asynchronous version of this method and more details about what it does. Since 2.26

class DBusConnection
int
flushSync

Parameters

cancellable Cancellable

A GCancellable or NULL. [allow-none]

Return Value

Type: int

TRUE if the operation succeeded, FALSE if error is set.

Throws

GException on failure.

Meta