Proxy
Object Hierarchy:
TelepathyGLib.Proxy
TelepathyGLib.Proxy
TelepathyGLib.Proxy
GLib.Object
GLib.Object
GLib.Object->TelepathyGLib.Proxy
Description:
[ CCode ( type_id = "tp_proxy_get_type ()" ) ] [ Version ( since = "0.7.1" ) ]public class Proxy : Object
Structure representing a Telepathy client-side proxy.
Content:
Properties:
public string bus_name { get ; construct ; }
The D-Bus bus name for this object.
public DBusDaemon dbus_daemon { get ; construct ; }
The D-Bus daemon for this object (this object itself, if it is a
TpDBusDaemon).
public SimpleClientFactory factory { get ; construct ; }
The
SimpleClientFactory used to create this proxy, or null
if this proxy was not created through a factory.
public string [] interfaces { owned get ; }
Known D-Bus interface names for this object.
public string object_path { get ; construct ; }
The D-Bus object path for this object.
Creation methods:
Methods:
public void dbus_error_to_gerror (string dbus_error, string debug_message) throws Error
Convert a D-Bus error name into a GError as if it was returned by a
method on this proxy.
public unowned string get_bus_name ()
public unowned DBusDaemon get_dbus_daemon ()
public unowned SimpleClientFactory get_factory ()
public unowned Error get_invalidated ()
public unowned string get_object_path ()
public bool has_interface (string iface)
Return whether this proxy is known to have a particular interface.
public bool has_interface_by_id (Quark iface)
Return whether this proxy is known to have a particular interface, by
its quark ID.
public bool is_prepared (Quark feature)
Return true
if feature
has been prepared
successfully, or false
if feature
has not been requested, has not been prepared yet, or is not available on
this object at all.
public async bool prepare_async (Quark []? features) throws Error
Proxy itself does not support any features,
but subclasses like Channel can support features, which can either be core
functionality like TP_CHANNEL_FEATURE_CORE
, or extended functionality like TP_CHANNEL_FEATURE_CHAT_STATES
.
Signals:
Inherited Members:
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