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 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
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref