Synchronously 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.
This constructor can only be used to initiate client-side connections - use gio.dbus_connection.DBusConnection.newSync if you need to act as the server. In particular, flags cannot contain the gio.types.DBusConnectionFlags.AuthenticationServer, gio.types.DBusConnectionFlags.AuthenticationAllowAnonymous or gio.types.DBusConnectionFlags.AuthenticationRequireSameUser flags.
This is a synchronous failable constructor. See gio.dbus_connection.DBusConnection.newForAddress for the asynchronous version.
If observer is not null it may be used to control the authentication process.
a D-Bus address
flags describing how to make the connection
a #GDBusAuthObserver or null
a #GCancellable or null
a #GDBusConnection or null if error is set. Free with gobject.object.ObjectG.unref.
Synchronously 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.
This constructor can only be used to initiate client-side connections - use gio.dbus_connection.DBusConnection.newSync if you need to act as the server. In particular, flags cannot contain the gio.types.DBusConnectionFlags.AuthenticationServer, gio.types.DBusConnectionFlags.AuthenticationAllowAnonymous or gio.types.DBusConnectionFlags.AuthenticationRequireSameUser flags.
This is a synchronous failable constructor. See gio.dbus_connection.DBusConnection.newForAddress for the asynchronous version.
If observer is not null it may be used to control the authentication process.