list_names


Description:

[ Version ( since = "0.7.35" ) ]
public void list_names (int timeout_ms, owned DBusDaemonListNamesCb callback, Object weak_object)

Call the ListNames method on the bus daemon, asynchronously.

The callback will be called from the main loop with a list of all the names (either unique or well-known) that exist on the bus.

In versions of telepathy-glib that have it, this should be preferred instead of calling tp_cli_dbus_daemon_call_list_names, since that function will result in wakeups for every NameOwnerChanged signal.

Parameters:

this

object representing a connection to a bus

timeout_ms

timeout for the call

callback

callback to be called on success or failure; must not be null

weak_object

if not null, a GObject which will be weakly referenced; if it is destroyed, callback will not be called at all

destroy

if not null, called with user_data as argument after the call has succeeded or failed, or after weak_object has been destroyed

user_data

opaque user-supplied data to pass to the callback