DBusUtilities.addressGetStream

Asynchronously connects to an endpoint specified by @address and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation.

When the operation is finished, @callback will be invoked. You can then call g_dbus_address_get_stream_finish() to get the result of the operation.

This is an asynchronous failable function. See g_dbus_address_get_stream_sync() for the synchronous version.

struct DBusUtilities
static
void
addressGetStream

Parameters

address string

A valid D-Bus address.

cancellable Cancellable

A #GCancellable or %NULL.

callback GAsyncReadyCallback

A #GAsyncReadyCallback to call when the request is satisfied.

userData void*

Data to pass to @callback.

Meta

Since

2.26