DBusUtilities.addressGetStreamSync

Synchronously 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. This is a synchronous failable function. See g_dbus_address_get_stream() for the asynchronous version. Since 2.26

class DBusUtilities
static
addressGetStreamSync

Parameters

address string

A valid D-Bus address.

outGuid string

NULL or return location to store the GUID extracted from address, if any.

cancellable Cancellable

A GCancellable or NULL. [allow-none]

Return Value

Type: IOStream

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

Throws

GException on failure.

Meta