list_connection_names


Description:


[ Version ( since = "0.7.1" ) ]
public void list_connection_names (DBusDaemon bus_daemon, owned ConnectionNameListCb callback, Object? weak_object)

List the bus names of all the connections that currently exist, together with the connection manager name and the protocol name for each connection.

Call the callback when done.

The bus names passed to the callback can be used to construct Connection objects for any connections that are of interest.

Parameters:

bus_daemon

proxy for the D-Bus daemon

callback

callback to be called when listing the connections succeeds or fails; not called if the D-Bus connection fails completely or if the weak_object goes away

weak_object

if not null, will be weakly referenced; the callback will not be called if the object has vanished

destroy

callback to destroy the user-supplied data, called after callback, but also if the D-Bus connection fails or if the weak_object goes away

user_data

user-supplied data for the callback


Namespace: TelepathyGLib
Package: telepathy-glib



2022 vala-language.org