DBusConnection.closeSync

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

class DBusConnection
int
closeSync

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