bus_own_name_on_connection


Description:


[ Version ( since = "1.1" ) ]
public void bus_own_name_on_connection (DBusConnection connection, string name, BusNameOwnerFlags flags, out Future out_name_acquired_future, out Future out_name_lost_future)

Wrapper for [func@Gio.

bus_own_name].

Asks the D-Bus broker to own the well-known name name on the connection connection.

out_name_acquired_future is a future that awaits owning the name and either resolves to true, or rejects with an error.

out_name_lost_future is a future that rejects when the name was lost.

If either future is canceled, the name will be unowned.

Parameters:

connection

The [class@Gio.DBusConnection] to own a name on.

name

The well-known name to own.

flags

a set of flags with ownership options.

out_name_acquired_future

a location for the name acquired future

out_name_lost_future

a location for the name lost future


Namespace: Dex
Package: libdex-1