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.

struct 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.

Return: A #GIOStream or %NULL if @error is set.

Throws

GException on failure.

Meta

Since

2.26