DBusDaemon
Object Hierarchy:
TelepathyGLib.DBusDaemon
TelepathyGLib.DBusDaemon
TelepathyGLib.DBusDaemon
TelepathyGLib.Proxy
TelepathyGLib.Proxy
TelepathyGLib.Proxy->TelepathyGLib.DBusDaemon
GLib.Object
GLib.Object
GLib.Object->TelepathyGLib.Proxy
Description:
[
CCode ( type_id =
"tp_dbus_daemon_get_type ()" ) ]
[
Version ( since =
"0.7.1" ) ]
public sealed class DBusDaemon :
Proxy
A subclass of Proxy that represents the D-Bus daemon.
It mainly provides functionality to manage well-known names on the bus.
Content:
Static methods:
public static DBusDaemon dup () throws Error
Returns a proxy for signals and method calls on the D-Bus daemon on which
this process was activated (if it was launched by D-Bus service activation), or the session bus (otherwise).
public static void init_known_interfaces ()
Ensure that the known interfaces for TpDBusDaemon have been set up.
Creation methods:
Methods:
public unowned string get_unique_name ()
public void list_activatable_names (int timeout_ms, owned DBusDaemonListNamesCb callback, Object weak_object)
Call the ListActivatableNames method on the bus daemon, asynchronously.
public void list_names (int timeout_ms, owned DBusDaemonListNamesCb callback, Object weak_object)
Call the ListNames method on the bus daemon, asynchronously.
public void register_object (string object_path, Object object)
Export object
at object_path
.
public bool release_name (string well_known_name) throws Error
Release the given well-known name.
public bool request_name (string well_known_name, bool idempotent) throws Error
Claim the given well-known name without queueing, allowing replacement or
replacing an existing name-owner.
public void unregister_object (Object object)
Stop exporting object
on D-Bus.
public void watch_name_owner (string name, owned DBusDaemonNameOwnerChangedCb callback)
Arrange for callback
to be called with the owner of name
as soon as possible (which might even be before this function returns!), then again every time the ownership of name
changes.
Inherited Members:
All known members inherited from class TelepathyGLib.Proxy
All known members inherited from class GLib.Object