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.
This constructor can only be used to initiate client-side connections - use gio.dbus_connection.DBusConnection.new_ 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.
When the operation is finished, callback will be invoked. You can then call gio.dbus_connection.DBusConnection.newForAddressFinish to get the result of the operation.
If observer is not null it may be used to control the authentication process.
This is an asynchronous failable constructor. See gio.dbus_connection.DBusConnection.newForAddressSync for the synchronous version.
a D-Bus address
flags describing how to make the connection
a #GDBusAuthObserver or null
a #GCancellable or null
a #GAsyncReadyCallback to call when the request is satisfied
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.
This constructor can only be used to initiate client-side connections - use gio.dbus_connection.DBusConnection.new_ 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.
When the operation is finished, callback will be invoked. You can then call gio.dbus_connection.DBusConnection.newForAddressFinish to get the result of the operation.
If observer is not null it may be used to control the authentication process.
This is an asynchronous failable constructor. See gio.dbus_connection.DBusConnection.newForAddressSync for the synchronous version.