Companion

object Companion

Properties

Link copied to clipboard
open val type: <Error class: unknown class><DBusConnection>

Functions

Link copied to clipboard
fun new(stream: IOStream, guid: String? = null, flags: DBusConnectionFlags, observer: DBusAuthObserver? = null, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Asynchronously sets up a D-Bus connection for exchanging D-Bus messages with the end represented by @stream.

Link copied to clipboard
fun newFinish(res: AsyncResult): <Error class: unknown class><DBusConnection>

Finishes an operation started with g_dbus_connection_new().

Link copied to clipboard
fun newForAddress(address: String, flags: DBusConnectionFlags, observer: DBusAuthObserver? = null, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Asynchronously connects and sets up a D-Bus client connection for exchanging D-Bus messages with an endpoint specified by @address which must be in the D-Bus address * format.

Link copied to clipboard
fun newForAddressFinish(res: AsyncResult): <Error class: unknown class><DBusConnection>

Finishes an operation started with g_dbus_connection_new_for_address().