~ubuntu-branches/ubuntu/maverick/telepathy-glib/maverick

« back to all changes in this revision

Viewing changes to docs/reference/html/telepathy-glib-client.html

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2010-05-10 17:59:54 UTC
  • mfrom: (1.6.1 upstream) (27.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100510175954-bxvqq3xx0sy4itmp
Tags: 0.11.5-1
New upstream version with new API/ABI

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch-client.html" title="Client-side proxies">
9
9
<link rel="prev" href="telepathy-glib-channel-request.html" title="TpChannelRequest">
10
10
<link rel="next" href="ch-service-dbus.html" title="Service-side D-Bus interfaces">
11
 
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="chapter" href="ch-dbus.html" title="General D-Bus support">
14
 
<link rel="chapter" href="ch-protocol.html" title="The Telepathy protocol">
15
 
<link rel="chapter" href="ch-client.html" title="Client-side proxies">
16
 
<link rel="chapter" href="ch-service-dbus.html" title="Service-side D-Bus interfaces">
17
 
<link rel="chapter" href="ch-service-base.html" title="Service-side implementation">
18
 
<link rel="chapter" href="ch-service-handles.html" title="Service-side handle repositories">
19
 
<link rel="chapter" href="ch-utilities.html" title="Utilities">
20
13
</head>
21
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
22
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
51
44
 
52
45
                    <a class="link" href="telepathy-glib-client.html#TpClient-struct" title="TpClient">TpClient</a>;
53
46
                    <a class="link" href="telepathy-glib-client.html#TpClientClass" title="TpClientClass">TpClientClass</a>;
54
 
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-client.html#tp-client-init-known-interfaces" title="tp_client_init_known_interfaces ()">tp_client_init_known_interfaces</a>     (void);
 
47
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-client.html#tp-client-init-known-interfaces" title="tp_client_init_known_interfaces ()">tp_client_init_known_interfaces</a>     (<em class="parameter"><code><span class="type">void</span></code></em>);
55
48
 
56
49
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-client.html#tp-cli-client-observer-callback-for-observe-channels" title="tp_cli_client_observer_callback_for_observe_channels ()">*tp_cli_client_observer_callback_for_observe_channels</a>)
57
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
58
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
59
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
60
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
50
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
51
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
52
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
53
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
61
54
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-client.html#tp-cli-client-observer-call-observe-channels" title="tp_cli_client_observer_call_observe_channels ()">tp_cli_client_observer_call_observe_channels</a>
62
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
63
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
64
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Account,
65
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Connection,
66
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Channels,
67
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Dispatch_Operation,
68
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Requests_Satisfied,
69
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *in_Observer_Info,
70
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-observer-callback-for-observe-channels" title="tp_cli_client_observer_callback_for_observe_channels ()"><span class="returnvalue">tp_cli_client_observer_callback_for_observe_channels</span></a> callback,
71
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
72
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
73
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
55
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
56
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
57
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Account</code></em>,
 
58
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Connection</code></em>,
 
59
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Channels</code></em>,
 
60
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Dispatch_Operation</code></em>,
 
61
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Requests_Satisfied</code></em>,
 
62
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Observer_Info</code></em>,
 
63
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-observer-callback-for-observe-channels" title="tp_cli_client_observer_callback_for_observe_channels ()"><span class="type">tp_cli_client_observer_callback_for_observe_channels</span></a> callback</code></em>,
 
64
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
65
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
66
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
74
67
 
75
68
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-client.html#tp-cli-client-handler-callback-for-handle-channels" title="tp_cli_client_handler_callback_for_handle_channels ()">*tp_cli_client_handler_callback_for_handle_channels</a>)
76
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
77
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
78
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
79
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
69
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
70
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
71
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
72
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
80
73
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-client.html#tp-cli-client-handler-call-handle-channels" title="tp_cli_client_handler_call_handle_channels ()">tp_cli_client_handler_call_handle_channels</a>
81
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
82
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
83
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Account,
84
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Connection,
85
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Channels,
86
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Requests_Satisfied,
87
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> in_User_Action_Time,
88
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *in_Handler_Info,
89
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-handler-callback-for-handle-channels" title="tp_cli_client_handler_callback_for_handle_channels ()"><span class="returnvalue">tp_cli_client_handler_callback_for_handle_channels</span></a> callback,
90
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
91
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
92
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
74
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
75
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
76
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Account</code></em>,
 
77
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Connection</code></em>,
 
78
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Channels</code></em>,
 
79
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Requests_Satisfied</code></em>,
 
80
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> in_User_Action_Time</code></em>,
 
81
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Handler_Info</code></em>,
 
82
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-handler-callback-for-handle-channels" title="tp_cli_client_handler_callback_for_handle_channels ()"><span class="type">tp_cli_client_handler_callback_for_handle_channels</span></a> callback</code></em>,
 
83
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
84
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
85
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
93
86
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-add-request" title="tp_cli_client_interface_requests_callback_for_add_request ()">*tp_cli_client_interface_requests_callback_for_add_request</a>)
94
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
95
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
96
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
97
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
87
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
88
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
89
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
90
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
98
91
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-call-add-request" title="tp_cli_client_interface_requests_call_add_request ()">tp_cli_client_interface_requests_call_add_request</a>
99
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
100
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
101
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Request,
102
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *in_Properties,
103
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-add-request" title="tp_cli_client_interface_requests_callback_for_add_request ()"><span class="returnvalue">tp_cli_client_interface_requests_callback_for_add_request</span></a> callback,
104
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
105
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
106
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
92
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
93
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
94
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Request</code></em>,
 
95
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Properties</code></em>,
 
96
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-add-request" title="tp_cli_client_interface_requests_callback_for_add_request ()"><span class="type">tp_cli_client_interface_requests_callback_for_add_request</span></a> callback</code></em>,
 
97
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
98
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
99
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
107
100
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-remove-request" title="tp_cli_client_interface_requests_callback_for_remove_request ()">*tp_cli_client_interface_requests_callback_for_remove_request</a>)
108
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
109
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
110
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
111
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
101
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
102
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
103
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
104
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
112
105
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-call-remove-request" title="tp_cli_client_interface_requests_call_remove_request ()">tp_cli_client_interface_requests_call_remove_request</a>
113
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
114
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
115
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Request,
116
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Error,
117
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Message,
118
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-remove-request" title="tp_cli_client_interface_requests_callback_for_remove_request ()"><span class="returnvalue">tp_cli_client_interface_requests_callback_for_remove_request</span></a> callback,
119
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
120
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
121
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
106
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
107
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
108
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Request</code></em>,
 
109
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Error</code></em>,
 
110
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Message</code></em>,
 
111
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-remove-request" title="tp_cli_client_interface_requests_callback_for_remove_request ()"><span class="type">tp_cli_client_interface_requests_callback_for_remove_request</span></a> callback</code></em>,
 
112
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
113
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
114
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
122
115
 
123
116
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-client.html#tp-cli-client-approver-callback-for-add-dispatch-operation" title="tp_cli_client_approver_callback_for_add_dispatch_operation ()">*tp_cli_client_approver_callback_for_add_dispatch_operation</a>)
124
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
125
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
126
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
127
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
117
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
118
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
119
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
120
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
128
121
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-client.html#tp-cli-client-approver-call-add-dispatch-operation" title="tp_cli_client_approver_call_add_dispatch_operation ()">tp_cli_client_approver_call_add_dispatch_operation</a>
129
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
130
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
131
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Channels,
132
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_DispatchOperation,
133
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *in_Properties,
134
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-approver-callback-for-add-dispatch-operation" title="tp_cli_client_approver_callback_for_add_dispatch_operation ()"><span class="returnvalue">tp_cli_client_approver_callback_for_add_dispatch_operation</span></a> callback,
135
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
136
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
137
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);
 
122
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
123
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
124
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Channels</code></em>,
 
125
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_DispatchOperation</code></em>,
 
126
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Properties</code></em>,
 
127
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-approver-callback-for-add-dispatch-operation" title="tp_cli_client_approver_callback_for_add_dispatch_operation ()"><span class="type">tp_cli_client_approver_callback_for_add_dispatch_operation</span></a> callback</code></em>,
 
128
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
129
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
130
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
138
131
</pre>
139
132
</div>
140
133
<div class="refsect1" title="Object Hierarchy">
141
134
<a name="telepathy-glib-client.object-hierarchy"></a><h2>Object Hierarchy</h2>
142
135
<pre class="synopsis">
143
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
136
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
144
137
   +----<a class="link" href="telepathy-glib-proxy.html#TpProxy">TpProxy</a>
145
138
         +----TpClient
146
139
</pre>
150
143
<p>
151
144
Each client to which the ChannelDispatcher can send channels must implement
152
145
the Client interface. This object represents such a client, and is mainly
153
 
useful in the implementation of the ChannelDispatcher itself.</p>
 
146
useful in the implementation of the ChannelDispatcher itself.
 
147
</p>
154
148
</div>
155
149
<div class="refsect1" title="Details">
156
150
<a name="telepathy-glib-client.details"></a><h2>Details</h2>
171
165
Many operations performed on a Client are done via D-Bus properties.
172
166
Until convenience methods for this are implemented, use of the generic
173
167
<a class="link" href="telepathy-glib-proxy-dbus-core.html#tp-cli-dbus-properties-call-get-all" title="tp_cli_dbus_properties_call_get_all ()"><code class="function">tp_cli_dbus_properties_call_get_all()</code></a> and <a class="link" href="telepathy-glib-proxy-dbus-core.html#tp-cli-dbus-properties-call-set" title="tp_cli_dbus_properties_call_set ()"><code class="function">tp_cli_dbus_properties_call_set()</code></a>
174
 
methods is recommended.</p>
 
168
methods is recommended.
 
169
</p>
175
170
<p class="since">Since 0.7.32</p>
176
171
</div>
177
172
<hr>
181
176
} TpClientClass;
182
177
</pre>
183
178
<p>
184
 
The class of a <a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a>.</p>
 
179
The class of a <a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a>.
 
180
</p>
185
181
</div>
186
182
<hr>
187
183
<div class="refsect2" title="tp_client_init_known_interfaces ()">
188
184
<a name="tp-client-init-known-interfaces"></a><h3>tp_client_init_known_interfaces ()</h3>
189
 
<pre class="programlisting"><span class="returnvalue">void</span>                tp_client_init_known_interfaces     (void);</pre>
 
185
<pre class="programlisting"><span class="returnvalue">void</span>                tp_client_init_known_interfaces     (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
190
186
<p>
191
187
Ensure that the known interfaces for TpClient have been set up.
192
188
This is done automatically when necessary, but for correct
193
189
overriding of library interfaces by local extensions, you should
194
190
call this function before calling
195
191
<a class="link" href="telepathy-glib-proxy-subclass.html#tp-proxy-or-subclass-hook-on-interface-add" title="tp_proxy_or_subclass_hook_on_interface_add ()"><code class="function">tp_proxy_or_subclass_hook_on_interface_add()</code></a> with first argument
196
 
<code class="literal">TP_TYPE_CLIENT</code>.</p>
 
192
<code class="literal">TP_TYPE_CLIENT</code>.
 
193
</p>
197
194
<p class="since">Since 0.7.32</p>
198
195
</div>
199
196
<hr>
200
197
<div class="refsect2" title="tp_cli_client_observer_callback_for_observe_channels ()">
201
198
<a name="tp-cli-client-observer-callback-for-observe-channels"></a><h3>tp_cli_client_observer_callback_for_observe_channels ()</h3>
202
199
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_client_observer_callback_for_observe_channels)
203
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
204
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
205
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
206
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
200
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
201
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
202
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
203
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
207
204
<p>
208
205
Signature of the callback called when a ObserveChannels method call
209
 
succeeds or fails.</p>
 
206
succeeds or fails.
 
207
</p>
210
208
<div class="variablelist"><table border="0">
211
209
<col align="left" valign="top">
212
210
<tbody>
213
211
<tr>
214
212
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
215
 
<td> the proxy on which the call was made
 
213
<td>the proxy on which the call was made
216
214
</td>
217
215
</tr>
218
216
<tr>
219
217
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
220
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
 
218
<td>
 
219
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
221
220
</td>
222
221
</tr>
223
222
<tr>
224
223
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
225
 
<td> user-supplied data
 
224
<td>user-supplied data
226
225
</td>
227
226
</tr>
228
227
<tr>
229
228
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
230
 
<td> user-supplied object
 
229
<td>user-supplied object
231
230
</td>
232
231
</tr>
233
232
</tbody>
237
236
<div class="refsect2" title="tp_cli_client_observer_call_observe_channels ()">
238
237
<a name="tp-cli-client-observer-call-observe-channels"></a><h3>tp_cli_client_observer_call_observe_channels ()</h3>
239
238
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_client_observer_call_observe_channels
240
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
241
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
242
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Account,
243
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Connection,
244
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Channels,
245
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Dispatch_Operation,
246
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Requests_Satisfied,
247
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *in_Observer_Info,
248
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-observer-callback-for-observe-channels" title="tp_cli_client_observer_callback_for_observe_channels ()"><span class="returnvalue">tp_cli_client_observer_callback_for_observe_channels</span></a> callback,
249
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
250
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
251
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
239
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
240
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
241
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Account</code></em>,
 
242
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Connection</code></em>,
 
243
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Channels</code></em>,
 
244
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Dispatch_Operation</code></em>,
 
245
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Requests_Satisfied</code></em>,
 
246
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Observer_Info</code></em>,
 
247
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-observer-callback-for-observe-channels" title="tp_cli_client_observer_callback_for_observe_channels ()"><span class="type">tp_cli_client_observer_callback_for_observe_channels</span></a> callback</code></em>,
 
248
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
249
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
250
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
252
251
<p>
253
252
Start a ObserveChannels method call.
254
253
</p>
255
254
<p>
256
 
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the channel dispatcher when channels in which the           observer has registered an interest are announced in a &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Connection.Interface.Requests"&gt;NewChannels&lt;/tp:dbus-ref&gt;           signal.&lt;/p&gt;          &lt;p&gt;If the same NewChannels signal announces some channels that match           the filter, and some that do not, then only a subset of the channels           (those that do match the filter) are passed to this method.&lt;/p&gt;          &lt;p&gt;If the channel dispatcher will split up the channels from a single           NewChannels signal and dispatch them separately (for instance           because no installed Handler can handle all of them), it will call           ObserveChannels several times.&lt;/p&gt;          &lt;p&gt;The observer MUST NOT return from this method call until it is ready           for a handler for the channel to run (which may change the channel's           state).&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The channel dispatcher must wait for observers to start up,             to avoid the following race: text channel logger (observer) gets             ObserveChannels, text channel handler gets             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;             channel handler starts up faster and acknowledges messages,             logger never sees those messages.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;The channel dispatcher SHOULD NOT change its behaviour based on           whether this method succeeds or fails: there are no defined D-Bus           errors for this method, and if it fails, this only indicates that           an Observer is somehow broken.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The expected error response in the channel dispatcher is to             log a warning, and otherwise continue as though this method             had succeeded.&lt;/p&gt;         &lt;/tp:rationale&gt;</p>
 
255
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the channel dispatcher when channels in which the           observer has registered an interest are announced in a &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Connection.Interface.Requests"&gt;NewChannels&lt;/tp:dbus-ref&gt;           signal.&lt;/p&gt;          &lt;p&gt;If the same NewChannels signal announces some channels that match           the filter, and some that do not, then only a subset of the channels           (those that do match the filter) are passed to this method.&lt;/p&gt;          &lt;p&gt;If the channel dispatcher will split up the channels from a single           NewChannels signal and dispatch them separately (for instance           because no installed Handler can handle all of them), it will call           ObserveChannels several times.&lt;/p&gt;          &lt;p&gt;The observer MUST NOT return from this method call until it is ready           for a handler for the channel to run (which may change the channel's           state).&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The channel dispatcher must wait for observers to start up,             to avoid the following race: text channel logger (observer) gets             ObserveChannels, text channel handler gets             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;             channel handler starts up faster and acknowledges messages,             logger never sees those messages.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;The channel dispatcher SHOULD NOT change its behaviour based on           whether this method succeeds or fails: there are no defined D-Bus           errors for this method, and if it fails, this only indicates that           an Observer is somehow broken.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The expected error response in the channel dispatcher is to             log a warning, and otherwise continue as though this method             had succeeded.&lt;/p&gt;         &lt;/tp:rationale&gt;
 
256
</p>
257
257
<div class="variablelist"><table border="0">
258
258
<col align="left" valign="top">
259
259
<tbody>
260
260
<tr>
261
261
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
262
 
<td> the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
262
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
263
263
</td>
264
264
</tr>
265
265
<tr>
266
266
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
267
 
<td> the timeout in milliseconds, or -1 to use the
 
267
<td>the timeout in milliseconds, or -1 to use the
268
268
  default
269
269
</td>
270
270
</tr>
271
271
<tr>
272
272
<td><p><span class="term"><em class="parameter"><code>in_Account</code></em> :</span></p></td>
273
 
<td> Used to pass an 'in' argument: The           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Account&lt;/tp:dbus-ref&gt;           with which the channels are associated. The           well-known bus name to use is that of the           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;AccountManager&lt;/tp:dbus-ref&gt;.
 
273
<td>Used to pass an 'in' argument: The           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Account&lt;/tp:dbus-ref&gt;           with which the channels are associated. The           well-known bus name to use is that of the           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;AccountManager&lt;/tp:dbus-ref&gt;.
274
274
</td>
275
275
</tr>
276
276
<tr>
277
277
<td><p><span class="term"><em class="parameter"><code>in_Connection</code></em> :</span></p></td>
278
 
<td> Used to pass an 'in' argument: The           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection&lt;/tp:dbus-ref&gt;           with which the channels are associated. The           well-known bus name to use can be derived from this object           path by removing the leading '/' and replacing all subsequent           '/' by '.'.
 
278
<td>Used to pass an 'in' argument: The           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection&lt;/tp:dbus-ref&gt;           with which the channels are associated. The           well-known bus name to use can be derived from this object           path by removing the leading '/' and replacing all subsequent           '/' by '.'.
279
279
</td>
280
280
</tr>
281
281
<tr>
282
282
<td><p><span class="term"><em class="parameter"><code>in_Channels</code></em> :</span></p></td>
283
 
<td> Used to pass an 'in' argument: The &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel&lt;/tp:dbus-ref&gt;s           and their properties. Their well-known bus names are all the same as           that of the Connection.
 
283
<td>Used to pass an 'in' argument: The &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel&lt;/tp:dbus-ref&gt;s           and their properties. Their well-known bus names are all the same as           that of the Connection.
284
284
</td>
285
285
</tr>
286
286
<tr>
287
287
<td><p><span class="term"><em class="parameter"><code>in_Dispatch_Operation</code></em> :</span></p></td>
288
 
<td> Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The path to the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation&lt;/tp:dbus-ref&gt;             for these channels, or the special value '/' if there is no             ChannelDispatchOperation (because the channels were requested, not             incoming).&lt;/p&gt;            &lt;p&gt;If the Observer calls &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;Claim&lt;/tp:dbus-ref&gt;             or &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;HandleWith&lt;/tp:dbus-ref&gt;             on the dispatch operation, it MUST be careful to avoid deadlock,             since these methods cannot return until the Observer has returned             from &lt;tp:member-ref&gt;ObserveChannels&lt;/tp:member-ref&gt;.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This allows an Observer to &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;Claim&lt;/tp:dbus-ref&gt;               a set of channels without having to match up calls to this method               with calls to &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver"&gt;AddDispatchOperation&lt;/tp:dbus-ref&gt;.&lt;/p&gt;           &lt;/tp:rationale&gt;
 
288
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The path to the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation&lt;/tp:dbus-ref&gt;             for these channels, or the special value '/' if there is no             ChannelDispatchOperation (because the channels were requested, not             incoming).&lt;/p&gt;            &lt;p&gt;If the Observer calls &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;Claim&lt;/tp:dbus-ref&gt;             or &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;HandleWith&lt;/tp:dbus-ref&gt;             on the dispatch operation, it MUST be careful to avoid deadlock,             since these methods cannot return until the Observer has returned             from &lt;tp:member-ref&gt;ObserveChannels&lt;/tp:member-ref&gt;.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This allows an Observer to &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;Claim&lt;/tp:dbus-ref&gt;               a set of channels without having to match up calls to this method               with calls to &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver"&gt;AddDispatchOperation&lt;/tp:dbus-ref&gt;.&lt;/p&gt;           &lt;/tp:rationale&gt;
289
289
</td>
290
290
</tr>
291
291
<tr>
292
292
<td><p><span class="term"><em class="parameter"><code>in_Requests_Satisfied</code></em> :</span></p></td>
293
 
<td> Used to pass an 'in' argument: The requests satisfied by these channels.            &lt;tp:rationale&gt;             If the same process is an Observer and a Handler, it can be useful             to be given this information as soon as possible (it will also             be passed to &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client"&gt;Handler.HandleChannels&lt;/tp:dbus-ref&gt;).           &lt;/tp:rationale&gt;
 
293
<td>Used to pass an 'in' argument: The requests satisfied by these channels.            &lt;tp:rationale&gt;             If the same process is an Observer and a Handler, it can be useful             to be given this information as soon as possible (it will also             be passed to &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client"&gt;Handler.HandleChannels&lt;/tp:dbus-ref&gt;).           &lt;/tp:rationale&gt;
294
294
</td>
295
295
</tr>
296
296
<tr>
297
297
<td><p><span class="term"><em class="parameter"><code>in_Observer_Info</code></em> :</span></p></td>
298
 
<td> Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Additional information about these channels. No keys are             currently defined.&lt;/p&gt;            &lt;p&gt;If keys are defined for this dictionary, all will be optional;             observers MAY safely ignore any entry in this dictionary.&lt;/p&gt;
 
298
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Additional information about these channels. Currently defined             keys are:&lt;/p&gt;            &lt;dl&gt;             &lt;dt&gt;&lt;code&gt;recovering&lt;/code&gt; - b&lt;/dt&gt;             &lt;dd&gt;True if ObserveChannels was called on existing channel due to               observer recovery, otherwise False.               &lt;tp:rationale&gt;                 This allows observers to distinguish between new channels (the normal                 case), and existing channels that were given to the observer in order                 to catch up on previous events (perhaps after a previous instance of                 the same observer crashed).               &lt;/tp:rationale&gt;             &lt;/dd&gt;           &lt;/dl&gt;            &lt;p&gt;All defined keys for this dictionary are optional;             observers MAY safely ignore any entry in this dictionary.&lt;/p&gt;
299
299
</td>
300
300
</tr>
301
301
<tr>
302
302
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
303
 
<td> called when the method call succeeds or fails;
304
 
  may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
 
303
<td>called when the method call succeeds or fails;
 
304
  may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
305
305
  reply tracking
306
306
</td>
307
307
</tr>
308
308
<tr>
309
309
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
310
 
<td> user-supplied data passed to the callback;
311
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
310
<td>user-supplied data passed to the callback;
 
311
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
312
312
</td>
313
313
</tr>
314
314
<tr>
315
315
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
316
 
<td> called with the user_data as argument, after the
 
316
<td>called with the user_data as argument, after the
317
317
  call has succeeded, failed or been cancelled;
318
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
318
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
319
319
</td>
320
320
</tr>
321
321
<tr>
322
322
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
323
 
<td> If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
 
323
<td>If not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
324
324
  weakly referenced; if it is destroyed, this call 
325
 
  will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
326
 
  <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
325
  will automatically be cancelled. Must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
 
326
  <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
327
327
</td>
328
328
</tr>
329
329
<tr>
341
341
<div class="refsect2" title="tp_cli_client_handler_callback_for_handle_channels ()">
342
342
<a name="tp-cli-client-handler-callback-for-handle-channels"></a><h3>tp_cli_client_handler_callback_for_handle_channels ()</h3>
343
343
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_client_handler_callback_for_handle_channels)
344
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
345
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
346
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
347
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
344
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
345
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
346
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
347
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
348
348
<p>
349
349
Signature of the callback called when a HandleChannels method call
350
 
succeeds or fails.</p>
 
350
succeeds or fails.
 
351
</p>
351
352
<div class="variablelist"><table border="0">
352
353
<col align="left" valign="top">
353
354
<tbody>
354
355
<tr>
355
356
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
356
 
<td> the proxy on which the call was made
 
357
<td>the proxy on which the call was made
357
358
</td>
358
359
</tr>
359
360
<tr>
360
361
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
361
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
 
362
<td>
 
363
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
362
364
</td>
363
365
</tr>
364
366
<tr>
365
367
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
366
 
<td> user-supplied data
 
368
<td>user-supplied data
367
369
</td>
368
370
</tr>
369
371
<tr>
370
372
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
371
 
<td> user-supplied object
 
373
<td>user-supplied object
372
374
</td>
373
375
</tr>
374
376
</tbody>
378
380
<div class="refsect2" title="tp_cli_client_handler_call_handle_channels ()">
379
381
<a name="tp-cli-client-handler-call-handle-channels"></a><h3>tp_cli_client_handler_call_handle_channels ()</h3>
380
382
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_client_handler_call_handle_channels
381
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
382
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
383
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Account,
384
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Connection,
385
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Channels,
386
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Requests_Satisfied,
387
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> in_User_Action_Time,
388
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *in_Handler_Info,
389
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-handler-callback-for-handle-channels" title="tp_cli_client_handler_callback_for_handle_channels ()"><span class="returnvalue">tp_cli_client_handler_callback_for_handle_channels</span></a> callback,
390
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
391
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
392
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
383
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
384
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
385
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Account</code></em>,
 
386
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Connection</code></em>,
 
387
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Channels</code></em>,
 
388
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Requests_Satisfied</code></em>,
 
389
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> in_User_Action_Time</code></em>,
 
390
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Handler_Info</code></em>,
 
391
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-handler-callback-for-handle-channels" title="tp_cli_client_handler_callback_for_handle_channels ()"><span class="type">tp_cli_client_handler_callback_for_handle_channels</span></a> callback</code></em>,
 
392
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
393
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
394
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
393
395
<p>
394
396
Start a HandleChannels method call.
395
397
</p>
396
398
<p>
397
 
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the channel dispatcher when this client should handle these           channels, or when this client should present channels that it is already           handling to the user (e.g. bring them into the foreground).&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Clients are expected to know what channels they're already handling,             and which channel object path corresponds to which window or tab.             This can easily be done using a hash table keyed by channels' object             paths.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;This method can raise any D-Bus error. If it does, the           handler is assumed to have failed or crashed, and the channel           dispatcher MUST recover in an implementation-specific way; it MAY           attempt to dispatch the channels to another handler, or close the           channels.&lt;/p&gt;          &lt;p&gt;If closing the channels, it is RECOMMENDED that the channel           dispatcher attempts to close the channels using           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel.Close&lt;/tp:dbus-ref&gt;,           but resorts to calling           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel.Interface.Destroyable.Destroy&lt;/tp:dbus-ref&gt;           (if available) or ignoring the channel (if not) if the same handler           repeatedly fails to handle channels.&lt;/p&gt;          &lt;p&gt;After HandleChannels returns successfully, the client process is           considered to be responsible for the channel until it its unique           name disappears from the bus.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;If a process has multiple Client bus names - some temporary and             some long-lived - and drops one of the temporary bus names in order             to reduce the set of channels that it will handle, any channels             that it is already handling should remain unaffected.&lt;/p&gt;         &lt;/tp:rationale&gt;</p>
 
399
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the channel dispatcher when this client should handle these           channels, or when this client should present channels that it is already           handling to the user (e.g. bring them into the foreground).&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Clients are expected to know what channels they're already handling,             and which channel object path corresponds to which window or tab.             This can easily be done using a hash table keyed by channels' object             paths.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;This method can raise any D-Bus error. If it does, the           handler is assumed to have failed or crashed, and the channel           dispatcher MUST recover in an implementation-specific way; it MAY           attempt to dispatch the channels to another handler, or close the           channels.&lt;/p&gt;          &lt;p&gt;If closing the channels, it is RECOMMENDED that the channel           dispatcher attempts to close the channels using           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel.Close&lt;/tp:dbus-ref&gt;,           but resorts to calling           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel.Interface.Destroyable.Destroy&lt;/tp:dbus-ref&gt;           (if available) or ignoring the channel (if not) if the same handler           repeatedly fails to handle channels.&lt;/p&gt;          &lt;p&gt;After HandleChannels returns successfully, the client process is           considered to be responsible for the channel until it its unique           name disappears from the bus.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;If a process has multiple Client bus names - some temporary and             some long-lived - and drops one of the temporary bus names in order             to reduce the set of channels that it will handle, any channels             that it is already handling should remain unaffected.&lt;/p&gt;         &lt;/tp:rationale&gt;
 
400
</p>
398
401
<div class="variablelist"><table border="0">
399
402
<col align="left" valign="top">
400
403
<tbody>
401
404
<tr>
402
405
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
403
 
<td> the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
406
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
404
407
</td>
405
408
</tr>
406
409
<tr>
407
410
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
408
 
<td> the timeout in milliseconds, or -1 to use the
 
411
<td>the timeout in milliseconds, or -1 to use the
409
412
  default
410
413
</td>
411
414
</tr>
412
415
<tr>
413
416
<td><p><span class="term"><em class="parameter"><code>in_Account</code></em> :</span></p></td>
414
 
<td> Used to pass an 'in' argument: The           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Account&lt;/tp:dbus-ref&gt;           with which the channels are associated. The           well-known bus name to use is that of the           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;AccountManager&lt;/tp:dbus-ref&gt;.
 
417
<td>Used to pass an 'in' argument: The           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Account&lt;/tp:dbus-ref&gt;           with which the channels are associated. The           well-known bus name to use is that of the           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;AccountManager&lt;/tp:dbus-ref&gt;.
415
418
</td>
416
419
</tr>
417
420
<tr>
418
421
<td><p><span class="term"><em class="parameter"><code>in_Connection</code></em> :</span></p></td>
419
 
<td> Used to pass an 'in' argument: The Connection with which the channels are associated. The           well-known bus name to use can be derived from this object           path by removing the leading '/' and replacing all subsequent           '/' by '.'.
 
422
<td>Used to pass an 'in' argument: The Connection with which the channels are associated. The           well-known bus name to use can be derived from this object           path by removing the leading '/' and replacing all subsequent           '/' by '.'.
420
423
</td>
421
424
</tr>
422
425
<tr>
423
426
<td><p><span class="term"><em class="parameter"><code>in_Channels</code></em> :</span></p></td>
424
 
<td> Used to pass an 'in' argument: The channels and their immutable properties. Their well-known           bus name is the same as that of the Connection.
 
427
<td>Used to pass an 'in' argument: The channels and their immutable properties. Their well-known           bus name is the same as that of the Connection.
425
428
</td>
426
429
</tr>
427
430
<tr>
428
431
<td><p><span class="term"><em class="parameter"><code>in_Requests_Satisfied</code></em> :</span></p></td>
429
 
<td> Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The requests satisfied by these channels.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;If the handler implements Requests, this tells it               that these channels match previous &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Interface.Requests"&gt;AddRequest&lt;/tp:dbus-ref&gt;               calls that it may have received.&lt;/p&gt;              &lt;p&gt;There can be more than one, if they were EnsureChannel               requests.&lt;/p&gt;           &lt;/tp:rationale&gt;
 
432
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The requests satisfied by these channels.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;If the handler implements Requests, this tells it               that these channels match previous &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Interface.Requests"&gt;AddRequest&lt;/tp:dbus-ref&gt;               calls that it may have received.&lt;/p&gt;              &lt;p&gt;There can be more than one, if they were EnsureChannel               requests.&lt;/p&gt;           &lt;/tp:rationale&gt;
430
433
</td>
431
434
</tr>
432
435
<tr>
433
436
<td><p><span class="term"><em class="parameter"><code>in_User_Action_Time</code></em> :</span></p></td>
434
 
<td> Used to pass an 'in' argument: The time at which user action occurred, or 0 if this channel           is to be handled for some reason not involving user action.           Handlers SHOULD use this for focus-stealing prevention,           if applicable.
 
437
<td>Used to pass an 'in' argument: The time at which user action occurred, or 0 if this channel           is to be handled for some reason not involving user action.           Handlers SHOULD use this for focus-stealing prevention,           if applicable.
435
438
</td>
436
439
</tr>
437
440
<tr>
438
441
<td><p><span class="term"><em class="parameter"><code>in_Handler_Info</code></em> :</span></p></td>
439
 
<td> Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Additional information about these channels. No keys are             currently defined.&lt;/p&gt;            &lt;p&gt;If keys are defined for this dictionary, all will be optional;             handlers MAY safely ignore any entry in this dictionary.&lt;/p&gt;
 
442
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Additional information about these channels. No keys are             currently defined.&lt;/p&gt;            &lt;p&gt;If keys are defined for this dictionary, all will be optional;             handlers MAY safely ignore any entry in this dictionary.&lt;/p&gt;
440
443
</td>
441
444
</tr>
442
445
<tr>
443
446
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
444
 
<td> called when the method call succeeds or fails;
445
 
  may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
 
447
<td>called when the method call succeeds or fails;
 
448
  may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
446
449
  reply tracking
447
450
</td>
448
451
</tr>
449
452
<tr>
450
453
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
451
 
<td> user-supplied data passed to the callback;
452
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
454
<td>user-supplied data passed to the callback;
 
455
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
453
456
</td>
454
457
</tr>
455
458
<tr>
456
459
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
457
 
<td> called with the user_data as argument, after the
 
460
<td>called with the user_data as argument, after the
458
461
  call has succeeded, failed or been cancelled;
459
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
462
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
460
463
</td>
461
464
</tr>
462
465
<tr>
463
466
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
464
 
<td> If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
 
467
<td>If not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
465
468
  weakly referenced; if it is destroyed, this call 
466
 
  will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
467
 
  <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
469
  will automatically be cancelled. Must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
 
470
  <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
468
471
</td>
469
472
</tr>
470
473
<tr>
482
485
<div class="refsect2" title="tp_cli_client_interface_requests_callback_for_add_request ()">
483
486
<a name="tp-cli-client-interface-requests-callback-for-add-request"></a><h3>tp_cli_client_interface_requests_callback_for_add_request ()</h3>
484
487
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_client_interface_requests_callback_for_add_request)
485
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
486
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
487
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
488
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
488
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
489
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
490
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
491
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
489
492
<p>
490
493
Signature of the callback called when a AddRequest method call
491
 
succeeds or fails.</p>
 
494
succeeds or fails.
 
495
</p>
492
496
<div class="variablelist"><table border="0">
493
497
<col align="left" valign="top">
494
498
<tbody>
495
499
<tr>
496
500
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
497
 
<td> the proxy on which the call was made
 
501
<td>the proxy on which the call was made
498
502
</td>
499
503
</tr>
500
504
<tr>
501
505
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
502
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
 
506
<td>
 
507
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
503
508
</td>
504
509
</tr>
505
510
<tr>
506
511
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
507
 
<td> user-supplied data
 
512
<td>user-supplied data
508
513
</td>
509
514
</tr>
510
515
<tr>
511
516
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
512
 
<td> user-supplied object
 
517
<td>user-supplied object
513
518
</td>
514
519
</tr>
515
520
</tbody>
519
524
<div class="refsect2" title="tp_cli_client_interface_requests_call_add_request ()">
520
525
<a name="tp-cli-client-interface-requests-call-add-request"></a><h3>tp_cli_client_interface_requests_call_add_request ()</h3>
521
526
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_client_interface_requests_call_add_request
522
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
523
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
524
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Request,
525
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *in_Properties,
526
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-add-request" title="tp_cli_client_interface_requests_callback_for_add_request ()"><span class="returnvalue">tp_cli_client_interface_requests_callback_for_add_request</span></a> callback,
527
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
528
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
529
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
527
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
528
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
529
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Request</code></em>,
 
530
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Properties</code></em>,
 
531
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-add-request" title="tp_cli_client_interface_requests_callback_for_add_request ()"><span class="type">tp_cli_client_interface_requests_callback_for_add_request</span></a> callback</code></em>,
 
532
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
533
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
534
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
530
535
<p>
531
536
Start a AddRequest method call.
532
537
</p>
533
538
<p>
534
 
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the ChannelDispatcher to indicate that channels have been           requested, and that if the request is successful, they will probably           be handled by this Handler. The ChannelDispatcher SHOULD only           call this method on one handler per request.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This allows the UI to start preparing to handle the channels             in advance (e.g. render a window with an &amp;quot;in progress&amp;quot; message),             improving perceived responsiveness.&lt;/p&gt;            &lt;p&gt;The use of &amp;quot;probably&amp;quot; is because you can't necessarily tell from             a channel request which handler will handle particular channels.             A reasonable heuristic would be to match the request against the             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandlerChannelFilter&lt;/tp:dbus-ref&gt;,             and respect the preferred handler (if any).&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;If the request succeeds and is given to the expected Handler,           the Requests_Satisfied parameter to           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;           can be used to match the channel to a previous AddRequest call.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This lets the UI direct the channels to the window that it             already opened.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;If the request fails, the expected handler is notified by the           channel dispatcher calling its           &lt;tp:member-ref&gt;RemoveRequest&lt;/tp:member-ref&gt; method.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This lets the UI close the window or display the error.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;The channel dispatcher SHOULD remember which handler was notified,           and if the channel request succeeds, it SHOULD dispatch the channels           to the expected handler, unless the channels do not match that           handler's &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandlerChannelFilter&lt;/tp:dbus-ref&gt;.           If the channels are not dispatched to the expected handler, the           handler that was expected is notified by the channel dispatcher           calling its &lt;tp:member-ref&gt;RemoveRequest&lt;/tp:member-ref&gt; method           with the NotYours error.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Expected handling is for the UI to close the window it             previously opened.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;Handlers SHOULD NOT return an error from this method; errors           returned from this method SHOULD NOT alter the channel dispatcher's           behaviour.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Calls to this method are merely a notification.&lt;/p&gt;         &lt;/tp:rationale&gt;</p>
 
539
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the ChannelDispatcher to indicate that channels have been           requested, and that if the request is successful, they will probably           be handled by this Handler. The ChannelDispatcher SHOULD only           call this method on one handler per request.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This allows the UI to start preparing to handle the channels             in advance (e.g. render a window with an &amp;quot;in progress&amp;quot; message),             improving perceived responsiveness.&lt;/p&gt;            &lt;p&gt;The use of &amp;quot;probably&amp;quot; is because you can't necessarily tell from             a channel request which handler will handle particular channels.             A reasonable heuristic would be to match the request against the             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandlerChannelFilter&lt;/tp:dbus-ref&gt;,             and respect the preferred handler (if any).&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;If the request succeeds and is given to the expected Handler,           the Requests_Satisfied parameter to           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;           can be used to match the channel to a previous AddRequest call.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This lets the UI direct the channels to the window that it             already opened.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;If the request fails, the expected handler is notified by the           channel dispatcher calling its           &lt;tp:member-ref&gt;RemoveRequest&lt;/tp:member-ref&gt; method.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This lets the UI close the window or display the error.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;The channel dispatcher SHOULD remember which handler was notified,           and if the channel request succeeds, it SHOULD dispatch the channels           to the expected handler, unless the channels do not match that           handler's &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandlerChannelFilter&lt;/tp:dbus-ref&gt;.           If the channels are not dispatched to the expected handler, the           handler that was expected is notified by the channel dispatcher           calling its &lt;tp:member-ref&gt;RemoveRequest&lt;/tp:member-ref&gt; method           with the NotYours error.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Expected handling is for the UI to close the window it             previously opened.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;Handlers SHOULD NOT return an error from this method; errors           returned from this method SHOULD NOT alter the channel dispatcher's           behaviour.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Calls to this method are merely a notification.&lt;/p&gt;         &lt;/tp:rationale&gt;
 
540
</p>
535
541
<div class="variablelist"><table border="0">
536
542
<col align="left" valign="top">
537
543
<tbody>
538
544
<tr>
539
545
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
540
 
<td> the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
546
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
541
547
</td>
542
548
</tr>
543
549
<tr>
544
550
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
545
 
<td> the timeout in milliseconds, or -1 to use the
 
551
<td>the timeout in milliseconds, or -1 to use the
546
552
  default
547
553
</td>
548
554
</tr>
549
555
<tr>
550
556
<td><p><span class="term"><em class="parameter"><code>in_Request</code></em> :</span></p></td>
551
 
<td> Used to pass an 'in' argument: The &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest&lt;/tp:dbus-ref&gt;           object, which MUST have been returned by &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatcher"&gt;CreateChannel&lt;/tp:dbus-ref&gt;           or &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatcher"&gt;EnsureChannel&lt;/tp:dbus-ref&gt;           before this method is called.            &lt;tp:rationale&gt;             See those methods for the rationale of this ordering.           &lt;/tp:rationale&gt;
 
557
<td>Used to pass an 'in' argument: The &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest&lt;/tp:dbus-ref&gt;           object, which MUST have been returned by &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatcher"&gt;CreateChannel&lt;/tp:dbus-ref&gt;           or &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatcher"&gt;EnsureChannel&lt;/tp:dbus-ref&gt;           before this method is called.            &lt;tp:rationale&gt;             See those methods for the rationale of this ordering.           &lt;/tp:rationale&gt;
552
558
</td>
553
559
</tr>
554
560
<tr>
555
561
<td><p><span class="term"><em class="parameter"><code>in_Properties</code></em> :</span></p></td>
556
 
<td> Used to pass an 'in' argument: &lt;p&gt;Some of the properties of the ChannelRequest. To avoid race             conditions, this dictionary MUST NOT include properties whose             values could subsequently change. It SHOULD include as many             properties as possible, given that constraint.&lt;/p&gt;            &lt;p&gt;In particular, the properties &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelRequest"&gt;Requests&lt;/tp:dbus-ref&gt;             and &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelRequest"&gt;UserActionTime&lt;/tp:dbus-ref&gt;             MUST be included.&lt;/p&gt;
 
562
<td>Used to pass an 'in' argument: &lt;p&gt;Some of the properties of the ChannelRequest. To avoid race             conditions, this dictionary MUST NOT include properties whose             values could subsequently change. It SHOULD include as many             properties as possible, given that constraint.&lt;/p&gt;            &lt;p&gt;In particular, the properties &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelRequest"&gt;Requests&lt;/tp:dbus-ref&gt;             and &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelRequest"&gt;UserActionTime&lt;/tp:dbus-ref&gt;             MUST be included.&lt;/p&gt;
557
563
</td>
558
564
</tr>
559
565
<tr>
560
566
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
561
 
<td> called when the method call succeeds or fails;
562
 
  may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
 
567
<td>called when the method call succeeds or fails;
 
568
  may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
563
569
  reply tracking
564
570
</td>
565
571
</tr>
566
572
<tr>
567
573
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
568
 
<td> user-supplied data passed to the callback;
569
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
574
<td>user-supplied data passed to the callback;
 
575
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
570
576
</td>
571
577
</tr>
572
578
<tr>
573
579
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
574
 
<td> called with the user_data as argument, after the
 
580
<td>called with the user_data as argument, after the
575
581
  call has succeeded, failed or been cancelled;
576
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
582
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
577
583
</td>
578
584
</tr>
579
585
<tr>
580
586
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
581
 
<td> If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
 
587
<td>If not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
582
588
  weakly referenced; if it is destroyed, this call 
583
 
  will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
584
 
  <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
589
  will automatically be cancelled. Must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
 
590
  <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
585
591
</td>
586
592
</tr>
587
593
<tr>
599
605
<div class="refsect2" title="tp_cli_client_interface_requests_callback_for_remove_request ()">
600
606
<a name="tp-cli-client-interface-requests-callback-for-remove-request"></a><h3>tp_cli_client_interface_requests_callback_for_remove_request ()</h3>
601
607
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_client_interface_requests_callback_for_remove_request)
602
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
603
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
604
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
605
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
608
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
609
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
610
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
611
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
606
612
<p>
607
613
Signature of the callback called when a RemoveRequest method call
608
 
succeeds or fails.</p>
 
614
succeeds or fails.
 
615
</p>
609
616
<div class="variablelist"><table border="0">
610
617
<col align="left" valign="top">
611
618
<tbody>
612
619
<tr>
613
620
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
614
 
<td> the proxy on which the call was made
 
621
<td>the proxy on which the call was made
615
622
</td>
616
623
</tr>
617
624
<tr>
618
625
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
619
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
 
626
<td>
 
627
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
620
628
</td>
621
629
</tr>
622
630
<tr>
623
631
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
624
 
<td> user-supplied data
 
632
<td>user-supplied data
625
633
</td>
626
634
</tr>
627
635
<tr>
628
636
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
629
 
<td> user-supplied object
 
637
<td>user-supplied object
630
638
</td>
631
639
</tr>
632
640
</tbody>
636
644
<div class="refsect2" title="tp_cli_client_interface_requests_call_remove_request ()">
637
645
<a name="tp-cli-client-interface-requests-call-remove-request"></a><h3>tp_cli_client_interface_requests_call_remove_request ()</h3>
638
646
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_client_interface_requests_call_remove_request
639
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
640
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
641
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Request,
642
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Error,
643
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_Message,
644
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-remove-request" title="tp_cli_client_interface_requests_callback_for_remove_request ()"><span class="returnvalue">tp_cli_client_interface_requests_callback_for_remove_request</span></a> callback,
645
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
646
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
647
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
647
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
648
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
649
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Request</code></em>,
 
650
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Error</code></em>,
 
651
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Message</code></em>,
 
652
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-interface-requests-callback-for-remove-request" title="tp_cli_client_interface_requests_callback_for_remove_request ()"><span class="type">tp_cli_client_interface_requests_callback_for_remove_request</span></a> callback</code></em>,
 
653
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
654
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
655
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
648
656
<p>
649
657
Start a RemoveRequest method call.
650
658
</p>
651
659
<p>
652
 
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the ChannelDispatcher to indicate that a request           previously passed to &lt;tp:member-ref&gt;AddRequest&lt;/tp:member-ref&gt;           has failed and should be disregarded.&lt;/p&gt;          &lt;p&gt;Handlers SHOULD NOT return an error from this method; errors           returned from this method SHOULD NOT alter the channel dispatcher's           behaviour.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Calls to this method are merely a notification.&lt;/p&gt;         &lt;/tp:rationale&gt;</p>
 
660
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the ChannelDispatcher to indicate that a request           previously passed to &lt;tp:member-ref&gt;AddRequest&lt;/tp:member-ref&gt;           has failed and should be disregarded.&lt;/p&gt;          &lt;p&gt;Handlers SHOULD NOT return an error from this method; errors           returned from this method SHOULD NOT alter the channel dispatcher's           behaviour.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Calls to this method are merely a notification.&lt;/p&gt;         &lt;/tp:rationale&gt;
 
661
</p>
653
662
<div class="variablelist"><table border="0">
654
663
<col align="left" valign="top">
655
664
<tbody>
656
665
<tr>
657
666
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
658
 
<td> the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
667
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
659
668
</td>
660
669
</tr>
661
670
<tr>
662
671
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
663
 
<td> the timeout in milliseconds, or -1 to use the
 
672
<td>the timeout in milliseconds, or -1 to use the
664
673
  default
665
674
</td>
666
675
</tr>
667
676
<tr>
668
677
<td><p><span class="term"><em class="parameter"><code>in_Request</code></em> :</span></p></td>
669
 
<td> Used to pass an 'in' argument: The request that failed.
 
678
<td>Used to pass an 'in' argument: The request that failed.
670
679
</td>
671
680
</tr>
672
681
<tr>
673
682
<td><p><span class="term"><em class="parameter"><code>in_Error</code></em> :</span></p></td>
674
 
<td> Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The name of the D-Bus error with which the request failed.&lt;/p&gt;            &lt;p&gt;If this is &lt;code&gt;org.freedesktop.Telepathy.Error.NotYours&lt;/code&gt;,             this indicates that the request succeeded, but all the resulting             channels were given to some other handler.&lt;/p&gt;
 
683
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The name of the D-Bus error with which the request failed.&lt;/p&gt;            &lt;p&gt;If this is &lt;code&gt;org.freedesktop.Telepathy.Error.NotYours&lt;/code&gt;,             this indicates that the request succeeded, but all the resulting             channels were given to some other handler.&lt;/p&gt;
675
684
</td>
676
685
</tr>
677
686
<tr>
678
687
<td><p><span class="term"><em class="parameter"><code>in_Message</code></em> :</span></p></td>
679
 
<td> Used to pass an 'in' argument: Any message supplied with the D-Bus error.
 
688
<td>Used to pass an 'in' argument: Any message supplied with the D-Bus error.
680
689
</td>
681
690
</tr>
682
691
<tr>
683
692
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
684
 
<td> called when the method call succeeds or fails;
685
 
  may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
 
693
<td>called when the method call succeeds or fails;
 
694
  may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
686
695
  reply tracking
687
696
</td>
688
697
</tr>
689
698
<tr>
690
699
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
691
 
<td> user-supplied data passed to the callback;
692
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
700
<td>user-supplied data passed to the callback;
 
701
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
693
702
</td>
694
703
</tr>
695
704
<tr>
696
705
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
697
 
<td> called with the user_data as argument, after the
 
706
<td>called with the user_data as argument, after the
698
707
  call has succeeded, failed or been cancelled;
699
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
708
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
700
709
</td>
701
710
</tr>
702
711
<tr>
703
712
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
704
 
<td> If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
 
713
<td>If not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
705
714
  weakly referenced; if it is destroyed, this call 
706
 
  will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
707
 
  <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
715
  will automatically be cancelled. Must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
 
716
  <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
708
717
</td>
709
718
</tr>
710
719
<tr>
722
731
<div class="refsect2" title="tp_cli_client_approver_callback_for_add_dispatch_operation ()">
723
732
<a name="tp-cli-client-approver-callback-for-add-dispatch-operation"></a><h3>tp_cli_client_approver_callback_for_add_dispatch_operation ()</h3>
724
733
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_client_approver_callback_for_add_dispatch_operation)
725
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
726
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error,
727
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
728
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
734
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
735
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
736
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
737
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
729
738
<p>
730
739
Signature of the callback called when a AddDispatchOperation method call
731
 
succeeds or fails.</p>
 
740
succeeds or fails.
 
741
</p>
732
742
<div class="variablelist"><table border="0">
733
743
<col align="left" valign="top">
734
744
<tbody>
735
745
<tr>
736
746
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
737
 
<td> the proxy on which the call was made
 
747
<td>the proxy on which the call was made
738
748
</td>
739
749
</tr>
740
750
<tr>
741
751
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
742
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
 
752
<td>
 
753
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
743
754
</td>
744
755
</tr>
745
756
<tr>
746
757
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
747
 
<td> user-supplied data
 
758
<td>user-supplied data
748
759
</td>
749
760
</tr>
750
761
<tr>
751
762
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
752
 
<td> user-supplied object
 
763
<td>user-supplied object
753
764
</td>
754
765
</tr>
755
766
</tbody>
759
770
<div class="refsect2" title="tp_cli_client_approver_call_add_dispatch_operation ()">
760
771
<a name="tp-cli-client-approver-call-add-dispatch-operation"></a><h3>tp_cli_client_approver_call_add_dispatch_operation ()</h3>
761
772
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_client_approver_call_add_dispatch_operation
762
 
                                                        (<a class="link" href="telepathy-glib-client.html#TpClient"><span class="returnvalue">TpClient</span></a> *proxy,
763
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> timeout_ms,
764
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *in_Channels,
765
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *in_DispatchOperation,
766
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *in_Properties,
767
 
                                                         <a class="link" href="telepathy-glib-client.html#tp-cli-client-approver-callback-for-add-dispatch-operation" title="tp_cli_client_approver_callback_for_add_dispatch_operation ()"><span class="returnvalue">tp_cli_client_approver_callback_for_add_dispatch_operation</span></a> callback,
768
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
769
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> destroy,
770
 
                                                         <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *weak_object);</pre>
 
773
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-client.html#TpClient"><span class="type">TpClient</span></a> *proxy</code></em>,
 
774
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
775
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Channels</code></em>,
 
776
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_DispatchOperation</code></em>,
 
777
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Properties</code></em>,
 
778
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-client.html#tp-cli-client-approver-callback-for-add-dispatch-operation" title="tp_cli_client_approver_callback_for_add_dispatch_operation ()"><span class="type">tp_cli_client_approver_callback_for_add_dispatch_operation</span></a> callback</code></em>,
 
779
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
780
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
781
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
771
782
<p>
772
783
Start a AddDispatchOperation method call.
773
784
</p>
774
785
<p>
775
 
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the channel dispatcher when a ChannelDispatchOperation           in which the approver has registered an interest is created,           or when the approver starts up while such channel dispatch           operations already exist.&lt;/p&gt;          &lt;p&gt;The channel dispatcher SHOULD call this method on all approvers           at the same time. If an approver returns an error from this method,           the approver is assumed to be faulty.&lt;/p&gt;          &lt;p&gt;If no approvers return from this method           successfully (including situations where there are no matching           approvers at all), the channel dispatcher SHOULD consider this           to be an error, and recover by dispatching the channel to the           most preferred handler.&lt;/p&gt;          &lt;tp:rationale&gt;           Processes that aren't approvers (or don't at least ensure that there           is some approver) probably shouldn't be making connections           anyway, so there should always be at least one approver running.         &lt;/tp:rationale&gt;</p>
 
786
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by the channel dispatcher when a ChannelDispatchOperation           in which the approver has registered an interest is created,           or when the approver starts up while such channel dispatch           operations already exist.&lt;/p&gt;          &lt;p&gt;The channel dispatcher SHOULD call this method on all approvers           at the same time. If an approver returns an error from this method,           the approver is assumed to be faulty.&lt;/p&gt;          &lt;p&gt;If no approvers return from this method           successfully (including situations where there are no matching           approvers at all), the channel dispatcher SHOULD consider this           to be an error, and recover by dispatching the channel to the           most preferred handler.&lt;/p&gt;          &lt;tp:rationale&gt;           Processes that aren't approvers (or don't at least ensure that there           is some approver) probably shouldn't be making connections           anyway, so there should always be at least one approver running.         &lt;/tp:rationale&gt;
 
787
</p>
776
788
<div class="variablelist"><table border="0">
777
789
<col align="left" valign="top">
778
790
<tbody>
779
791
<tr>
780
792
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
781
 
<td> the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
793
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
782
794
</td>
783
795
</tr>
784
796
<tr>
785
797
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
786
 
<td> the timeout in milliseconds, or -1 to use the
 
798
<td>the timeout in milliseconds, or -1 to use the
787
799
  default
788
800
</td>
789
801
</tr>
790
802
<tr>
791
803
<td><p><span class="term"><em class="parameter"><code>in_Channels</code></em> :</span></p></td>
792
 
<td> Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The initial value of the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation.Channels&lt;/tp:dbus-ref&gt;             property, containing the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel&lt;/tp:dbus-ref&gt;s             to be dispatched and their properties.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This can't be signalled to the approver through the Properties               parameter of this method, because Channels is not an immutable               property.&lt;/p&gt;           &lt;/tp:rationale&gt;            &lt;p&gt;This argument always contains all of the channels in the channel             dispatch operation, even if not all of them actually match             the &lt;tp:member-ref&gt;ApproverChannelFilter&lt;/tp:member-ref&gt;.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This seems the least bad way to handle such a situation;               see the discussion on               &lt;a href="http://bugs.freedesktop.org/show_bug.cgi?id=21090"&gt;bug                 <span class="type">21090</span>&lt;/a&gt;.&lt;/p&gt;           &lt;/tp:rationale&gt;            &lt;p&gt;The actual channels to be dispatched may reduce as channels are             closed: this is signalled by &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation.ChannelLost&lt;/tp:dbus-ref&gt;.           &lt;/p&gt;            &lt;p&gt;Approvers SHOULD connect to ChannelLost and &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation.Finished&lt;/tp:dbus-ref&gt;.             (if desired) before returning from AddDispatchOperation, since             those signals are guaranteed not to be emitted until after all             AddDispatchOperation calls have returned (with success or failure)             or timed out.&lt;/p&gt;
 
804
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The initial value of the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation.Channels&lt;/tp:dbus-ref&gt;             property, containing the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel&lt;/tp:dbus-ref&gt;s             to be dispatched and their properties.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This can't be signalled to the approver through the Properties               parameter of this method, because Channels is not an immutable               property.&lt;/p&gt;           &lt;/tp:rationale&gt;            &lt;p&gt;This argument always contains all of the channels in the channel             dispatch operation, even if not all of them actually match             the &lt;tp:member-ref&gt;ApproverChannelFilter&lt;/tp:member-ref&gt;.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This seems the least bad way to handle such a situation;               see the discussion on               &lt;a href="http://bugs.freedesktop.org/show_bug.cgi?id=21090"&gt;bug                 <span class="type">21090</span>&lt;/a&gt;.&lt;/p&gt;           &lt;/tp:rationale&gt;            &lt;p&gt;The actual channels to be dispatched may reduce as channels are             closed: this is signalled by &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation.ChannelLost&lt;/tp:dbus-ref&gt;.           &lt;/p&gt;            &lt;p&gt;Approvers SHOULD connect to ChannelLost and &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation.Finished&lt;/tp:dbus-ref&gt;.             (if desired) before returning from AddDispatchOperation, since             those signals are guaranteed not to be emitted until after all             AddDispatchOperation calls have returned (with success or failure)             or timed out.&lt;/p&gt;
793
805
</td>
794
806
</tr>
795
807
<tr>
796
808
<td><p><span class="term"><em class="parameter"><code>in_DispatchOperation</code></em> :</span></p></td>
797
 
<td> Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation&lt;/tp:dbus-ref&gt;             to be processed.&lt;/p&gt;
 
809
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation&lt;/tp:dbus-ref&gt;             to be processed.&lt;/p&gt;
798
810
</td>
799
811
</tr>
800
812
<tr>
801
813
<td><p><span class="term"><em class="parameter"><code>in_Properties</code></em> :</span></p></td>
802
 
<td> Used to pass an 'in' argument: &lt;p&gt;Properties of the channel dispatch operation. The keys MUST be             fully qualified D-Bus property names. This MUST NOT include             properties that could change, SHOULD include as many properties as             possible given that constraint, and MUST include at least the             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;Account&lt;/tp:dbus-ref&gt;,             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;Connection&lt;/tp:dbus-ref&gt;             and &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;PossibleHandlers&lt;/tp:dbus-ref&gt;             properties.&lt;/p&gt;
 
814
<td>Used to pass an 'in' argument: &lt;p&gt;Properties of the channel dispatch operation. The keys MUST be             fully qualified D-Bus property names. This MUST NOT include             properties that could change, SHOULD include as many properties as             possible given that constraint, and MUST include at least the             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;Account&lt;/tp:dbus-ref&gt;,             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;Connection&lt;/tp:dbus-ref&gt;             and &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatchOperation"&gt;PossibleHandlers&lt;/tp:dbus-ref&gt;             properties.&lt;/p&gt;
803
815
</td>
804
816
</tr>
805
817
<tr>
806
818
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
807
 
<td> called when the method call succeeds or fails;
808
 
  may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
 
819
<td>called when the method call succeeds or fails;
 
820
  may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no 
809
821
  reply tracking
810
822
</td>
811
823
</tr>
812
824
<tr>
813
825
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
814
 
<td> user-supplied data passed to the callback;
815
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
826
<td>user-supplied data passed to the callback;
 
827
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
816
828
</td>
817
829
</tr>
818
830
<tr>
819
831
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
820
 
<td> called with the user_data as argument, after the
 
832
<td>called with the user_data as argument, after the
821
833
  call has succeeded, failed or been cancelled;
822
 
  must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
834
  must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
823
835
</td>
824
836
</tr>
825
837
<tr>
826
838
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
827
 
<td> If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
 
839
<td>If not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be 
828
840
  weakly referenced; if it is destroyed, this call 
829
 
  will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
830
 
  <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
841
  will automatically be cancelled. Must be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 
 
842
  <em class="parameter"><code>callback</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
831
843
</td>
832
844
</tr>
833
845
<tr>
845
857
</div>
846
858
<div class="footer">
847
859
<hr>
848
 
          Generated by GTK-Doc V1.13</div>
 
860
          Generated by GTK-Doc V1.14</div>
849
861
</body>
850
862
</html>
 
 
b'\\ No newline at end of file'