33
40
<p>TpChannelDispatchOperation — proxy object for a to the Telepathy channel
36
<td class="gallery_image" valign="top" align="right"></td>
43
<td valign="top" align="right"></td>
37
44
</tr></table></div>
45
<div class="refsynopsisdiv">
46
<a name="telepathy-glib-channel-dispatch-operation.synopsis"></a><h2>Synopsis</h2>
47
<a name="TpChannelDispatchOperation"></a><pre class="synopsis">
48
#include <telepathy-glib/telepathy-glib.h>
50
struct <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation-struct" title="struct TpChannelDispatchOperation">TpChannelDispatchOperation</a>;
51
struct <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperationClass" title="struct TpChannelDispatchOperationClass">TpChannelDispatchOperationClass</a>;
52
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="returnvalue">TpChannelDispatchOperation</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-new" title="tp_channel_dispatch_operation_new ()">tp_channel_dispatch_operation_new</a>
53
(<em class="parameter"><code><a class="link" href="telepathy-glib-dbus.html#TpDBusDaemon"><span class="type">TpDBusDaemon</span></a> *bus_daemon</code></em>,
54
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *immutable_properties</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
57
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-init-known-interfaces" title="tp_channel_dispatch_operation_init_known_interfaces ()">tp_channel_dispatch_operation_init_known_interfaces</a>
58
(<em class="parameter"><code><span class="type">void</span></code></em>);
60
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-claim" title="tp_cli_channel_dispatch_operation_callback_for_claim ()">*tp_cli_channel_dispatch_operation_callback_for_claim</a>)
61
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
62
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
63
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
64
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
65
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-claim" title="tp_cli_channel_dispatch_operation_call_claim ()">tp_cli_channel_dispatch_operation_call_claim</a>
66
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
67
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
68
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-claim" title="tp_cli_channel_dispatch_operation_callback_for_claim ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_claim</span></a> callback</code></em>,
69
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
70
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
71
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
72
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with" title="tp_cli_channel_dispatch_operation_callback_for_handle_with ()">*tp_cli_channel_dispatch_operation_callback_for_handle_with</a>)
73
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
74
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
75
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
76
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
77
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-handle-with" title="tp_cli_channel_dispatch_operation_call_handle_with ()">tp_cli_channel_dispatch_operation_call_handle_with</a>
78
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
79
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
80
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Handler</code></em>,
81
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with" title="tp_cli_channel_dispatch_operation_callback_for_handle_with ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_handle_with</span></a> callback</code></em>,
82
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
83
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
84
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
85
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with-time" title="tp_cli_channel_dispatch_operation_callback_for_handle_with_time ()">*tp_cli_channel_dispatch_operation_callback_for_handle_with_time</a>)
86
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
87
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
88
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
89
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
90
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-handle-with-time" title="tp_cli_channel_dispatch_operation_call_handle_with_time ()">tp_cli_channel_dispatch_operation_call_handle_with_time</a>
91
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
92
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
93
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Handler</code></em>,
94
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> in_UserActionTime</code></em>,
95
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with-time" title="tp_cli_channel_dispatch_operation_callback_for_handle_with_time ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_handle_with_time</span></a> callback</code></em>,
96
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
97
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
98
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
99
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-channel-lost" title="tp_cli_channel_dispatch_operation_signal_callback_channel_lost ()">*tp_cli_channel_dispatch_operation_signal_callback_channel_lost</a>)
100
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
101
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Channel</code></em>,
102
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Error</code></em>,
103
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Message</code></em>,
104
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
105
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
106
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-connect-to-channel-lost" title="tp_cli_channel_dispatch_operation_connect_to_channel_lost ()">tp_cli_channel_dispatch_operation_connect_to_channel_lost</a>
107
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
108
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-channel-lost" title="tp_cli_channel_dispatch_operation_signal_callback_channel_lost ()"><span class="type">tp_cli_channel_dispatch_operation_signal_callback_channel_lost</span></a> callback</code></em>,
109
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
110
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
111
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
112
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
113
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-finished" title="tp_cli_channel_dispatch_operation_signal_callback_finished ()">*tp_cli_channel_dispatch_operation_signal_callback_finished</a>)
114
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
115
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
116
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
117
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-connect-to-finished" title="tp_cli_channel_dispatch_operation_connect_to_finished ()">tp_cli_channel_dispatch_operation_connect_to_finished</a>
118
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
119
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-finished" title="tp_cli_channel_dispatch_operation_signal_callback_finished ()"><span class="type">tp_cli_channel_dispatch_operation_signal_callback_finished</span></a> callback</code></em>,
120
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
121
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
122
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
123
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
124
#define <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</a>
125
<a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-account" title="tp_channel_dispatch_operation_borrow_account ()">tp_channel_dispatch_operation_borrow_account</a>
126
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
127
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-channels" title="tp_channel_dispatch_operation_borrow_channels ()">tp_channel_dispatch_operation_borrow_channels</a>
128
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
129
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-connection" title="tp_channel_dispatch_operation_borrow_connection ()">tp_channel_dispatch_operation_borrow_connection</a>
130
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
131
<a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-immutable-properties" title="tp_channel_dispatch_operation_borrow_immutable_properties ()">tp_channel_dispatch_operation_borrow_immutable_properties</a>
132
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
133
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-possible-handlers" title="tp_channel_dispatch_operation_borrow_possible_handlers ()">tp_channel_dispatch_operation_borrow_possible_handlers</a>
134
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
135
<a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-account" title="tp_channel_dispatch_operation_get_account ()">tp_channel_dispatch_operation_get_account</a>
136
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
137
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-channels" title="tp_channel_dispatch_operation_get_channels ()">tp_channel_dispatch_operation_get_channels</a>
138
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
139
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> * <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-connection" title="tp_channel_dispatch_operation_get_connection ()">tp_channel_dispatch_operation_get_connection</a>
140
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
141
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-possible-handlers" title="tp_channel_dispatch_operation_get_possible_handlers ()">tp_channel_dispatch_operation_get_possible_handlers</a>
142
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);
143
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()">tp_channel_dispatch_operation_handle_with_async</a>
144
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
145
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *handler</code></em>,
146
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
147
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
148
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-finish" title="tp_channel_dispatch_operation_handle_with_finish ()">tp_channel_dispatch_operation_handle_with_finish</a>
149
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
150
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
151
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
152
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-time-async" title="tp_channel_dispatch_operation_handle_with_time_async ()">tp_channel_dispatch_operation_handle_with_time_async</a>
153
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
154
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *handler</code></em>,
155
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> user_action_time</code></em>,
156
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
157
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
158
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-time-finish" title="tp_channel_dispatch_operation_handle_with_time_finish ()">tp_channel_dispatch_operation_handle_with_time_finish</a>
159
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
160
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
161
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
162
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-async" title="tp_channel_dispatch_operation_claim_async ()">tp_channel_dispatch_operation_claim_async</a>
163
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
164
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
165
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
166
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-finish" title="tp_channel_dispatch_operation_claim_finish ()">tp_channel_dispatch_operation_claim_finish</a>
167
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
168
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
169
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
170
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-async" title="tp_channel_dispatch_operation_claim_with_async ()">tp_channel_dispatch_operation_claim_with_async</a>
171
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
172
<em class="parameter"><code><a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a> *client</code></em>,
173
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
174
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
175
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-finish" title="tp_channel_dispatch_operation_claim_with_finish ()">tp_channel_dispatch_operation_claim_with_finish</a>
176
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
177
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
178
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
179
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-close-channels-async" title="tp_channel_dispatch_operation_close_channels_async ()">tp_channel_dispatch_operation_close_channels_async</a>
180
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
181
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
182
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
183
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-close-channels-finish" title="tp_channel_dispatch_operation_close_channels_finish ()">tp_channel_dispatch_operation_close_channels_finish</a>
184
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
185
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
186
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
187
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-leave-channels-async" title="tp_channel_dispatch_operation_leave_channels_async ()">tp_channel_dispatch_operation_leave_channels_async</a>
188
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
189
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpChannelGroupChangeReason" title="enum TpChannelGroupChangeReason"><span class="type">TpChannelGroupChangeReason</span></a> reason</code></em>,
190
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>,
191
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
192
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
193
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-leave-channels-finish" title="tp_channel_dispatch_operation_leave_channels_finish ()">tp_channel_dispatch_operation_leave_channels_finish</a>
194
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
195
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
196
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
197
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-destroy-channels-async" title="tp_channel_dispatch_operation_destroy_channels_async ()">tp_channel_dispatch_operation_destroy_channels_async</a>
198
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
199
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
200
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
201
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-destroy-channels-finish" title="tp_channel_dispatch_operation_destroy_channels_finish ()">tp_channel_dispatch_operation_destroy_channels_finish</a>
202
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
203
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
204
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
38
207
<div class="refsect1">
39
<a name="telepathy-glib-channel-dispatch-operation.functions"></a><h2>Functions</h2>
40
<div class="informaltable"><table width="100%" border="0">
42
<col width="150px" class="functions_return">
43
<col class="functions_name">
47
<td class="function_type">
48
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="returnvalue">TpChannelDispatchOperation</span></a> *
50
<td class="function_name">
51
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-new" title="tp_channel_dispatch_operation_new ()">tp_channel_dispatch_operation_new</a> <span class="c_punctuation">()</span>
55
<td class="function_type">
56
<span class="returnvalue">void</span>
58
<td class="function_name">
59
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-init-known-interfaces" title="tp_channel_dispatch_operation_init_known_interfaces ()">tp_channel_dispatch_operation_init_known_interfaces</a> <span class="c_punctuation">()</span>
63
<td class="function_type">
64
<span class="returnvalue">void</span>
66
<td class="function_name">
67
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-claim" title="tp_cli_channel_dispatch_operation_callback_for_claim ()">*tp_cli_channel_dispatch_operation_callback_for_claim</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
71
<td class="function_type">
72
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
74
<td class="function_name">
75
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-claim" title="tp_cli_channel_dispatch_operation_call_claim ()">tp_cli_channel_dispatch_operation_call_claim</a> <span class="c_punctuation">()</span>
79
<td class="function_type">
80
<span class="returnvalue">void</span>
82
<td class="function_name">
83
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with" title="tp_cli_channel_dispatch_operation_callback_for_handle_with ()">*tp_cli_channel_dispatch_operation_callback_for_handle_with</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
87
<td class="function_type">
88
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
90
<td class="function_name">
91
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-handle-with" title="tp_cli_channel_dispatch_operation_call_handle_with ()">tp_cli_channel_dispatch_operation_call_handle_with</a> <span class="c_punctuation">()</span>
95
<td class="function_type">
96
<span class="returnvalue">void</span>
98
<td class="function_name">
99
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with-time" title="tp_cli_channel_dispatch_operation_callback_for_handle_with_time ()">*tp_cli_channel_dispatch_operation_callback_for_handle_with_time</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
103
<td class="function_type">
104
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
106
<td class="function_name">
107
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-handle-with-time" title="tp_cli_channel_dispatch_operation_call_handle_with_time ()">tp_cli_channel_dispatch_operation_call_handle_with_time</a> <span class="c_punctuation">()</span>
111
<td class="function_type">
112
<span class="returnvalue">void</span>
114
<td class="function_name">
115
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-channel-lost" title="tp_cli_channel_dispatch_operation_signal_callback_channel_lost ()">*tp_cli_channel_dispatch_operation_signal_callback_channel_lost</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
119
<td class="function_type">
120
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
122
<td class="function_name">
123
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-connect-to-channel-lost" title="tp_cli_channel_dispatch_operation_connect_to_channel_lost ()">tp_cli_channel_dispatch_operation_connect_to_channel_lost</a> <span class="c_punctuation">()</span>
127
<td class="function_type">
128
<span class="returnvalue">void</span>
130
<td class="function_name">
131
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-finished" title="tp_cli_channel_dispatch_operation_signal_callback_finished ()">*tp_cli_channel_dispatch_operation_signal_callback_finished</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
135
<td class="function_type">
136
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
138
<td class="function_name">
139
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-connect-to-finished" title="tp_cli_channel_dispatch_operation_connect_to_finished ()">tp_cli_channel_dispatch_operation_connect_to_finished</a> <span class="c_punctuation">()</span>
143
<td class="function_type">
144
<a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> *
146
<td class="function_name">
147
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-account" title="tp_channel_dispatch_operation_borrow_account ()">tp_channel_dispatch_operation_borrow_account</a> <span class="c_punctuation">()</span>
151
<td class="function_type">
152
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *
154
<td class="function_name">
155
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-channels" title="tp_channel_dispatch_operation_borrow_channels ()">tp_channel_dispatch_operation_borrow_channels</a> <span class="c_punctuation">()</span>
159
<td class="function_type">
160
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> *
162
<td class="function_name">
163
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-connection" title="tp_channel_dispatch_operation_borrow_connection ()">tp_channel_dispatch_operation_borrow_connection</a> <span class="c_punctuation">()</span>
167
<td class="function_type">
168
<a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
170
<td class="function_name">
171
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-immutable-properties" title="tp_channel_dispatch_operation_borrow_immutable_properties ()">tp_channel_dispatch_operation_borrow_immutable_properties</a> <span class="c_punctuation">()</span>
175
<td class="function_type">
176
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a>
178
<td class="function_name">
179
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-borrow-possible-handlers" title="tp_channel_dispatch_operation_borrow_possible_handlers ()">tp_channel_dispatch_operation_borrow_possible_handlers</a> <span class="c_punctuation">()</span>
183
<td class="function_type">
184
<a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> *
186
<td class="function_name">
187
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-account" title="tp_channel_dispatch_operation_get_account ()">tp_channel_dispatch_operation_get_account</a> <span class="c_punctuation">()</span>
191
<td class="function_type">
192
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *
194
<td class="function_name">
195
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-channels" title="tp_channel_dispatch_operation_get_channels ()">tp_channel_dispatch_operation_get_channels</a> <span class="c_punctuation">()</span>
199
<td class="function_type">
200
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> *
202
<td class="function_name">
203
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-connection" title="tp_channel_dispatch_operation_get_connection ()">tp_channel_dispatch_operation_get_connection</a> <span class="c_punctuation">()</span>
207
<td class="function_type">
208
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a>
210
<td class="function_name">
211
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-possible-handlers" title="tp_channel_dispatch_operation_get_possible_handlers ()">tp_channel_dispatch_operation_get_possible_handlers</a> <span class="c_punctuation">()</span>
215
<td class="function_type">
216
<span class="returnvalue">void</span>
218
<td class="function_name">
219
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()">tp_channel_dispatch_operation_handle_with_async</a> <span class="c_punctuation">()</span>
223
<td class="function_type">
224
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
226
<td class="function_name">
227
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-finish" title="tp_channel_dispatch_operation_handle_with_finish ()">tp_channel_dispatch_operation_handle_with_finish</a> <span class="c_punctuation">()</span>
231
<td class="function_type">
232
<span class="returnvalue">void</span>
234
<td class="function_name">
235
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-time-async" title="tp_channel_dispatch_operation_handle_with_time_async ()">tp_channel_dispatch_operation_handle_with_time_async</a> <span class="c_punctuation">()</span>
239
<td class="function_type">
240
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
242
<td class="function_name">
243
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-time-finish" title="tp_channel_dispatch_operation_handle_with_time_finish ()">tp_channel_dispatch_operation_handle_with_time_finish</a> <span class="c_punctuation">()</span>
247
<td class="function_type">
248
<span class="returnvalue">void</span>
250
<td class="function_name">
251
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-async" title="tp_channel_dispatch_operation_claim_async ()">tp_channel_dispatch_operation_claim_async</a> <span class="c_punctuation">()</span>
255
<td class="function_type">
256
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
258
<td class="function_name">
259
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-finish" title="tp_channel_dispatch_operation_claim_finish ()">tp_channel_dispatch_operation_claim_finish</a> <span class="c_punctuation">()</span>
263
<td class="function_type">
264
<span class="returnvalue">void</span>
266
<td class="function_name">
267
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-async" title="tp_channel_dispatch_operation_claim_with_async ()">tp_channel_dispatch_operation_claim_with_async</a> <span class="c_punctuation">()</span>
271
<td class="function_type">
272
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
274
<td class="function_name">
275
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-finish" title="tp_channel_dispatch_operation_claim_with_finish ()">tp_channel_dispatch_operation_claim_with_finish</a> <span class="c_punctuation">()</span>
279
<td class="function_type">
280
<span class="returnvalue">void</span>
282
<td class="function_name">
283
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-close-channels-async" title="tp_channel_dispatch_operation_close_channels_async ()">tp_channel_dispatch_operation_close_channels_async</a> <span class="c_punctuation">()</span>
287
<td class="function_type">
288
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
290
<td class="function_name">
291
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-close-channels-finish" title="tp_channel_dispatch_operation_close_channels_finish ()">tp_channel_dispatch_operation_close_channels_finish</a> <span class="c_punctuation">()</span>
295
<td class="function_type">
296
<span class="returnvalue">void</span>
298
<td class="function_name">
299
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-leave-channels-async" title="tp_channel_dispatch_operation_leave_channels_async ()">tp_channel_dispatch_operation_leave_channels_async</a> <span class="c_punctuation">()</span>
303
<td class="function_type">
304
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
306
<td class="function_name">
307
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-leave-channels-finish" title="tp_channel_dispatch_operation_leave_channels_finish ()">tp_channel_dispatch_operation_leave_channels_finish</a> <span class="c_punctuation">()</span>
311
<td class="function_type">
312
<span class="returnvalue">void</span>
314
<td class="function_name">
315
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-destroy-channels-async" title="tp_channel_dispatch_operation_destroy_channels_async ()">tp_channel_dispatch_operation_destroy_channels_async</a> <span class="c_punctuation">()</span>
319
<td class="function_type">
320
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
322
<td class="function_name">
323
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-destroy-channels-finish" title="tp_channel_dispatch_operation_destroy_channels_finish ()">tp_channel_dispatch_operation_destroy_channels_finish</a> <span class="c_punctuation">()</span>
208
<a name="telepathy-glib-channel-dispatch-operation.object-hierarchy"></a><h2>Object Hierarchy</h2>
209
<pre class="synopsis">
210
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
211
+----<a class="link" href="telepathy-glib-proxy.html#TpProxy">TpProxy</a>
212
+----TpChannelDispatchOperation
329
215
<div class="refsect1">
330
216
<a name="telepathy-glib-channel-dispatch-operation.properties"></a><h2>Properties</h2>
331
<div class="informaltable"><table border="0">
333
<col width="150px" class="properties_type">
334
<col width="300px" class="properties_name">
335
<col width="200px" class="properties_flags">
339
<td class="property_type">
340
<a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *</td>
341
<td class="property_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--account" title="The “account” property">account</a></td>
342
<td class="property_flags">Read / Write / Construct Only</td>
345
<td class="property_type"><span class="type">GHashTable_gchararray+GValue_*</span></td>
346
<td class="property_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--cdo-properties" title="The “cdo-properties” property">cdo-properties</a></td>
347
<td class="property_flags">Read / Write / Construct Only</td>
350
<td class="property_type">
351
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *</td>
352
<td class="property_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--channels" title="The “channels” property">channels</a></td>
353
<td class="property_flags">Read / Write / Construct Only</td>
356
<td class="property_type">
357
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *</td>
358
<td class="property_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--connection" title="The “connection” property">connection</a></td>
359
<td class="property_flags">Read / Write / Construct Only</td>
362
<td class="property_type"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a></td>
363
<td class="property_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--possible-handlers" title="The “possible-handlers” property">possible-handlers</a></td>
364
<td class="property_flags">Read</td>
217
<pre class="synopsis">
218
"<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--account" title='The "account" property'>account</a>" <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a>* : Read / Write / Construct Only
219
"<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--cdo-properties" title='The "cdo-properties" property'>cdo-properties</a>" <span class="type">GHashTable_gchararray+GValue_*</span> : Read / Write / Construct Only
220
"<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--channels" title='The "channels" property'>channels</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read / Write / Construct Only
221
"<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--connection" title='The "connection" property'>connection</a>" <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a>* : Read / Write / Construct Only
222
"<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--possible-handlers" title='The "possible-handlers" property'>possible-handlers</a>" <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> : Read
369
225
<div class="refsect1">
370
226
<a name="telepathy-glib-channel-dispatch-operation.signals"></a><h2>Signals</h2>
371
<div class="informaltable"><table border="0">
373
<col width="150px" class="signals_return">
374
<col width="300px" class="signals_name">
375
<col width="200px" class="signals_flags">
378
<td class="signal_type"><span class="returnvalue">void</span></td>
379
<td class="signal_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation-channel-lost" title="The “channel-lost” signal">channel-lost</a></td>
380
<td class="signal_flags">Has Details</td>
384
<a name="TpChannelDispatchOperation"></a><div class="refsect1">
385
<a name="telepathy-glib-channel-dispatch-operation.other"></a><h2>Types and Values</h2>
386
<div class="informaltable"><table width="100%" border="0">
388
<col width="150px" class="name">
389
<col class="description">
393
<td class="datatype_keyword">struct</td>
394
<td class="function_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation-struct" title="struct TpChannelDispatchOperation">TpChannelDispatchOperation</a></td>
397
<td class="datatype_keyword">struct</td>
398
<td class="function_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperationClass" title="struct TpChannelDispatchOperationClass">TpChannelDispatchOperationClass</a></td>
401
<td class="define_keyword">#define</td>
402
<td class="function_name"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</a></td>
407
<div class="refsect1">
408
<a name="telepathy-glib-channel-dispatch-operation.object-hierarchy"></a><h2>Object Hierarchy</h2>
409
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
410
<span class="lineart">╰──</span> <a class="link" href="telepathy-glib-proxy.html#TpProxy">TpProxy</a>
411
<span class="lineart">╰──</span> TpChannelDispatchOperation
414
<div class="refsect1">
415
<a name="telepathy-glib-channel-dispatch-operation.includes"></a><h2>Includes</h2>
416
<pre class="synopsis">#include <telepathy-glib/telepathy-glib.h>
227
<pre class="synopsis">
228
"<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation-channel-lost" title='The "channel-lost" signal'>channel-lost</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">Has Details</code></a>
419
231
<div class="refsect1">
420
232
<a name="telepathy-glib-channel-dispatch-operation.description"></a><h2>Description</h2>
421
<p>One of the channel dispatcher's functions is to offer incoming channels to
234
One of the channel dispatcher's functions is to offer incoming channels to
422
235
Approver clients for approval. Approvers respond to the channel dispatcher
423
via a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> object.</p>
425
<div class="refsect1">
426
<a name="telepathy-glib-channel-dispatch-operation.functions_details"></a><h2>Functions</h2>
427
<div class="refsect2">
428
<a name="tp-channel-dispatch-operation-new"></a><h3>tp_channel_dispatch_operation_new ()</h3>
429
<pre class="programlisting"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="returnvalue">TpChannelDispatchOperation</span></a> *
430
tp_channel_dispatch_operation_new (<em class="parameter"><code><a class="link" href="telepathy-glib-dbus.html#TpDBusDaemon"><span class="type">TpDBusDaemon</span></a> *bus_daemon</code></em>,
431
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
432
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *immutable_properties</code></em>,
433
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
434
<div class="warning">
435
<p><code class="literal">tp_channel_dispatch_operation_new</code> is deprecated and should not be used in newly-written code.</p>
436
<p>Since 0.19.9. New code should get
437
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> objects from a <a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a></p>
439
<p>Convenience function to create a new channel dispatch operation proxy.</p>
440
<p>The <em class="parameter"><code>immutable_properties</code></em>
441
argument is not yet used.</p>
442
<div class="refsect3">
443
<a name="id-1.4.49.11.2.7"></a><h4>Parameters</h4>
444
<div class="informaltable"><table width="100%" border="0">
446
<col width="150px" class="parameters_name">
447
<col class="parameters_description">
448
<col width="200px" class="parameters_annotations">
452
<td class="parameter_name"><p>bus_daemon</p></td>
453
<td class="parameter_description"><p>Proxy for the D-Bus daemon</p></td>
454
<td class="parameter_annotations"> </td>
457
<td class="parameter_name"><p>object_path</p></td>
458
<td class="parameter_description"><p>The non-NULL object path of this channel dispatch operation</p></td>
459
<td class="parameter_annotations"> </td>
462
<td class="parameter_name"><p>immutable_properties</p></td>
463
<td class="parameter_description"><p>As many as are known of the immutable D-Bus
464
properties of this channel dispatch operation, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none are known</p></td>
465
<td class="parameter_annotations"> </td>
468
<td class="parameter_name"><p>error</p></td>
469
<td class="parameter_description"><p>Used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned</p></td>
470
<td class="parameter_annotations"> </td>
475
<div class="refsect3">
476
<a name="id-1.4.49.11.2.8"></a><h4>Returns</h4>
477
<p> a new reference to an channel dispatch operation proxy, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
478
<em class="parameter"><code>object_path</code></em>
479
is not syntactically valid or the channel dispatcher is not
485
<div class="refsect2">
486
<a name="tp-channel-dispatch-operation-init-known-interfaces"></a><h3>tp_channel_dispatch_operation_init_known_interfaces ()</h3>
487
<pre class="programlisting"><span class="returnvalue">void</span>
488
tp_channel_dispatch_operation_init_known_interfaces
489
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
490
<p>Ensure that the known interfaces for TpChannelDispatchOperation have been
491
set up. This is done automatically when necessary, but for correct
492
overriding of library interfaces by local extensions, you should
493
call this function before calling
494
<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
495
<code class="literal">TP_TYPE_CHANNEL_DISPATCH_OPERATION</code>.</p>
496
<p class="since">Since 0.7.32</p>
499
<div class="refsect2">
500
<a name="tp-cli-channel-dispatch-operation-callback-for-claim"></a><h3>tp_cli_channel_dispatch_operation_callback_for_claim ()</h3>
501
<pre class="programlisting"><span class="returnvalue">void</span>
502
<span class="c_punctuation">(</span>*tp_cli_channel_dispatch_operation_callback_for_claim<span class="c_punctuation">)</span>
503
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
504
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
505
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
506
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
507
<p>Signature of the callback called when a Claim method call
508
succeeds or fails.</p>
509
<div class="refsect3">
510
<a name="id-1.4.49.11.4.5"></a><h4>Parameters</h4>
511
<div class="informaltable"><table width="100%" border="0">
513
<col width="150px" class="parameters_name">
514
<col class="parameters_description">
515
<col width="200px" class="parameters_annotations">
519
<td class="parameter_name"><p>proxy</p></td>
520
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
521
<td class="parameter_annotations"> </td>
524
<td class="parameter_name"><p>error</p></td>
525
<td class="parameter_description"><p><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</p></td>
526
<td class="parameter_annotations"> </td>
529
<td class="parameter_name"><p>user_data</p></td>
530
<td class="parameter_description"><p>user-supplied data</p></td>
531
<td class="parameter_annotations"> </td>
534
<td class="parameter_name"><p>weak_object</p></td>
535
<td class="parameter_description"><p>user-supplied object</p></td>
536
<td class="parameter_annotations"> </td>
543
<div class="refsect2">
544
<a name="tp-cli-channel-dispatch-operation-call-claim"></a><h3>tp_cli_channel_dispatch_operation_call_claim ()</h3>
545
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
546
tp_cli_channel_dispatch_operation_call_claim
547
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
548
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
549
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-claim" title="tp_cli_channel_dispatch_operation_callback_for_claim ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_claim</span></a> callback</code></em>,
550
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
551
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
552
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
553
<p>Start a Claim method call.</p>
554
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Called by an approver to claim channels for handling internally. If this method is called successfully, the process calling this method becomes the handler for the channel, but <em>does not</em> have the <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler">HandleChannels</tp:dbus-ref> method called on it.</p> <p>Clients that call Claim on channels but do not immediately close them SHOULD implement the Handler interface and its <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler">HandledChannels</tp:dbus-ref> property.</p> <p>Approvers wishing to reject channels MUST call this method to claim ownership of them, and MUST NOT call <tp:dbus-ref namespace="org.freedesktop.Telepathy.Channel">Close</tp:dbus-ref> on the channels unless/until this method returns successfully.</p> <tp:rationale> <p>The channel dispatcher can't know how best to close arbitrary channel types, so it leaves it up to the approver to do so. For instance, for Text channels it is necessary to acknowledge any messages that have already been displayed to the user first - ideally, the approver would display and then acknowledge the messages - or to call <tp:dbus-ref namespace="org.freedesktop.Telepathy">Channel.Interface.Destroyable.Destroy</tp:dbus-ref> if the destructive behaviour of that method is desired.</p> <p>Similarly, an Approver for StreamedMedia channels can close the channel with a reason (e.g. &quot;busy&quot;) if desired. The channel dispatcher, which is designed to have no specific knowledge of particular channel types, can't do that.</p> </tp:rationale> <p>If successful, this method will cause the ChannelDispatchOperation object to disappear, emitting <tp:member-ref>Finished</tp:member-ref>, in the same way as for <tp:member-ref>HandleWith</tp:member-ref>.</p> <p>This method may fail because the dispatch operation has already been completed. Again, see HandleWith for more details. The approver MUST NOT attempt to interact with the channels further in this case.</p> <p>(FIXME: list some other possible errors)</p></p>
555
<div class="refsect3">
556
<a name="id-1.4.49.11.5.6"></a><h4>Parameters</h4>
557
<div class="informaltable"><table width="100%" border="0">
559
<col width="150px" class="parameters_name">
560
<col class="parameters_description">
561
<col width="200px" class="parameters_annotations">
565
<td class="parameter_name"><p>proxy</p></td>
566
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
567
<td class="parameter_annotations"> </td>
570
<td class="parameter_name"><p>timeout_ms</p></td>
571
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
573
<td class="parameter_annotations"> </td>
576
<td class="parameter_name"><p>callback</p></td>
577
<td class="parameter_description"><p>called when the method call succeeds or fails;
578
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
579
reply tracking</p></td>
580
<td class="parameter_annotations"> </td>
583
<td class="parameter_name"><p>user_data</p></td>
584
<td class="parameter_description"><p>user-supplied data passed to the callback;
585
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>
586
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
587
<td class="parameter_annotations"> </td>
590
<td class="parameter_name"><p>destroy</p></td>
591
<td class="parameter_description"><p>called with the user_data as argument, after the
592
call has succeeded, failed or been cancelled;
593
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>
594
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
595
<td class="parameter_annotations"> </td>
598
<td class="parameter_name"><p>weak_object</p></td>
599
<td class="parameter_description"><p>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
600
weakly referenced; if it is destroyed, this call
601
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
602
<em class="parameter"><code>callback</code></em>
603
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
604
<td class="parameter_annotations"> </td>
609
<div class="refsect3">
610
<a name="id-1.4.49.11.5.7"></a><h4>Returns</h4>
611
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
612
progress. It is borrowed from the object, and will become
613
invalid when the callback is called, the call is
614
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
619
<div class="refsect2">
620
<a name="tp-cli-channel-dispatch-operation-callback-for-handle-with"></a><h3>tp_cli_channel_dispatch_operation_callback_for_handle_with ()</h3>
621
<pre class="programlisting"><span class="returnvalue">void</span>
622
<span class="c_punctuation">(</span>*tp_cli_channel_dispatch_operation_callback_for_handle_with<span class="c_punctuation">)</span>
623
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
624
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
625
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
626
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
627
<p>Signature of the callback called when a HandleWith method call
628
succeeds or fails.</p>
629
<div class="refsect3">
630
<a name="id-1.4.49.11.6.5"></a><h4>Parameters</h4>
631
<div class="informaltable"><table width="100%" border="0">
633
<col width="150px" class="parameters_name">
634
<col class="parameters_description">
635
<col width="200px" class="parameters_annotations">
639
<td class="parameter_name"><p>proxy</p></td>
640
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
641
<td class="parameter_annotations"> </td>
644
<td class="parameter_name"><p>error</p></td>
645
<td class="parameter_description"><p><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</p></td>
646
<td class="parameter_annotations"> </td>
649
<td class="parameter_name"><p>user_data</p></td>
650
<td class="parameter_description"><p>user-supplied data</p></td>
651
<td class="parameter_annotations"> </td>
654
<td class="parameter_name"><p>weak_object</p></td>
655
<td class="parameter_description"><p>user-supplied object</p></td>
656
<td class="parameter_annotations"> </td>
663
<div class="refsect2">
664
<a name="tp-cli-channel-dispatch-operation-call-handle-with"></a><h3>tp_cli_channel_dispatch_operation_call_handle_with ()</h3>
665
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
666
tp_cli_channel_dispatch_operation_call_handle_with
667
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
668
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
669
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Handler</code></em>,
670
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with" title="tp_cli_channel_dispatch_operation_callback_for_handle_with ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_handle_with</span></a> callback</code></em>,
671
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
672
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
673
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
674
<p>Start a HandleWith method call.</p>
675
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Called by an approver to accept a channel bundle and request that the given handler be used to handle it.</p> <p>If successful, this method will cause the ChannelDispatchOperation object to disappear, emitting <tp:member-ref>Finished</tp:member-ref>.</p> <p>However, this method may fail because the dispatch has already been completed and the object has already gone. If this occurs, it indicates that another approver has asked for the bundle to be handled by a particular handler. The approver MUST NOT attempt to interact with the channels further in this case, unless it is separately invoked as the handler.</p> <p>Approvers which are also channel handlers SHOULD use <tp:member-ref>Claim</tp:member-ref> instead of HandleWith to request that they can handle a channel bundle themselves.</p> <p>(FIXME: list some possible errors)</p> <p>If the channel handler raises an error from <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler">HandleChannels</tp:dbus-ref>, this method MAY respond by raising that same error, even if it is not specifically documented here.</p></p>
676
<div class="refsect3">
677
<a name="id-1.4.49.11.7.6"></a><h4>Parameters</h4>
678
<div class="informaltable"><table width="100%" border="0">
680
<col width="150px" class="parameters_name">
681
<col class="parameters_description">
682
<col width="200px" class="parameters_annotations">
686
<td class="parameter_name"><p>proxy</p></td>
687
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
688
<td class="parameter_annotations"> </td>
691
<td class="parameter_name"><p>timeout_ms</p></td>
692
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
694
<td class="parameter_annotations"> </td>
697
<td class="parameter_name"><p>in_Handler</p></td>
698
<td class="parameter_description"><p>Used to pass an 'in' argument: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The well-known bus name (starting with <code>org.freedesktop.Telepathy.Client.</code>) of the channel handler that should handle the channel, or the empty string if the client has no preferred channel handler.</p></p></td>
699
<td class="parameter_annotations"> </td>
702
<td class="parameter_name"><p>callback</p></td>
703
<td class="parameter_description"><p>called when the method call succeeds or fails;
704
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
705
reply tracking</p></td>
706
<td class="parameter_annotations"> </td>
709
<td class="parameter_name"><p>user_data</p></td>
710
<td class="parameter_description"><p>user-supplied data passed to the callback;
711
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>
712
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
713
<td class="parameter_annotations"> </td>
716
<td class="parameter_name"><p>destroy</p></td>
717
<td class="parameter_description"><p>called with the user_data as argument, after the
718
call has succeeded, failed or been cancelled;
719
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>
720
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
721
<td class="parameter_annotations"> </td>
724
<td class="parameter_name"><p>weak_object</p></td>
725
<td class="parameter_description"><p>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
726
weakly referenced; if it is destroyed, this call
727
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
728
<em class="parameter"><code>callback</code></em>
729
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
730
<td class="parameter_annotations"> </td>
735
<div class="refsect3">
736
<a name="id-1.4.49.11.7.7"></a><h4>Returns</h4>
737
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
738
progress. It is borrowed from the object, and will become
739
invalid when the callback is called, the call is
740
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
745
<div class="refsect2">
746
<a name="tp-cli-channel-dispatch-operation-callback-for-handle-with-time"></a><h3>tp_cli_channel_dispatch_operation_callback_for_handle_with_time ()</h3>
747
<pre class="programlisting"><span class="returnvalue">void</span>
748
<span class="c_punctuation">(</span>*tp_cli_channel_dispatch_operation_callback_for_handle_with_time<span class="c_punctuation">)</span>
749
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
750
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
751
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
752
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
753
<p>Signature of the callback called when a HandleWithTime method call
754
succeeds or fails.</p>
755
<div class="refsect3">
756
<a name="id-1.4.49.11.8.5"></a><h4>Parameters</h4>
757
<div class="informaltable"><table width="100%" border="0">
759
<col width="150px" class="parameters_name">
760
<col class="parameters_description">
761
<col width="200px" class="parameters_annotations">
765
<td class="parameter_name"><p>proxy</p></td>
766
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
767
<td class="parameter_annotations"> </td>
770
<td class="parameter_name"><p>error</p></td>
771
<td class="parameter_description"><p><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</p></td>
772
<td class="parameter_annotations"> </td>
775
<td class="parameter_name"><p>user_data</p></td>
776
<td class="parameter_description"><p>user-supplied data</p></td>
777
<td class="parameter_annotations"> </td>
780
<td class="parameter_name"><p>weak_object</p></td>
781
<td class="parameter_description"><p>user-supplied object</p></td>
782
<td class="parameter_annotations"> </td>
789
<div class="refsect2">
790
<a name="tp-cli-channel-dispatch-operation-call-handle-with-time"></a><h3>tp_cli_channel_dispatch_operation_call_handle_with_time ()</h3>
791
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
792
tp_cli_channel_dispatch_operation_call_handle_with_time
793
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
794
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
795
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Handler</code></em>,
796
<em class="parameter"><code><span class="type">gint64</span> in_UserActionTime</code></em>,
797
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with-time" title="tp_cli_channel_dispatch_operation_callback_for_handle_with_time ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_handle_with_time</span></a> callback</code></em>,
798
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
799
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
800
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
801
<p>Start a HandleWithTime method call.</p>
802
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>A variant of <tp:member-ref>HandleWith</tp:member-ref> allowing the approver to pass an user action time. This timestamp will be passed to the Handler when <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler">HandleChannels</tp:dbus-ref> is called.</p></p>
803
<div class="refsect3">
804
<a name="id-1.4.49.11.9.6"></a><h4>Parameters</h4>
805
<div class="informaltable"><table width="100%" border="0">
807
<col width="150px" class="parameters_name">
808
<col class="parameters_description">
809
<col width="200px" class="parameters_annotations">
813
<td class="parameter_name"><p>proxy</p></td>
814
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
815
<td class="parameter_annotations"> </td>
818
<td class="parameter_name"><p>timeout_ms</p></td>
819
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
821
<td class="parameter_annotations"> </td>
824
<td class="parameter_name"><p>in_Handler</p></td>
825
<td class="parameter_description"><p>Used to pass an 'in' argument: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The well-known bus name (starting with <code>org.freedesktop.Telepathy.Client.</code>) of the channel handler that should handle the channel, or the empty string if the client has no preferred channel handler.</p></p></td>
826
<td class="parameter_annotations"> </td>
829
<td class="parameter_name"><p>in_UserActionTime</p></td>
830
<td class="parameter_description"><p>Used to pass an 'in' argument: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The time at which user action occurred.</p></p></td>
831
<td class="parameter_annotations"> </td>
834
<td class="parameter_name"><p>callback</p></td>
835
<td class="parameter_description"><p>called when the method call succeeds or fails;
836
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
837
reply tracking</p></td>
838
<td class="parameter_annotations"> </td>
841
<td class="parameter_name"><p>user_data</p></td>
842
<td class="parameter_description"><p>user-supplied data passed to the callback;
843
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>
844
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
845
<td class="parameter_annotations"> </td>
848
<td class="parameter_name"><p>destroy</p></td>
849
<td class="parameter_description"><p>called with the user_data as argument, after the
850
call has succeeded, failed or been cancelled;
851
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>
852
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
853
<td class="parameter_annotations"> </td>
856
<td class="parameter_name"><p>weak_object</p></td>
857
<td class="parameter_description"><p>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
858
weakly referenced; if it is destroyed, this call
859
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
860
<em class="parameter"><code>callback</code></em>
861
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
862
<td class="parameter_annotations"> </td>
867
<div class="refsect3">
868
<a name="id-1.4.49.11.9.7"></a><h4>Returns</h4>
869
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
870
progress. It is borrowed from the object, and will become
871
invalid when the callback is called, the call is
872
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
877
<div class="refsect2">
878
<a name="tp-cli-channel-dispatch-operation-signal-callback-channel-lost"></a><h3>tp_cli_channel_dispatch_operation_signal_callback_channel_lost ()</h3>
879
<pre class="programlisting"><span class="returnvalue">void</span>
880
<span class="c_punctuation">(</span>*tp_cli_channel_dispatch_operation_signal_callback_channel_lost<span class="c_punctuation">)</span>
881
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
882
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Channel</code></em>,
883
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Error</code></em>,
884
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Message</code></em>,
885
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
886
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
887
<p>Represents the signature of a callback for the signal ChannelLost.</p>
888
<div class="refsect3">
889
<a name="id-1.4.49.11.10.5"></a><h4>Parameters</h4>
890
<div class="informaltable"><table width="100%" border="0">
892
<col width="150px" class="parameters_name">
893
<col class="parameters_description">
894
<col width="200px" class="parameters_annotations">
898
<td class="parameter_name"><p>proxy</p></td>
899
<td class="parameter_description"><p>The proxy on which <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-connect-to-channel-lost" title="tp_cli_channel_dispatch_operation_connect_to_channel_lost ()"><code class="function">tp_cli_channel_dispatch_operation_connect_to_channel_lost()</code></a>
901
<td class="parameter_annotations"> </td>
904
<td class="parameter_name"><p>arg_Channel</p></td>
905
<td class="parameter_description"><p>The <tp:dbus-ref namespace="org.freedesktop.Telepathy">Channel</tp:dbus-ref> that closed.</p></td>
906
<td class="parameter_annotations"> </td>
909
<td class="parameter_name"><p>arg_Error</p></td>
910
<td class="parameter_description"><p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The name of a D-Bus error indicating why the channel closed. If no better reason can be found, <code>org.freedesktop.Telepathy.Error.NotAvailable</code> MAY be used as a fallback; this means that this error SHOULD NOT be given any more specific meaning.</p></p></td>
911
<td class="parameter_annotations"> </td>
914
<td class="parameter_name"><p>arg_Message</p></td>
915
<td class="parameter_description"><p>A string associated with the D-Bus error.</p></td>
916
<td class="parameter_annotations"> </td>
919
<td class="parameter_name"><p>user_data</p></td>
920
<td class="parameter_description"><p>User-supplied data</p></td>
921
<td class="parameter_annotations"> </td>
924
<td class="parameter_name"><p>weak_object</p></td>
925
<td class="parameter_description"><p>User-supplied weakly referenced object</p></td>
926
<td class="parameter_annotations"> </td>
933
<div class="refsect2">
934
<a name="tp-cli-channel-dispatch-operation-connect-to-channel-lost"></a><h3>tp_cli_channel_dispatch_operation_connect_to_channel_lost ()</h3>
935
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
936
tp_cli_channel_dispatch_operation_connect_to_channel_lost
937
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
938
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-channel-lost" title="tp_cli_channel_dispatch_operation_signal_callback_channel_lost ()"><span class="type">tp_cli_channel_dispatch_operation_signal_callback_channel_lost</span></a> callback</code></em>,
939
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
940
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
941
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
942
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
943
<p>Connect a handler to the signal ChannelLost.</p>
944
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>A channel has closed before it could be claimed or handled. If this is emitted for the last remaining channel in a channel dispatch operation, it MUST immediately be followed by <tp:member-ref>Finished</tp:member-ref>.</p> <p>This signal MUST NOT be emitted until all Approvers that were invoked have returned (successfully or with an error) from their <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver">AddDispatchOperation</tp:dbus-ref> method.</p> <tp:rationale> <p>This means that Approvers can connect to the ChannelLost signal in a race-free way. Non-approver processes that discover a channel dispatch operation in some way (such as observers) will have to follow the usual &quot;connect to signals then recover state&quot; model - first connect to ChannelLost and <tp:member-ref>Finished</tp:member-ref>, then download <tp:member-ref>Channels</tp:member-ref> (and on error, perhaps assume that the operation has already Finished).</p> </tp:rationale></p>
945
<div class="refsect3">
946
<a name="id-1.4.49.11.11.6"></a><h4>Parameters</h4>
947
<div class="informaltable"><table width="100%" border="0">
949
<col width="150px" class="parameters_name">
950
<col class="parameters_description">
951
<col width="200px" class="parameters_annotations">
955
<td class="parameter_name"><p>proxy</p></td>
956
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> or subclass</p></td>
957
<td class="parameter_annotations"> </td>
960
<td class="parameter_name"><p>callback</p></td>
961
<td class="parameter_description"><p>Callback to be called when the signal is
963
<td class="parameter_annotations"> </td>
966
<td class="parameter_name"><p>user_data</p></td>
967
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
968
<td class="parameter_annotations"> </td>
971
<td class="parameter_name"><p>destroy</p></td>
972
<td class="parameter_description"><p>Destructor for the user-supplied data, which
973
will be called when this signal is disconnected, or
974
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
975
<td class="parameter_annotations"> </td>
978
<td class="parameter_name"><p>weak_object</p></td>
979
<td class="parameter_description"><p>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 weakly referenced;
980
if it is destroyed, this callback will automatically be
981
disconnected</p></td>
982
<td class="parameter_annotations"> </td>
985
<td class="parameter_name"><p>error</p></td>
986
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
988
<td class="parameter_annotations"> </td>
993
<div class="refsect3">
994
<a name="id-1.4.49.11.11.7"></a><h4>Returns</h4>
995
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
996
above, which can be used to disconnect the signal; or
997
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
998
or has become invalid.</p>
1003
<div class="refsect2">
1004
<a name="tp-cli-channel-dispatch-operation-signal-callback-finished"></a><h3>tp_cli_channel_dispatch_operation_signal_callback_finished ()</h3>
1005
<pre class="programlisting"><span class="returnvalue">void</span>
1006
<span class="c_punctuation">(</span>*tp_cli_channel_dispatch_operation_signal_callback_finished<span class="c_punctuation">)</span>
1007
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
1008
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1009
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1010
<p>Represents the signature of a callback for the signal Finished.</p>
1011
<div class="refsect3">
1012
<a name="id-1.4.49.11.12.5"></a><h4>Parameters</h4>
1013
<div class="informaltable"><table width="100%" border="0">
1015
<col width="150px" class="parameters_name">
1016
<col class="parameters_description">
1017
<col width="200px" class="parameters_annotations">
1021
<td class="parameter_name"><p>proxy</p></td>
1022
<td class="parameter_description"><p>The proxy on which <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-connect-to-finished" title="tp_cli_channel_dispatch_operation_connect_to_finished ()"><code class="function">tp_cli_channel_dispatch_operation_connect_to_finished()</code></a>
1024
<td class="parameter_annotations"> </td>
1027
<td class="parameter_name"><p>user_data</p></td>
1028
<td class="parameter_description"><p>User-supplied data</p></td>
1029
<td class="parameter_annotations"> </td>
1032
<td class="parameter_name"><p>weak_object</p></td>
1033
<td class="parameter_description"><p>User-supplied weakly referenced object</p></td>
1034
<td class="parameter_annotations"> </td>
1041
<div class="refsect2">
1042
<a name="tp-cli-channel-dispatch-operation-connect-to-finished"></a><h3>tp_cli_channel_dispatch_operation_connect_to_finished ()</h3>
1043
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
1044
tp_cli_channel_dispatch_operation_connect_to_finished
1045
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
1046
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-finished" title="tp_cli_channel_dispatch_operation_signal_callback_finished ()"><span class="type">tp_cli_channel_dispatch_operation_signal_callback_finished</span></a> callback</code></em>,
1047
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1048
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1049
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
1050
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1051
<p>Connect a handler to the signal Finished.</p>
1052
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Emitted when this dispatch operation finishes. The dispatch operation is no longer present and further methods must not be called on it.</p> <p>Approvers that have a user interface SHOULD stop notifying the user about the channels in response to this signal; they MAY assume that on errors, they would have received <tp:member-ref>ChannelLost</tp:member-ref> first.</p> <p>Its object path SHOULD NOT be reused for a subsequent dispatch operation; the ChannelDispatcher MUST choose object paths in a way that avoids immediate re-use.</p> <tp:rationale> <p>Otherwise, clients might accidentally call <tp:member-ref>HandleWith</tp:member-ref> or <tp:member-ref>Claim</tp:member-ref> on a new dispatch operation instead of the one they intended to handle.</p> </tp:rationale> <p>This signal MUST NOT be emitted until all Approvers that were invoked have returned (successfully or with an error) from their <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver">AddDispatchOperation</tp:dbus-ref> method.</p> <tp:rationale> <p>This means that Approvers can connect to the ChannelLost signal in a race-free way. Non-approver processes that discover a channel dispatch operation in some way (such as observers) will have to follow the usual &quot;connect to signals then recover state&quot; model - first connect to <tp:member-ref>ChannelLost</tp:member-ref> and Finished, then download <tp:member-ref>Channels</tp:member-ref> (and on error, perhaps assume that the operation has already Finished).</p> </tp:rationale></p>
1053
<div class="refsect3">
1054
<a name="id-1.4.49.11.13.6"></a><h4>Parameters</h4>
1055
<div class="informaltable"><table width="100%" border="0">
1057
<col width="150px" class="parameters_name">
1058
<col class="parameters_description">
1059
<col width="200px" class="parameters_annotations">
1063
<td class="parameter_name"><p>proxy</p></td>
1064
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> or subclass</p></td>
1065
<td class="parameter_annotations"> </td>
1068
<td class="parameter_name"><p>callback</p></td>
1069
<td class="parameter_description"><p>Callback to be called when the signal is
1071
<td class="parameter_annotations"> </td>
1074
<td class="parameter_name"><p>user_data</p></td>
1075
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
1076
<td class="parameter_annotations"> </td>
1079
<td class="parameter_name"><p>destroy</p></td>
1080
<td class="parameter_description"><p>Destructor for the user-supplied data, which
1081
will be called when this signal is disconnected, or
1082
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1083
<td class="parameter_annotations"> </td>
1086
<td class="parameter_name"><p>weak_object</p></td>
1087
<td class="parameter_description"><p>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 weakly referenced;
1088
if it is destroyed, this callback will automatically be
1089
disconnected</p></td>
1090
<td class="parameter_annotations"> </td>
1093
<td class="parameter_name"><p>error</p></td>
1094
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
1096
<td class="parameter_annotations"> </td>
1101
<div class="refsect3">
1102
<a name="id-1.4.49.11.13.7"></a><h4>Returns</h4>
1103
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
1104
above, which can be used to disconnect the signal; or
1105
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
1106
or has become invalid.</p>
1111
<div class="refsect2">
1112
<a name="tp-channel-dispatch-operation-borrow-account"></a><h3>tp_channel_dispatch_operation_borrow_account ()</h3>
1113
<pre class="programlisting"><a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> *
1114
tp_channel_dispatch_operation_borrow_account
1115
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1116
<div class="warning">
1117
<p><code class="literal">tp_channel_dispatch_operation_borrow_account</code> is deprecated and should not be used in newly-written code.</p>
1118
<p>Since 0.19.9. New code should use
1119
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-account" title="tp_channel_dispatch_operation_get_account ()"><code class="function">tp_channel_dispatch_operation_get_account()</code></a> instead.</p>
1121
<p>Returns the <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> of this ChannelDispatchOperation.
1122
The returned pointer is only valid while <em class="parameter"><code>self</code></em>
1123
is valid - reference
1124
it with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.</p>
1125
<div class="refsect3">
1126
<a name="id-1.4.49.11.14.7"></a><h4>Parameters</h4>
1127
<div class="informaltable"><table width="100%" border="0">
1129
<col width="150px" class="parameters_name">
1130
<col class="parameters_description">
1131
<col width="200px" class="parameters_annotations">
1134
<td class="parameter_name"><p>self</p></td>
1135
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1136
<td class="parameter_annotations"> </td>
1140
<div class="refsect3">
1141
<a name="id-1.4.49.11.14.8"></a><h4>Returns</h4>
1142
<p> the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--account" title="The “account” property"><span class="type">“account”</span></a>. </p>
1143
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1145
<p class="since">Since 0.11.5</p>
1148
<div class="refsect2">
1149
<a name="tp-channel-dispatch-operation-borrow-channels"></a><h3>tp_channel_dispatch_operation_borrow_channels ()</h3>
1150
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *
1151
tp_channel_dispatch_operation_borrow_channels
1152
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1153
<div class="warning">
1154
<p><code class="literal">tp_channel_dispatch_operation_borrow_channels</code> is deprecated and should not be used in newly-written code.</p>
1155
<p>Since 0.19.9. New code should use
1156
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-channels" title="tp_channel_dispatch_operation_get_channels ()"><code class="function">tp_channel_dispatch_operation_get_channels()</code></a> instead.</p>
1158
<p>Returns a <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> containing the <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> of this
1159
ChannelDispatchOperation.
1160
The returned array and its <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> are only valid while <em class="parameter"><code>self</code></em>
1162
valid - copy array and reference channels with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.</p>
1163
<div class="refsect3">
1164
<a name="id-1.4.49.11.15.7"></a><h4>Parameters</h4>
1165
<div class="informaltable"><table width="100%" border="0">
1167
<col width="150px" class="parameters_name">
1168
<col class="parameters_description">
1169
<col width="200px" class="parameters_annotations">
1172
<td class="parameter_name"><p>self</p></td>
1173
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1174
<td class="parameter_annotations"> </td>
1178
<div class="refsect3">
1179
<a name="id-1.4.49.11.15.8"></a><h4>Returns</h4>
1180
<p> the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--channels" title="The “channels” property"><span class="type">“channels”</span></a>. </p>
1181
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1183
<p class="since">Since 0.11.5</p>
1186
<div class="refsect2">
1187
<a name="tp-channel-dispatch-operation-borrow-connection"></a><h3>tp_channel_dispatch_operation_borrow_connection ()</h3>
1188
<pre class="programlisting"><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> *
1189
tp_channel_dispatch_operation_borrow_connection
1190
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1191
<div class="warning">
1192
<p><code class="literal">tp_channel_dispatch_operation_borrow_connection</code> is deprecated and should not be used in newly-written code.</p>
1193
<p>Since 0.19.9. New code should use
1194
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-connection" title="tp_channel_dispatch_operation_get_connection ()"><code class="function">tp_channel_dispatch_operation_get_connection()</code></a> instead.</p>
1196
<p>Returns the <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> of this ChannelDispatchOperation.
1197
The returned pointer is only valid while <em class="parameter"><code>self</code></em>
1198
is valid - reference
1199
it with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.</p>
1200
<div class="refsect3">
1201
<a name="id-1.4.49.11.16.7"></a><h4>Parameters</h4>
1202
<div class="informaltable"><table width="100%" border="0">
1204
<col width="150px" class="parameters_name">
1205
<col class="parameters_description">
1206
<col width="200px" class="parameters_annotations">
1209
<td class="parameter_name"><p>self</p></td>
1210
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1211
<td class="parameter_annotations"> </td>
1215
<div class="refsect3">
1216
<a name="id-1.4.49.11.16.8"></a><h4>Returns</h4>
1217
<p> the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--connection" title="The “connection” property"><span class="type">“connection”</span></a>. </p>
1218
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1220
<p class="since">Since 0.11.5</p>
1223
<div class="refsect2">
1224
<a name="tp-channel-dispatch-operation-borrow-immutable-properties"></a><h3>tp_channel_dispatch_operation_borrow_immutable_properties ()</h3>
1225
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
1226
tp_channel_dispatch_operation_borrow_immutable_properties
1227
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1228
<div class="warning">
1229
<p><code class="literal">tp_channel_dispatch_operation_borrow_immutable_properties</code> is deprecated and should not be used in newly-written code.</p>
1230
<p>Since 0.19.9. New code should use individual property
1231
getters like <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-connection" title="tp_channel_dispatch_operation_get_connection ()"><code class="function">tp_channel_dispatch_operation_get_connection()</code></a>,
1232
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-account" title="tp_channel_dispatch_operation_get_account ()"><code class="function">tp_channel_dispatch_operation_get_account()</code></a>,
1233
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-channels" title="tp_channel_dispatch_operation_get_channels ()"><code class="function">tp_channel_dispatch_operation_get_channels()</code></a>, or
1234
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-possible-handlers" title="tp_channel_dispatch_operation_get_possible_handlers ()"><code class="function">tp_channel_dispatch_operation_get_possible_handlers()</code></a> instead.</p>
1236
<p>Returns the immutable D-Bus properties of this channel.
1237
The returned hash table is only valid while <em class="parameter"><code>self</code></em>
1238
is valid - reference
1239
it with <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-ref"><code class="function">g_hash_table_ref()</code></a> if needed.</p>
1240
<div class="refsect3">
1241
<a name="id-1.4.49.11.17.7"></a><h4>Parameters</h4>
1242
<div class="informaltable"><table width="100%" border="0">
1244
<col width="150px" class="parameters_name">
1245
<col class="parameters_description">
1246
<col width="200px" class="parameters_annotations">
1249
<td class="parameter_name"><p>self</p></td>
1250
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1251
<td class="parameter_annotations"> </td>
1255
<div class="refsect3">
1256
<a name="id-1.4.49.11.17.8"></a><h4>Returns</h4>
1258
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--cdo-properties" title="The “cdo-properties” property"><span class="type">“cdo-properties”</span></a>. </p>
1259
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span></p>
1261
<p class="since">Since 0.11.5</p>
1264
<div class="refsect2">
1265
<a name="tp-channel-dispatch-operation-borrow-possible-handlers"></a><h3>tp_channel_dispatch_operation_borrow_possible_handlers ()</h3>
1266
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a>
1267
tp_channel_dispatch_operation_borrow_possible_handlers
1268
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1269
<div class="warning">
1270
<p><code class="literal">tp_channel_dispatch_operation_borrow_possible_handlers</code> is deprecated and should not be used in newly-written code.</p>
1271
<p>Since 0.19.9. New code should use
1272
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-possible-handlers" title="tp_channel_dispatch_operation_get_possible_handlers ()"><code class="function">tp_channel_dispatch_operation_get_possible_handlers()</code></a> instead.</p>
1274
<p>Returns a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> containing the possible handlers of this
1275
ChannelDispatchOperation.
1276
The returned array and its strings are only valid while <em class="parameter"><code>self</code></em>
1278
valid - copy it with g_strdupv if needed.</p>
1279
<div class="refsect3">
1280
<a name="id-1.4.49.11.18.7"></a><h4>Parameters</h4>
1281
<div class="informaltable"><table width="100%" border="0">
1283
<col width="150px" class="parameters_name">
1284
<col class="parameters_description">
1285
<col width="200px" class="parameters_annotations">
1288
<td class="parameter_name"><p>self</p></td>
1289
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1290
<td class="parameter_annotations"> </td>
1294
<div class="refsect3">
1295
<a name="id-1.4.49.11.18.8"></a><h4>Returns</h4>
1297
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--possible-handlers" title="The “possible-handlers” property"><span class="type">“possible-handlers”</span></a>. </p>
1298
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1300
<p class="since">Since 0.11.5</p>
1303
<div class="refsect2">
1304
<a name="tp-channel-dispatch-operation-get-account"></a><h3>tp_channel_dispatch_operation_get_account ()</h3>
1305
<pre class="programlisting"><a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> *
1306
tp_channel_dispatch_operation_get_account
1307
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1308
<p>Returns the <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> of this ChannelDispatchOperation.
1309
The returned pointer is only valid while <em class="parameter"><code>self</code></em>
1310
is valid - reference
1311
it with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.</p>
1312
<div class="refsect3">
1313
<a name="id-1.4.49.11.19.5"></a><h4>Parameters</h4>
1314
<div class="informaltable"><table width="100%" border="0">
1316
<col width="150px" class="parameters_name">
1317
<col class="parameters_description">
1318
<col width="200px" class="parameters_annotations">
1321
<td class="parameter_name"><p>self</p></td>
1322
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1323
<td class="parameter_annotations"> </td>
1327
<div class="refsect3">
1328
<a name="id-1.4.49.11.19.6"></a><h4>Returns</h4>
1329
<p> the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--account" title="The “account” property"><span class="type">“account”</span></a>. </p>
1330
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1332
<p class="since">Since 0.19.9</p>
1335
<div class="refsect2">
1336
<a name="tp-channel-dispatch-operation-get-channels"></a><h3>tp_channel_dispatch_operation_get_channels ()</h3>
1337
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *
1338
tp_channel_dispatch_operation_get_channels
1339
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1340
<p>Returns a <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> containing the <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> of this
1341
ChannelDispatchOperation.
1342
The returned array and its <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> are only valid while <em class="parameter"><code>self</code></em>
1344
valid - copy array and reference channels with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.</p>
1345
<div class="refsect3">
1346
<a name="id-1.4.49.11.20.5"></a><h4>Parameters</h4>
1347
<div class="informaltable"><table width="100%" border="0">
1349
<col width="150px" class="parameters_name">
1350
<col class="parameters_description">
1351
<col width="200px" class="parameters_annotations">
1354
<td class="parameter_name"><p>self</p></td>
1355
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1356
<td class="parameter_annotations"> </td>
1360
<div class="refsect3">
1361
<a name="id-1.4.49.11.20.6"></a><h4>Returns</h4>
1363
of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--channels" title="The “channels” property"><span class="type">“channels”</span></a>. </p>
1364
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.Channel]</span></p>
1366
<p class="since">Since 0.19.9</p>
1369
<div class="refsect2">
1370
<a name="tp-channel-dispatch-operation-get-connection"></a><h3>tp_channel_dispatch_operation_get_connection ()</h3>
1371
<pre class="programlisting"><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> *
1372
tp_channel_dispatch_operation_get_connection
1373
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1374
<p>Returns the <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> of this ChannelDispatchOperation.
1375
The returned pointer is only valid while <em class="parameter"><code>self</code></em>
1376
is valid - reference
1377
it with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.</p>
1378
<div class="refsect3">
1379
<a name="id-1.4.49.11.21.5"></a><h4>Parameters</h4>
1380
<div class="informaltable"><table width="100%" border="0">
1382
<col width="150px" class="parameters_name">
1383
<col class="parameters_description">
1384
<col width="200px" class="parameters_annotations">
1387
<td class="parameter_name"><p>self</p></td>
1388
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1389
<td class="parameter_annotations"> </td>
1393
<div class="refsect3">
1394
<a name="id-1.4.49.11.21.6"></a><h4>Returns</h4>
1395
<p> the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--connection" title="The “connection” property"><span class="type">“connection”</span></a>. </p>
1396
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1398
<p class="since">Since 0.19.9</p>
1401
<div class="refsect2">
1402
<a name="tp-channel-dispatch-operation-get-possible-handlers"></a><h3>tp_channel_dispatch_operation_get_possible_handlers ()</h3>
1403
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a>
1404
tp_channel_dispatch_operation_get_possible_handlers
1405
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1406
<p>Returns a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> containing the possible handlers of this
1407
ChannelDispatchOperation.
1408
The returned array and its strings are only valid while <em class="parameter"><code>self</code></em>
1410
valid - copy it with g_strdupv if needed.</p>
1411
<div class="refsect3">
1412
<a name="id-1.4.49.11.22.5"></a><h4>Parameters</h4>
1413
<div class="informaltable"><table width="100%" border="0">
1415
<col width="150px" class="parameters_name">
1416
<col class="parameters_description">
1417
<col width="200px" class="parameters_annotations">
1420
<td class="parameter_name"><p>self</p></td>
1421
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1422
<td class="parameter_annotations"> </td>
1426
<div class="refsect3">
1427
<a name="id-1.4.49.11.22.6"></a><h4>Returns</h4>
1429
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--possible-handlers" title="The “possible-handlers” property"><span class="type">“possible-handlers”</span></a>. </p>
1430
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1432
<p class="since">Since 0.19.9</p>
1435
<div class="refsect2">
1436
<a name="tp-channel-dispatch-operation-handle-with-async"></a><h3>tp_channel_dispatch_operation_handle_with_async ()</h3>
1437
<pre class="programlisting"><span class="returnvalue">void</span>
1438
tp_channel_dispatch_operation_handle_with_async
1439
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1440
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *handler</code></em>,
1441
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1442
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1443
<p>Called by an approver to accept a channel bundle and request that the
1444
given handler be used to handle it.</p>
1445
<p>If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a> signal
1446
to be emitted with the TP_DBUS_ERROR_OBJECT_REMOVED error code.</p>
1447
<p>However, this method may fail because the dispatch has already been
1448
completed and the object has already gone. If this occurs, it indicates
1449
that another approver has asked for the bundle to be handled by a
1450
particular handler. The approver MUST NOT attempt to interact with
1451
the channels further in this case, unless it is separately
1452
invoked as the handler.</p>
1453
<p>Approvers which are also channel handlers SHOULD use
1454
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-async" title="tp_channel_dispatch_operation_claim_async ()"><code class="function">tp_channel_dispatch_operation_claim_async()</code></a> instead
1455
of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a> to request
1456
that they can handle a channel bundle themselves.</p>
1457
<div class="refsect3">
1458
<a name="id-1.4.49.11.23.8"></a><h4>Parameters</h4>
1459
<div class="informaltable"><table width="100%" border="0">
1461
<col width="150px" class="parameters_name">
1462
<col class="parameters_description">
1463
<col width="200px" class="parameters_annotations">
1467
<td class="parameter_name"><p>self</p></td>
1468
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1469
<td class="parameter_annotations"> </td>
1472
<td class="parameter_name"><p>handler</p></td>
1473
<td class="parameter_description"><p> The well-known bus name (starting with
1474
<a class="link" href="telepathy-glib-defs.html#TP-CLIENT-BUS-NAME-BASE:CAPS" title="TP_CLIENT_BUS_NAME_BASE"><span class="type">TP_CLIENT_BUS_NAME_BASE</span></a>) of the channel handler that should handle the
1475
channel, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the client has no preferred channel handler. </p></td>
1476
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1479
<td class="parameter_name"><p>callback</p></td>
1480
<td class="parameter_description"><p>a callback to call when the call returns</p></td>
1481
<td class="parameter_annotations"> </td>
1484
<td class="parameter_name"><p>user_data</p></td>
1485
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>callback</code></em>
1487
<td class="parameter_annotations"> </td>
1492
<p class="since">Since 0.11.5</p>
1495
<div class="refsect2">
1496
<a name="tp-channel-dispatch-operation-handle-with-finish"></a><h3>tp_channel_dispatch_operation_handle_with_finish ()</h3>
1497
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1498
tp_channel_dispatch_operation_handle_with_finish
1499
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1500
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1501
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1502
<p>Finishes an async call to <code class="function">HandleWith()</code>.</p>
1503
<div class="refsect3">
1504
<a name="id-1.4.49.11.24.5"></a><h4>Parameters</h4>
1505
<div class="informaltable"><table width="100%" border="0">
1507
<col width="150px" class="parameters_name">
1508
<col class="parameters_description">
1509
<col width="200px" class="parameters_annotations">
1513
<td class="parameter_name"><p>self</p></td>
1514
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1515
<td class="parameter_annotations"> </td>
1518
<td class="parameter_name"><p>result</p></td>
1519
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
1520
<td class="parameter_annotations"> </td>
1523
<td class="parameter_name"><p>error</p></td>
1524
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</p></td>
1525
<td class="parameter_annotations"> </td>
1530
<div class="refsect3">
1531
<a name="id-1.4.49.11.24.6"></a><h4>Returns</h4>
1532
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">HandleWith()</code> call was successful, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
1535
<p class="since">Since 0.11.5</p>
1538
<div class="refsect2">
1539
<a name="tp-channel-dispatch-operation-handle-with-time-async"></a><h3>tp_channel_dispatch_operation_handle_with_time_async ()</h3>
1540
<pre class="programlisting"><span class="returnvalue">void</span>
1541
tp_channel_dispatch_operation_handle_with_time_async
1542
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1543
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *handler</code></em>,
1544
<em class="parameter"><code><span class="type">gint64</span> user_action_time</code></em>,
1545
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1546
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1547
<p>A variant of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1548
allowing the approver to pass an user action time.
1549
This timestamp will be passed to the Handler when HandleChannels is called.</p>
1550
<p>If an X server timestamp for the user action causing this method call is
1551
available, <em class="parameter"><code>user_action_time</code></em>
1552
should be this timestamp (for instance, the
1553
result of <a href="http://developer.gnome.org/gdk2/gdk3-Events.html#gdk-event-get-time"><code class="function">gdk_event_get_time()</code></a> if it is not <a href="http://developer.gnome.org/gdk2/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>). Otherwise, it
1554
may be <a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-NOT-USER-ACTION:CAPS" title="TP_USER_ACTION_TIME_NOT_USER_ACTION"><code class="literal">TP_USER_ACTION_TIME_NOT_USER_ACTION</code></a> to behave as if there was no
1555
user action or it happened a long time ago, or
1556
<a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-CURRENT-TIME:CAPS" title="TP_USER_ACTION_TIME_CURRENT_TIME"><code class="literal">TP_USER_ACTION_TIME_CURRENT_TIME</code></a> to have the Handler behave as though the
1557
user action had just happened (resembling, but not numerically equal to,
1558
<a href="http://developer.gnome.org/gdk2/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>).</p>
1559
<p>This method has been introduced in telepathy-mission-control 5.5.0.</p>
1560
<div class="refsect3">
1561
<a name="id-1.4.49.11.25.7"></a><h4>Parameters</h4>
1562
<div class="informaltable"><table width="100%" border="0">
1564
<col width="150px" class="parameters_name">
1565
<col class="parameters_description">
1566
<col width="200px" class="parameters_annotations">
1570
<td class="parameter_name"><p>self</p></td>
1571
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1572
<td class="parameter_annotations"> </td>
1575
<td class="parameter_name"><p>handler</p></td>
1576
<td class="parameter_description"><p> The well-known bus name (starting with
1577
<a class="link" href="telepathy-glib-defs.html#TP-CLIENT-BUS-NAME-BASE:CAPS" title="TP_CLIENT_BUS_NAME_BASE"><span class="type">TP_CLIENT_BUS_NAME_BASE</span></a>) of the channel handler that should handle the
1578
channel, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the client has no preferred channel handler. </p></td>
1579
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1582
<td class="parameter_name"><p>user_action_time</p></td>
1583
<td class="parameter_description"><p>the time at which user action occurred, or one of the
1584
special values <a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-NOT-USER-ACTION:CAPS" title="TP_USER_ACTION_TIME_NOT_USER_ACTION"><code class="literal">TP_USER_ACTION_TIME_NOT_USER_ACTION</code></a> or
1585
<a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-CURRENT-TIME:CAPS" title="TP_USER_ACTION_TIME_CURRENT_TIME"><code class="literal">TP_USER_ACTION_TIME_CURRENT_TIME</code></a></p></td>
1586
<td class="parameter_annotations"> </td>
1589
<td class="parameter_name"><p>callback</p></td>
1590
<td class="parameter_description"><p>a callback to call when the call returns</p></td>
1591
<td class="parameter_annotations"> </td>
1594
<td class="parameter_name"><p>user_data</p></td>
1595
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>callback</code></em>
1597
<td class="parameter_annotations"> </td>
1602
<p class="since">Since 0.11.7</p>
1605
<div class="refsect2">
1606
<a name="tp-channel-dispatch-operation-handle-with-time-finish"></a><h3>tp_channel_dispatch_operation_handle_with_time_finish ()</h3>
1607
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1608
tp_channel_dispatch_operation_handle_with_time_finish
1609
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1610
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1611
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1612
<p>Finishes an async call to <code class="function">HandleWithTime()</code>.</p>
1613
<div class="refsect3">
1614
<a name="id-1.4.49.11.26.5"></a><h4>Parameters</h4>
1615
<div class="informaltable"><table width="100%" border="0">
1617
<col width="150px" class="parameters_name">
1618
<col class="parameters_description">
1619
<col width="200px" class="parameters_annotations">
1623
<td class="parameter_name"><p>self</p></td>
1624
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1625
<td class="parameter_annotations"> </td>
1628
<td class="parameter_name"><p>result</p></td>
1629
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
1630
<td class="parameter_annotations"> </td>
1633
<td class="parameter_name"><p>error</p></td>
1634
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</p></td>
1635
<td class="parameter_annotations"> </td>
1640
<div class="refsect3">
1641
<a name="id-1.4.49.11.26.6"></a><h4>Returns</h4>
1642
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">HandleWithTime()</code> call was successful, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
1645
<p class="since">Since 0.11.7</p>
1648
<div class="refsect2">
1649
<a name="tp-channel-dispatch-operation-claim-async"></a><h3>tp_channel_dispatch_operation_claim_async ()</h3>
1650
<pre class="programlisting"><span class="returnvalue">void</span>
1651
tp_channel_dispatch_operation_claim_async
1652
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1653
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1654
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1655
<div class="warning">
1656
<p><code class="literal">tp_channel_dispatch_operation_claim_async</code> is deprecated and should not be used in newly-written code.</p>
1657
<p>since 0.15.0. Use
1658
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-async" title="tp_channel_dispatch_operation_claim_with_async ()"><code class="function">tp_channel_dispatch_operation_claim_with_async()</code></a></p>
1660
<p>Called by an approver to claim channels for handling internally.
1661
If this method is called successfully, the process calling this
1662
method becomes the handler for the channel.</p>
1663
<p>If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a> signal
1664
to be emitted, in the same way as for
1665
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.</p>
1666
<p>This method may fail because the dispatch operation has already
1667
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1668
for more details. The approver MUST NOT attempt to interact with
1669
the channels further in this case.</p>
1670
<div class="refsect3">
1671
<a name="id-1.4.49.11.27.9"></a><h4>Parameters</h4>
1672
<div class="informaltable"><table width="100%" border="0">
1674
<col width="150px" class="parameters_name">
1675
<col class="parameters_description">
1676
<col width="200px" class="parameters_annotations">
1680
<td class="parameter_name"><p>self</p></td>
1681
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1682
<td class="parameter_annotations"> </td>
1685
<td class="parameter_name"><p>callback</p></td>
1686
<td class="parameter_description"><p>a callback to call when the call returns</p></td>
1687
<td class="parameter_annotations"> </td>
1690
<td class="parameter_name"><p>user_data</p></td>
1691
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>callback</code></em>
1693
<td class="parameter_annotations"> </td>
1698
<p class="since">Since 0.11.5</p>
1701
<div class="refsect2">
1702
<a name="tp-channel-dispatch-operation-claim-finish"></a><h3>tp_channel_dispatch_operation_claim_finish ()</h3>
1703
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1704
tp_channel_dispatch_operation_claim_finish
1705
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1706
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1707
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1708
<div class="warning">
1709
<p><code class="literal">tp_channel_dispatch_operation_claim_finish</code> is deprecated and should not be used in newly-written code.</p>
1710
<p>since 0.15.0. Use
1711
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-finish" title="tp_channel_dispatch_operation_claim_with_finish ()"><code class="function">tp_channel_dispatch_operation_claim_with_finish()</code></a></p>
1713
<p>Finishes an async call to <code class="function">Claim()</code>.</p>
1714
<div class="refsect3">
1715
<a name="id-1.4.49.11.28.7"></a><h4>Parameters</h4>
1716
<div class="informaltable"><table width="100%" border="0">
1718
<col width="150px" class="parameters_name">
1719
<col class="parameters_description">
1720
<col width="200px" class="parameters_annotations">
1724
<td class="parameter_name"><p>self</p></td>
1725
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1726
<td class="parameter_annotations"> </td>
1729
<td class="parameter_name"><p>result</p></td>
1730
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
1731
<td class="parameter_annotations"> </td>
1734
<td class="parameter_name"><p>error</p></td>
1735
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</p></td>
1736
<td class="parameter_annotations"> </td>
1741
<div class="refsect3">
1742
<a name="id-1.4.49.11.28.8"></a><h4>Returns</h4>
1743
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
1746
<p class="since">Since 0.11.5</p>
1749
<div class="refsect2">
1750
<a name="tp-channel-dispatch-operation-claim-with-async"></a><h3>tp_channel_dispatch_operation_claim_with_async ()</h3>
1751
<pre class="programlisting"><span class="returnvalue">void</span>
1752
tp_channel_dispatch_operation_claim_with_async
1753
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1754
<em class="parameter"><code><a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a> *client</code></em>,
1755
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1756
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1757
<p>Called by an approver to claim channels for handling internally.
1758
If this method is called successfully, the process calling this
1759
method becomes the handler for the channel.</p>
1760
<p>If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a> signal
1761
to be emitted, in the same way as for
1762
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.</p>
1763
<p>This method may fail because the dispatch operation has already
1764
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1765
for more details. The approver MUST NOT attempt to interact with
1766
the channels further in this case.</p>
1767
<p>This is an improved version of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-async" title="tp_channel_dispatch_operation_claim_async ()"><code class="function">tp_channel_dispatch_operation_claim_async()</code></a>
1768
as it tells <em class="parameter"><code>client</code></em>
1769
about the new channels being handled.</p>
1770
<p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a> feature must be prepared before
1771
calling this function.</p>
1772
<div class="refsect3">
1773
<a name="id-1.4.49.11.29.9"></a><h4>Parameters</h4>
1774
<div class="informaltable"><table width="100%" border="0">
1776
<col width="150px" class="parameters_name">
1777
<col class="parameters_description">
1778
<col width="200px" class="parameters_annotations">
1782
<td class="parameter_name"><p>self</p></td>
1783
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1784
<td class="parameter_annotations"> </td>
1787
<td class="parameter_name"><p>client</p></td>
1788
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a> claiming <em class="parameter"><code>self</code></em>
1790
<td class="parameter_annotations"> </td>
1793
<td class="parameter_name"><p>callback</p></td>
1794
<td class="parameter_description"><p>a callback to call when the call returns</p></td>
1795
<td class="parameter_annotations"> </td>
1798
<td class="parameter_name"><p>user_data</p></td>
1799
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>callback</code></em>
1801
<td class="parameter_annotations"> </td>
1806
<p class="since">Since 0.15.0</p>
1809
<div class="refsect2">
1810
<a name="tp-channel-dispatch-operation-claim-with-finish"></a><h3>tp_channel_dispatch_operation_claim_with_finish ()</h3>
1811
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1812
tp_channel_dispatch_operation_claim_with_finish
1813
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1814
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1815
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1816
<p>Finishes an async call to <code class="function">Claim()</code> initiated using
1817
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-async" title="tp_channel_dispatch_operation_claim_with_async ()"><code class="function">tp_channel_dispatch_operation_claim_with_async()</code></a>.</p>
1818
<div class="refsect3">
1819
<a name="id-1.4.49.11.30.5"></a><h4>Parameters</h4>
1820
<div class="informaltable"><table width="100%" border="0">
1822
<col width="150px" class="parameters_name">
1823
<col class="parameters_description">
1824
<col width="200px" class="parameters_annotations">
1828
<td class="parameter_name"><p>self</p></td>
1829
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1830
<td class="parameter_annotations"> </td>
1833
<td class="parameter_name"><p>result</p></td>
1834
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
1835
<td class="parameter_annotations"> </td>
1838
<td class="parameter_name"><p>error</p></td>
1839
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</p></td>
1840
<td class="parameter_annotations"> </td>
1845
<div class="refsect3">
1846
<a name="id-1.4.49.11.30.6"></a><h4>Returns</h4>
1847
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
1850
<p class="since">Since 0.15.0</p>
1853
<div class="refsect2">
1854
<a name="tp-channel-dispatch-operation-close-channels-async"></a><h3>tp_channel_dispatch_operation_close_channels_async ()</h3>
1855
<pre class="programlisting"><span class="returnvalue">void</span>
1856
tp_channel_dispatch_operation_close_channels_async
1857
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1858
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1859
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1860
<p>Called by an approver to claim channels and close them all right away.
1861
If this method is called successfully, <em class="parameter"><code>self</code></em>
1862
has been claimed and
1863
<a class="link" href="telepathy-glib-channel.html#tp-channel-close-async" title="tp_channel_close_async ()"><code class="function">tp_channel_close_async()</code></a> has been called on all of its channels.</p>
1864
<p>If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a> signal
1865
to be emitted, in the same way as for
1866
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.</p>
1867
<p>This method may fail because the dispatch operation has already
1868
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1869
for more details.</p>
1870
<p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a> feature must be prepared before
1871
calling this function.</p>
1872
<div class="refsect3">
1873
<a name="id-1.4.49.11.31.8"></a><h4>Parameters</h4>
1874
<div class="informaltable"><table width="100%" border="0">
1876
<col width="150px" class="parameters_name">
1877
<col class="parameters_description">
1878
<col width="200px" class="parameters_annotations">
1882
<td class="parameter_name"><p>self</p></td>
1883
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1884
<td class="parameter_annotations"> </td>
1887
<td class="parameter_name"><p>callback</p></td>
1888
<td class="parameter_description"><p>a callback to call when the request has been satisfied</p></td>
1889
<td class="parameter_annotations"> </td>
1892
<td class="parameter_name"><p>user_data</p></td>
1893
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>callback</code></em>
1895
<td class="parameter_annotations"> </td>
1900
<p class="since">Since 0.15.1</p>
1903
<div class="refsect2">
1904
<a name="tp-channel-dispatch-operation-close-channels-finish"></a><h3>tp_channel_dispatch_operation_close_channels_finish ()</h3>
1905
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1906
tp_channel_dispatch_operation_close_channels_finish
1907
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1908
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1909
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1910
<p>Finishes an async operation initiated using
1911
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-close-channels-async" title="tp_channel_dispatch_operation_close_channels_async ()"><code class="function">tp_channel_dispatch_operation_close_channels_async()</code></a>.</p>
1912
<div class="refsect3">
1913
<a name="id-1.4.49.11.32.5"></a><h4>Parameters</h4>
1914
<div class="informaltable"><table width="100%" border="0">
1916
<col width="150px" class="parameters_name">
1917
<col class="parameters_description">
1918
<col width="200px" class="parameters_annotations">
1922
<td class="parameter_name"><p>self</p></td>
1923
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1924
<td class="parameter_annotations"> </td>
1927
<td class="parameter_name"><p>result</p></td>
1928
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
1929
<td class="parameter_annotations"> </td>
1932
<td class="parameter_name"><p>error</p></td>
1933
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</p></td>
1934
<td class="parameter_annotations"> </td>
1939
<div class="refsect3">
1940
<a name="id-1.4.49.11.32.6"></a><h4>Returns</h4>
1941
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful and
1942
<code class="function">Close()</code> has at least been attempted on all the channels, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
1945
<p class="since">Since 0.15.1</p>
1948
<div class="refsect2">
1949
<a name="tp-channel-dispatch-operation-leave-channels-async"></a><h3>tp_channel_dispatch_operation_leave_channels_async ()</h3>
1950
<pre class="programlisting"><span class="returnvalue">void</span>
1951
tp_channel_dispatch_operation_leave_channels_async
1952
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1953
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpChannelGroupChangeReason" title="enum TpChannelGroupChangeReason"><span class="type">TpChannelGroupChangeReason</span></a> reason</code></em>,
1954
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>,
1955
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1956
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1957
<p>Called by an approver to claim channels and leave them all right away.
1958
If this method is called successfully, <em class="parameter"><code>self</code></em>
1959
has been claimed and
1960
<a class="link" href="telepathy-glib-channel.html#tp-channel-leave-async" title="tp_channel_leave_async ()"><code class="function">tp_channel_leave_async()</code></a> has been called on all of its channels.</p>
1961
<p>If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a> signal
1962
to be emitted, in the same way as for
1963
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.</p>
1964
<p>This method may fail because the dispatch operation has already
1965
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1966
for more details.</p>
1967
<p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a> feature must be prepared before
1968
calling this function.</p>
1969
<div class="refsect3">
1970
<a name="id-1.4.49.11.33.8"></a><h4>Parameters</h4>
1971
<div class="informaltable"><table width="100%" border="0">
1973
<col width="150px" class="parameters_name">
1974
<col class="parameters_description">
1975
<col width="200px" class="parameters_annotations">
1979
<td class="parameter_name"><p>self</p></td>
1980
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
1981
<td class="parameter_annotations"> </td>
1984
<td class="parameter_name"><p>reason</p></td>
1985
<td class="parameter_description"><p>the leave reason</p></td>
1986
<td class="parameter_annotations"> </td>
1989
<td class="parameter_name"><p>message</p></td>
1990
<td class="parameter_description"><p>the leave message</p></td>
1991
<td class="parameter_annotations"> </td>
1994
<td class="parameter_name"><p>callback</p></td>
1995
<td class="parameter_description"><p>a callback to call when the request has been satisfied</p></td>
1996
<td class="parameter_annotations"> </td>
1999
<td class="parameter_name"><p>user_data</p></td>
2000
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>callback</code></em>
2002
<td class="parameter_annotations"> </td>
2007
<p class="since">Since 0.15.2</p>
2010
<div class="refsect2">
2011
<a name="tp-channel-dispatch-operation-leave-channels-finish"></a><h3>tp_channel_dispatch_operation_leave_channels_finish ()</h3>
2012
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
2013
tp_channel_dispatch_operation_leave_channels_finish
2014
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
2015
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
2016
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2017
<p>Finishes an async operation initiated using
2018
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-leave-channels-async" title="tp_channel_dispatch_operation_leave_channels_async ()"><code class="function">tp_channel_dispatch_operation_leave_channels_async()</code></a>.</p>
2019
<div class="refsect3">
2020
<a name="id-1.4.49.11.34.5"></a><h4>Parameters</h4>
2021
<div class="informaltable"><table width="100%" border="0">
2023
<col width="150px" class="parameters_name">
2024
<col class="parameters_description">
2025
<col width="200px" class="parameters_annotations">
2029
<td class="parameter_name"><p>self</p></td>
2030
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
2031
<td class="parameter_annotations"> </td>
2034
<td class="parameter_name"><p>result</p></td>
2035
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
2036
<td class="parameter_annotations"> </td>
2039
<td class="parameter_name"><p>error</p></td>
2040
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</p></td>
2041
<td class="parameter_annotations"> </td>
2046
<div class="refsect3">
2047
<a name="id-1.4.49.11.34.6"></a><h4>Returns</h4>
2048
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful and
2049
<a class="link" href="telepathy-glib-channel.html#tp-channel-leave-async" title="tp_channel_leave_async ()"><code class="function">tp_channel_leave_async()</code></a> has at least been attempted on all the
2050
channels, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
2053
<p class="since">Since 0.15.2</p>
2056
<div class="refsect2">
2057
<a name="tp-channel-dispatch-operation-destroy-channels-async"></a><h3>tp_channel_dispatch_operation_destroy_channels_async ()</h3>
2058
<pre class="programlisting"><span class="returnvalue">void</span>
2059
tp_channel_dispatch_operation_destroy_channels_async
2060
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
2061
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
2062
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
2063
<p>Called by an approver to claim channels and destroy them all right away.
2064
If this method is called successfully, <em class="parameter"><code>self</code></em>
2065
has been claimed and
2066
<a class="link" href="telepathy-glib-channel.html#tp-channel-destroy-async" title="tp_channel_destroy_async ()"><code class="function">tp_channel_destroy_async()</code></a> has been called on all of its channels.</p>
2067
<p>If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a> signal
2068
to be emitted, in the same way as for
2069
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.</p>
2070
<p>This method may fail because the dispatch operation has already
2071
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
2072
for more details.</p>
2073
<p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a> feature must be prepared before
2074
calling this function.</p>
2075
<div class="refsect3">
2076
<a name="id-1.4.49.11.35.8"></a><h4>Parameters</h4>
2077
<div class="informaltable"><table width="100%" border="0">
2079
<col width="150px" class="parameters_name">
2080
<col class="parameters_description">
2081
<col width="200px" class="parameters_annotations">
2085
<td class="parameter_name"><p>self</p></td>
2086
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
2087
<td class="parameter_annotations"> </td>
2090
<td class="parameter_name"><p>callback</p></td>
2091
<td class="parameter_description"><p>a callback to call when the request has been satisfied</p></td>
2092
<td class="parameter_annotations"> </td>
2095
<td class="parameter_name"><p>user_data</p></td>
2096
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>callback</code></em>
2098
<td class="parameter_annotations"> </td>
2103
<p class="since">Since 0.15.2</p>
2106
<div class="refsect2">
2107
<a name="tp-channel-dispatch-operation-destroy-channels-finish"></a><h3>tp_channel_dispatch_operation_destroy_channels_finish ()</h3>
2108
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
2109
tp_channel_dispatch_operation_destroy_channels_finish
2110
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
2111
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
2112
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2113
<p>Finishes an async operation initiated using
2114
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-destroy-channels-async" title="tp_channel_dispatch_operation_destroy_channels_async ()"><code class="function">tp_channel_dispatch_operation_destroy_channels_async()</code></a>.</p>
2115
<div class="refsect3">
2116
<a name="id-1.4.49.11.36.5"></a><h4>Parameters</h4>
2117
<div class="informaltable"><table width="100%" border="0">
2119
<col width="150px" class="parameters_name">
2120
<col class="parameters_description">
2121
<col width="200px" class="parameters_annotations">
2125
<td class="parameter_name"><p>self</p></td>
2126
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
2127
<td class="parameter_annotations"> </td>
2130
<td class="parameter_name"><p>result</p></td>
2131
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
2132
<td class="parameter_annotations"> </td>
2135
<td class="parameter_name"><p>error</p></td>
2136
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</p></td>
2137
<td class="parameter_annotations"> </td>
2142
<div class="refsect3">
2143
<a name="id-1.4.49.11.36.6"></a><h4>Returns</h4>
2144
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful and
2145
<a class="link" href="telepathy-glib-channel.html#tp-channel-destroy-async" title="tp_channel_destroy_async ()"><code class="function">tp_channel_destroy_async()</code></a> has at least been attempted on all the
2146
channels, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
2149
<p class="since">Since 0.15.2</p>
2152
<div class="refsect1">
2153
<a name="telepathy-glib-channel-dispatch-operation.other_details"></a><h2>Types and Values</h2>
236
via a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> object.
239
<div class="refsect1">
240
<a name="telepathy-glib-channel-dispatch-operation.details"></a><h2>Details</h2>
2154
241
<div class="refsect2">
2155
242
<a name="TpChannelDispatchOperation-struct"></a><h3>struct TpChannelDispatchOperation</h3>
2156
243
<pre class="programlisting">struct TpChannelDispatchOperation;</pre>
2157
<p>One of the channel dispatcher's functions is to offer incoming channels to
245
One of the channel dispatcher's functions is to offer incoming channels to
2158
246
Approver clients for approval. An approver should generally ask the user
2159
247
whether they want to participate in the requested communication channels
2160
248
(join the chat or chatroom, answer the call, accept the file transfer, or
2161
249
whatever is appropriate). A collection of channels offered in this way
2162
is represented by a ChannelDispatchOperation object.</p>
2163
<p>If the user wishes to accept the communication channels, the approver
2164
should call <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-handle-with" title="tp_cli_channel_dispatch_operation_call_handle_with ()"><code class="function">tp_cli_channel_dispatch_operation_call_handle_with()</code></a> to
250
is represented by a ChannelDispatchOperation object.
253
If the user wishes to accept the communication channels, the approver
254
should call <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-handle-with" title="tp_cli_channel_dispatch_operation_call_handle_with ()"><code class="function">tp_cli_channel_dispatch_operation_call_handle_with()</code></a> to
2165
255
indicate the user's or approver's preferred handler for the channels (the
2166
256
empty string indicates no particular preference, and will cause any
2167
suitable handler to be used).</p>
2168
<p>If the user wishes to reject the communication channels, or if the user
257
suitable handler to be used).
260
If the user wishes to reject the communication channels, or if the user
2169
261
accepts the channels and the approver will handle them itself, the approver
2170
should call <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-claim" title="tp_cli_channel_dispatch_operation_call_claim ()"><code class="function">tp_cli_channel_dispatch_operation_call_claim()</code></a>. If this method
262
should call <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-call-claim" title="tp_cli_channel_dispatch_operation_call_claim ()"><code class="function">tp_cli_channel_dispatch_operation_call_claim()</code></a>. If this method
2171
263
succeeds, the approver immediately has control over the channels as their
2172
264
primary handler, and may do anything with them (in particular, it may close
2173
them in whatever way seems most appropriate).</p>
2174
<p>There are various situations in which the channel dispatch operation will
2175
be closed, causing the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a> signal to be emitted. If this
2176
happens, the approver should stop prompting the user.</p>
2177
<p>Because all approvers are launched simultaneously, the user might respond
2178
to another approver; if this happens, the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a> signal
265
them in whatever way seems most appropriate).
268
There are various situations in which the channel dispatch operation will
269
be closed, causing the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal to be emitted. If this
270
happens, the approver should stop prompting the user.
273
Because all approvers are launched simultaneously, the user might respond
274
to another approver; if this happens, the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal
2179
275
will be emitted with the domain <a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERRORS:CAPS" title="TP_DBUS_ERRORS"><code class="literal">TP_DBUS_ERRORS</code></a> and the error code
2180
<a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-OBJECT-REMOVED:CAPS"><code class="literal">TP_DBUS_ERROR_OBJECT_REMOVED</code></a>.</p>
2181
<p>If a channel closes, the <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation-channel-lost" title="The “channel-lost” signal"><span class="type">“channel-lost”</span></a> signal
276
<a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-OBJECT-REMOVED:CAPS"><code class="literal">TP_DBUS_ERROR_OBJECT_REMOVED</code></a>.
279
If a channel closes, the <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation-channel-lost" title='The "channel-lost" signal'><span class="type">"channel-lost"</span></a> signal
2182
280
is emitted. If all channels
2183
close, there is nothing more to dispatch, so the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a>
281
close, there is nothing more to dispatch, so the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a>
2184
282
signal will be emitted with the domain <a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERRORS:CAPS" title="TP_DBUS_ERRORS"><code class="literal">TP_DBUS_ERRORS</code></a> and the error code
2185
<a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-OBJECT-REMOVED:CAPS"><code class="literal">TP_DBUS_ERROR_OBJECT_REMOVED</code></a>.</p>
2186
<p>If the channel dispatcher crashes or exits, the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title="The “invalidated” signal"><span class="type">“invalidated”</span></a>
283
<a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-OBJECT-REMOVED:CAPS"><code class="literal">TP_DBUS_ERROR_OBJECT_REMOVED</code></a>.
286
If the channel dispatcher crashes or exits, the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a>
2187
287
signal will be emitted with the domain <a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERRORS:CAPS" title="TP_DBUS_ERRORS"><code class="literal">TP_DBUS_ERRORS</code></a> and the error code
2188
288
<a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-NAME-OWNER-LOST:CAPS"><code class="literal">TP_DBUS_ERROR_NAME_OWNER_LOST</code></a>. In a high-quality implementation, the
2189
289
dispatcher should be restarted, at which point it will create new
2190
290
channel dispatch operations for any undispatched channels, and the approver
2191
will be notified again.</p>
2192
<p>Creating a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> directly is deprecated: it
2193
should only be created via a <a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a>.</p>
2194
<p>Since 0.16, <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> always has a non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
2195
<a class="link" href="telepathy-glib-proxy.html#TpProxy--factory" title="The “factory” property"><span class="type">“factory”</span></a>, which will be propagated to the <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a>,
2196
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> and <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>.</p>
291
will be notified again.
294
Creating a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> directly is deprecated: it
295
should only be created via a <a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a>.
298
Since 0.16, <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> always has a non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
299
<a class="link" href="telepathy-glib-proxy.html#TpProxy--factory" title='The "factory" property'><span class="type">"factory"</span></a>, which will be propagated to the <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a>,
300
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> and <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>.
2197
302
<p class="since">Since 0.7.32</p>
2202
307
<pre class="programlisting">struct TpChannelDispatchOperationClass {
2205
<p>The class of a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>.</p>
311
The class of a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>.
315
<div class="refsect2">
316
<a name="tp-channel-dispatch-operation-new"></a><h3>tp_channel_dispatch_operation_new ()</h3>
317
<pre class="programlisting"><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="returnvalue">TpChannelDispatchOperation</span></a> * tp_channel_dispatch_operation_new
318
(<em class="parameter"><code><a class="link" href="telepathy-glib-dbus.html#TpDBusDaemon"><span class="type">TpDBusDaemon</span></a> *bus_daemon</code></em>,
319
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
320
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *immutable_properties</code></em>,
321
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
322
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
323
<h3 class="title">Warning</h3>
324
<p><code class="literal">tp_channel_dispatch_operation_new</code> is deprecated and should not be used in newly-written code. Since 0.19.9. New code should get
325
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> objects from a <a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a></p>
328
Convenience function to create a new channel dispatch operation proxy.
331
The <em class="parameter"><code>immutable_properties</code></em> argument is not yet used.
333
<div class="variablelist"><table border="0" class="variablelist">
335
<col align="left" valign="top">
340
<td><p><span class="term"><em class="parameter"><code>bus_daemon</code></em> :</span></p></td>
341
<td>Proxy for the D-Bus daemon</td>
344
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
345
<td>The non-NULL object path of this channel dispatch operation</td>
348
<td><p><span class="term"><em class="parameter"><code>immutable_properties</code></em> :</span></p></td>
349
<td>As many as are known of the immutable D-Bus
350
properties of this channel dispatch operation, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none are known</td>
353
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
354
<td>Used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned</td>
357
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
358
<td>a new reference to an channel dispatch operation proxy, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
359
<em class="parameter"><code>object_path</code></em> is not syntactically valid or the channel dispatcher is not
366
<div class="refsect2">
367
<a name="tp-channel-dispatch-operation-init-known-interfaces"></a><h3>tp_channel_dispatch_operation_init_known_interfaces ()</h3>
368
<pre class="programlisting"><span class="returnvalue">void</span> tp_channel_dispatch_operation_init_known_interfaces
369
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
371
Ensure that the known interfaces for TpChannelDispatchOperation have been
372
set up. This is done automatically when necessary, but for correct
373
overriding of library interfaces by local extensions, you should
374
call this function before calling
375
<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
376
<code class="literal">TP_TYPE_CHANNEL_DISPATCH_OPERATION</code>.
378
<p class="since">Since 0.7.32</p>
381
<div class="refsect2">
382
<a name="tp-cli-channel-dispatch-operation-callback-for-claim"></a><h3>tp_cli_channel_dispatch_operation_callback_for_claim ()</h3>
383
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_dispatch_operation_callback_for_claim)
384
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
385
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
386
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
387
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
389
Signature of the callback called when a Claim method call
392
<div class="variablelist"><table border="0" class="variablelist">
394
<col align="left" valign="top">
399
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
400
<td>the proxy on which the call was made</td>
403
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
405
<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</td>
408
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
409
<td>user-supplied data</td>
412
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
413
<td>user-supplied object</td>
419
<div class="refsect2">
420
<a name="tp-cli-channel-dispatch-operation-call-claim"></a><h3>tp_cli_channel_dispatch_operation_call_claim ()</h3>
421
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_dispatch_operation_call_claim
422
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
423
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
424
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-claim" title="tp_cli_channel_dispatch_operation_callback_for_claim ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_claim</span></a> callback</code></em>,
425
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
426
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
427
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
429
Start a Claim method call.
432
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Called by an approver to claim channels for handling internally. If this method is called successfully, the process calling this method becomes the handler for the channel, but <em>does not</em> have the <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler">HandleChannels</tp:dbus-ref> method called on it.</p> <p>Clients that call Claim on channels but do not immediately close them SHOULD implement the Handler interface and its <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler">HandledChannels</tp:dbus-ref> property.</p> <p>Approvers wishing to reject channels MUST call this method to claim ownership of them, and MUST NOT call <tp:dbus-ref namespace="org.freedesktop.Telepathy.Channel">Close</tp:dbus-ref> on the channels unless/until this method returns successfully.</p> <tp:rationale> <p>The channel dispatcher can't know how best to close arbitrary channel types, so it leaves it up to the approver to do so. For instance, for Text channels it is necessary to acknowledge any messages that have already been displayed to the user first - ideally, the approver would display and then acknowledge the messages - or to call <tp:dbus-ref namespace="org.freedesktop.Telepathy">Channel.Interface.Destroyable.Destroy</tp:dbus-ref> if the destructive behaviour of that method is desired.</p> <p>Similarly, an Approver for StreamedMedia channels can close the channel with a reason (e.g. &quot;busy&quot;) if desired. The channel dispatcher, which is designed to have no specific knowledge of particular channel types, can't do that.</p> </tp:rationale> <p>If successful, this method will cause the ChannelDispatchOperation object to disappear, emitting <tp:member-ref>Finished</tp:member-ref>, in the same way as for <tp:member-ref>HandleWith</tp:member-ref>.</p> <p>This method may fail because the dispatch operation has already been completed. Again, see HandleWith for more details. The approver MUST NOT attempt to interact with the channels further in this case.</p> <p>(FIXME: list some other possible errors)</p>
434
<div class="variablelist"><table border="0" class="variablelist">
436
<col align="left" valign="top">
441
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
442
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
446
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
447
<td>the timeout in milliseconds, or -1 to use the
451
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
452
<td>called when the method call succeeds or fails;
453
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
457
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
458
<td>user-supplied data passed to the callback;
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>
463
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
464
<td>called with the user_data as argument, after the
465
call has succeeded, failed or been cancelled;
466
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>
470
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
471
<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
472
weakly referenced; if it is destroyed, this call
473
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
474
<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>
478
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
479
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
480
progress. It is borrowed from the object, and will become
481
invalid when the callback is called, the call is
482
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
488
<div class="refsect2">
489
<a name="tp-cli-channel-dispatch-operation-callback-for-handle-with"></a><h3>tp_cli_channel_dispatch_operation_callback_for_handle_with ()</h3>
490
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_dispatch_operation_callback_for_handle_with)
491
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
492
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
493
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
494
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
496
Signature of the callback called when a HandleWith method call
499
<div class="variablelist"><table border="0" class="variablelist">
501
<col align="left" valign="top">
506
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
507
<td>the proxy on which the call was made</td>
510
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
512
<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</td>
515
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
516
<td>user-supplied data</td>
519
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
520
<td>user-supplied object</td>
526
<div class="refsect2">
527
<a name="tp-cli-channel-dispatch-operation-call-handle-with"></a><h3>tp_cli_channel_dispatch_operation_call_handle_with ()</h3>
528
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_dispatch_operation_call_handle_with
529
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
530
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
531
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Handler</code></em>,
532
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with" title="tp_cli_channel_dispatch_operation_callback_for_handle_with ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_handle_with</span></a> callback</code></em>,
533
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
534
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
535
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
537
Start a HandleWith method call.
540
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Called by an approver to accept a channel bundle and request that the given handler be used to handle it.</p> <p>If successful, this method will cause the ChannelDispatchOperation object to disappear, emitting <tp:member-ref>Finished</tp:member-ref>.</p> <p>However, this method may fail because the dispatch has already been completed and the object has already gone. If this occurs, it indicates that another approver has asked for the bundle to be handled by a particular handler. The approver MUST NOT attempt to interact with the channels further in this case, unless it is separately invoked as the handler.</p> <p>Approvers which are also channel handlers SHOULD use <tp:member-ref>Claim</tp:member-ref> instead of HandleWith to request that they can handle a channel bundle themselves.</p> <p>(FIXME: list some possible errors)</p> <p>If the channel handler raises an error from <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler">HandleChannels</tp:dbus-ref>, this method MAY respond by raising that same error, even if it is not specifically documented here.</p>
542
<div class="variablelist"><table border="0" class="variablelist">
544
<col align="left" valign="top">
549
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
550
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
554
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
555
<td>the timeout in milliseconds, or -1 to use the
559
<td><p><span class="term"><em class="parameter"><code>in_Handler</code></em> :</span></p></td>
560
<td>Used to pass an 'in' argument: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The well-known bus name (starting with <code>org.freedesktop.Telepathy.Client.</code>) of the channel handler that should handle the channel, or the empty string if the client has no preferred channel handler.</p></td>
563
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
564
<td>called when the method call succeeds or fails;
565
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
569
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
570
<td>user-supplied data passed to the callback;
571
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>
575
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
576
<td>called with the user_data as argument, after the
577
call has succeeded, failed or been cancelled;
578
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
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
583
<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
584
weakly referenced; if it is destroyed, this call
585
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
586
<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>
590
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
591
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
592
progress. It is borrowed from the object, and will become
593
invalid when the callback is called, the call is
594
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
600
<div class="refsect2">
601
<a name="tp-cli-channel-dispatch-operation-callback-for-handle-with-time"></a><h3>tp_cli_channel_dispatch_operation_callback_for_handle_with_time ()</h3>
602
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_dispatch_operation_callback_for_handle_with_time)
603
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
604
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
605
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
606
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
608
Signature of the callback called when a HandleWithTime method call
611
<div class="variablelist"><table border="0" class="variablelist">
613
<col align="left" valign="top">
618
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
619
<td>the proxy on which the call was made</td>
622
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
624
<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</td>
627
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
628
<td>user-supplied data</td>
631
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
632
<td>user-supplied object</td>
638
<div class="refsect2">
639
<a name="tp-cli-channel-dispatch-operation-call-handle-with-time"></a><h3>tp_cli_channel_dispatch_operation_call_handle_with_time ()</h3>
640
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_dispatch_operation_call_handle_with_time
641
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
642
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
643
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Handler</code></em>,
644
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> in_UserActionTime</code></em>,
645
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-callback-for-handle-with-time" title="tp_cli_channel_dispatch_operation_callback_for_handle_with_time ()"><span class="type">tp_cli_channel_dispatch_operation_callback_for_handle_with_time</span></a> callback</code></em>,
646
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
647
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
648
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
650
Start a HandleWithTime method call.
653
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>A variant of <tp:member-ref>HandleWith</tp:member-ref> allowing the approver to pass an user action time. This timestamp will be passed to the Handler when <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler">HandleChannels</tp:dbus-ref> is called.</p>
655
<div class="variablelist"><table border="0" class="variablelist">
657
<col align="left" valign="top">
662
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
663
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
667
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
668
<td>the timeout in milliseconds, or -1 to use the
672
<td><p><span class="term"><em class="parameter"><code>in_Handler</code></em> :</span></p></td>
673
<td>Used to pass an 'in' argument: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The well-known bus name (starting with <code>org.freedesktop.Telepathy.Client.</code>) of the channel handler that should handle the channel, or the empty string if the client has no preferred channel handler.</p></td>
676
<td><p><span class="term"><em class="parameter"><code>in_UserActionTime</code></em> :</span></p></td>
677
<td>Used to pass an 'in' argument: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The time at which user action occurred.</p></td>
680
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
681
<td>called when the method call succeeds or fails;
682
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
686
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
687
<td>user-supplied data passed to the callback;
688
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>
692
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
693
<td>called with the user_data as argument, after the
694
call has succeeded, failed or been cancelled;
695
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>
699
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
700
<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
701
weakly referenced; if it is destroyed, this call
702
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
703
<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>
707
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
708
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
709
progress. It is borrowed from the object, and will become
710
invalid when the callback is called, the call is
711
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
717
<div class="refsect2">
718
<a name="tp-cli-channel-dispatch-operation-signal-callback-channel-lost"></a><h3>tp_cli_channel_dispatch_operation_signal_callback_channel_lost ()</h3>
719
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_dispatch_operation_signal_callback_channel_lost)
720
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
721
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Channel</code></em>,
722
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Error</code></em>,
723
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Message</code></em>,
724
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
725
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
727
Represents the signature of a callback for the signal ChannelLost.
729
<div class="variablelist"><table border="0" class="variablelist">
731
<col align="left" valign="top">
736
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
737
<td>The proxy on which <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-connect-to-channel-lost" title="tp_cli_channel_dispatch_operation_connect_to_channel_lost ()"><code class="function">tp_cli_channel_dispatch_operation_connect_to_channel_lost()</code></a>
741
<td><p><span class="term"><em class="parameter"><code>arg_Channel</code></em> :</span></p></td>
742
<td>The <tp:dbus-ref namespace="org.freedesktop.Telepathy">Channel</tp:dbus-ref> that closed.</td>
745
<td><p><span class="term"><em class="parameter"><code>arg_Error</code></em> :</span></p></td>
746
<td><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>The name of a D-Bus error indicating why the channel closed. If no better reason can be found, <code>org.freedesktop.Telepathy.Error.NotAvailable</code> MAY be used as a fallback; this means that this error SHOULD NOT be given any more specific meaning.</p></td>
749
<td><p><span class="term"><em class="parameter"><code>arg_Message</code></em> :</span></p></td>
750
<td>A string associated with the D-Bus error.</td>
753
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
754
<td>User-supplied data</td>
757
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
758
<td>User-supplied weakly referenced object</td>
764
<div class="refsect2">
765
<a name="tp-cli-channel-dispatch-operation-connect-to-channel-lost"></a><h3>tp_cli_channel_dispatch_operation_connect_to_channel_lost ()</h3>
766
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * tp_cli_channel_dispatch_operation_connect_to_channel_lost
767
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
768
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-channel-lost" title="tp_cli_channel_dispatch_operation_signal_callback_channel_lost ()"><span class="type">tp_cli_channel_dispatch_operation_signal_callback_channel_lost</span></a> callback</code></em>,
769
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
770
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
771
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
772
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
774
Connect a handler to the signal ChannelLost.
777
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>A channel has closed before it could be claimed or handled. If this is emitted for the last remaining channel in a channel dispatch operation, it MUST immediately be followed by <tp:member-ref>Finished</tp:member-ref>.</p> <p>This signal MUST NOT be emitted until all Approvers that were invoked have returned (successfully or with an error) from their <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver">AddDispatchOperation</tp:dbus-ref> method.</p> <tp:rationale> <p>This means that Approvers can connect to the ChannelLost signal in a race-free way. Non-approver processes that discover a channel dispatch operation in some way (such as observers) will have to follow the usual &quot;connect to signals then recover state&quot; model - first connect to ChannelLost and <tp:member-ref>Finished</tp:member-ref>, then download <tp:member-ref>Channels</tp:member-ref> (and on error, perhaps assume that the operation has already Finished).</p> </tp:rationale>
779
<div class="variablelist"><table border="0" class="variablelist">
781
<col align="left" valign="top">
786
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
787
<td>A <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> or subclass</td>
790
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
791
<td>Callback to be called when the signal is
795
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
796
<td>User-supplied data for the callback</td>
799
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
800
<td>Destructor for the user-supplied data, which
801
will be called when this signal is disconnected, or
802
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
806
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
807
<td>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 weakly referenced;
808
if it is destroyed, this callback will automatically be
812
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
813
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
817
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
818
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
819
above, which can be used to disconnect the signal; or
820
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
821
or has become invalid.</td>
827
<div class="refsect2">
828
<a name="tp-cli-channel-dispatch-operation-signal-callback-finished"></a><h3>tp_cli_channel_dispatch_operation_signal_callback_finished ()</h3>
829
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_dispatch_operation_signal_callback_finished)
830
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
831
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
832
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
834
Represents the signature of a callback for the signal Finished.
836
<div class="variablelist"><table border="0" class="variablelist">
838
<col align="left" valign="top">
843
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
844
<td>The proxy on which <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-connect-to-finished" title="tp_cli_channel_dispatch_operation_connect_to_finished ()"><code class="function">tp_cli_channel_dispatch_operation_connect_to_finished()</code></a>
848
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
849
<td>User-supplied data</td>
852
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
853
<td>User-supplied weakly referenced object</td>
859
<div class="refsect2">
860
<a name="tp-cli-channel-dispatch-operation-connect-to-finished"></a><h3>tp_cli_channel_dispatch_operation_connect_to_finished ()</h3>
861
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * tp_cli_channel_dispatch_operation_connect_to_finished
862
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *proxy</code></em>,
863
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-cli-channel-dispatch-operation-signal-callback-finished" title="tp_cli_channel_dispatch_operation_signal_callback_finished ()"><span class="type">tp_cli_channel_dispatch_operation_signal_callback_finished</span></a> callback</code></em>,
864
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
865
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
866
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
867
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
869
Connect a handler to the signal Finished.
872
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Emitted when this dispatch operation finishes. The dispatch operation is no longer present and further methods must not be called on it.</p> <p>Approvers that have a user interface SHOULD stop notifying the user about the channels in response to this signal; they MAY assume that on errors, they would have received <tp:member-ref>ChannelLost</tp:member-ref> first.</p> <p>Its object path SHOULD NOT be reused for a subsequent dispatch operation; the ChannelDispatcher MUST choose object paths in a way that avoids immediate re-use.</p> <tp:rationale> <p>Otherwise, clients might accidentally call <tp:member-ref>HandleWith</tp:member-ref> or <tp:member-ref>Claim</tp:member-ref> on a new dispatch operation instead of the one they intended to handle.</p> </tp:rationale> <p>This signal MUST NOT be emitted until all Approvers that were invoked have returned (successfully or with an error) from their <tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver">AddDispatchOperation</tp:dbus-ref> method.</p> <tp:rationale> <p>This means that Approvers can connect to the ChannelLost signal in a race-free way. Non-approver processes that discover a channel dispatch operation in some way (such as observers) will have to follow the usual &quot;connect to signals then recover state&quot; model - first connect to <tp:member-ref>ChannelLost</tp:member-ref> and Finished, then download <tp:member-ref>Channels</tp:member-ref> (and on error, perhaps assume that the operation has already Finished).</p> </tp:rationale>
874
<div class="variablelist"><table border="0" class="variablelist">
876
<col align="left" valign="top">
881
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
882
<td>A <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> or subclass</td>
885
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
886
<td>Callback to be called when the signal is
890
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
891
<td>User-supplied data for the callback</td>
894
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
895
<td>Destructor for the user-supplied data, which
896
will be called when this signal is disconnected, or
897
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
901
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
902
<td>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 weakly referenced;
903
if it is destroyed, this callback will automatically be
907
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
908
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
912
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
913
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
914
above, which can be used to disconnect the signal; or
915
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
916
or has become invalid.</td>
2208
922
<div class="refsect2">
2209
923
<a name="TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS"></a><h3>TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</h3>
2210
924
<pre class="programlisting">#define TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</pre>
2211
<p>Expands to a call to a function that returns a quark for the "core" feature
2212
on a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>.</p>
2213
<p>When this feature is prepared, the basic properties of the
2214
ChannelDispatchOperation have been retrieved and are available for use.</p>
2215
<p>Specifically, this implies that:</p>
926
Expands to a call to a function that returns a quark for the "core" feature
927
on a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>.
930
When this feature is prepared, the basic properties of the
931
ChannelDispatchOperation have been retrieved and are available for use.
934
Specifically, this implies that:
2216
938
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
2217
<li class="listitem"><p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--connection" title="The “connection” property"><span class="type">“connection”</span></a> is set (but
2218
TP_CONNECTION_FEATURE_CORE is not necessarily prepared)</p></li>
2219
<li class="listitem"><p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--account" title="The “account” property"><span class="type">“account”</span></a> is set (but
2220
TP_ACCOUNT_FEATURE_CORE is not necessarily prepared)</p></li>
2221
<li class="listitem"><p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--channels" title="The “channels” property"><span class="type">“channels”</span></a> is set (but
2222
TP_CHANNEL_FEATURE_CORE is not necessarily prepared)</p></li>
2223
<li class="listitem"><p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--possible-handlers" title="The “possible-handlers” property"><span class="type">“possible-handlers”</span></a> is set</p></li>
939
<li class="listitem"><p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--connection" title='The "connection" property'><span class="type">"connection"</span></a> is set (but
940
TP_CONNECTION_FEATURE_CORE is not necessarily prepared)</p></li>
941
<li class="listitem"><p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--account" title='The "account" property'><span class="type">"account"</span></a> is set (but
942
TP_ACCOUNT_FEATURE_CORE is not necessarily prepared)</p></li>
943
<li class="listitem"><p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--channels" title='The "channels" property'><span class="type">"channels"</span></a> is set (but
944
TP_CHANNEL_FEATURE_CORE is not necessarily prepared)</p></li>
945
<li class="listitem"><p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--possible-handlers" title='The "possible-handlers" property'><span class="type">"possible-handlers"</span></a> is set</p></li>
2224
946
<li class="listitem"><p>any extra interfaces will have been set up in TpProxy (i.e.
2225
<a class="link" href="telepathy-glib-proxy.html#TpProxy--interfaces" title="The “interfaces” property"><span class="type">“interfaces”</span></a> contains at least all extra ChannelDispatchOperation
2226
interfaces)</p></li>
947
<a class="link" href="telepathy-glib-proxy.html#TpProxy--interfaces" title='The "interfaces" property'><span class="type">"interfaces"</span></a> contains at least all extra ChannelDispatchOperation
2228
<p>One can ask for a feature to be prepared using the
2229
<a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> function, and waiting for it to callback.</p>
2230
<p class="since">Since 0.11.5</p>
953
One can ask for a feature to be prepared using the
954
<a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> function, and waiting for it to callback.
956
<p class="since">Since 0.11.5</p>
959
<div class="refsect2">
960
<a name="tp-channel-dispatch-operation-borrow-account"></a><h3>tp_channel_dispatch_operation_borrow_account ()</h3>
961
<pre class="programlisting"><a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> * tp_channel_dispatch_operation_borrow_account
962
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
963
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
964
<h3 class="title">Warning</h3>
965
<p><code class="literal">tp_channel_dispatch_operation_borrow_account</code> is deprecated and should not be used in newly-written code. Since 0.19.9. New code should use
966
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-account" title="tp_channel_dispatch_operation_get_account ()"><code class="function">tp_channel_dispatch_operation_get_account()</code></a> instead.</p>
969
Returns the <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> of this ChannelDispatchOperation.
970
The returned pointer is only valid while <em class="parameter"><code>self</code></em> is valid - reference
971
it with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.
973
<div class="variablelist"><table border="0" class="variablelist">
975
<col align="left" valign="top">
980
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
981
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
985
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
986
<td>the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--account" title='The "account" property'><span class="type">"account"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
991
<p class="since">Since 0.11.5</p>
994
<div class="refsect2">
995
<a name="tp-channel-dispatch-operation-borrow-channels"></a><h3>tp_channel_dispatch_operation_borrow_channels ()</h3>
996
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * tp_channel_dispatch_operation_borrow_channels
997
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
998
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
999
<h3 class="title">Warning</h3>
1000
<p><code class="literal">tp_channel_dispatch_operation_borrow_channels</code> is deprecated and should not be used in newly-written code. Since 0.19.9. New code should use
1001
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-channels" title="tp_channel_dispatch_operation_get_channels ()"><code class="function">tp_channel_dispatch_operation_get_channels()</code></a> instead.</p>
1004
Returns a <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> containing the <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> of this
1005
ChannelDispatchOperation.
1006
The returned array and its <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> are only valid while <em class="parameter"><code>self</code></em> is
1007
valid - copy array and reference channels with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.
1009
<div class="variablelist"><table border="0" class="variablelist">
1011
<col align="left" valign="top">
1016
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1017
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1021
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1022
<td>the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--channels" title='The "channels" property'><span class="type">"channels"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1027
<p class="since">Since 0.11.5</p>
1030
<div class="refsect2">
1031
<a name="tp-channel-dispatch-operation-borrow-connection"></a><h3>tp_channel_dispatch_operation_borrow_connection ()</h3>
1032
<pre class="programlisting"><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> * tp_channel_dispatch_operation_borrow_connection
1033
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1034
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1035
<h3 class="title">Warning</h3>
1036
<p><code class="literal">tp_channel_dispatch_operation_borrow_connection</code> is deprecated and should not be used in newly-written code. Since 0.19.9. New code should use
1037
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-connection" title="tp_channel_dispatch_operation_get_connection ()"><code class="function">tp_channel_dispatch_operation_get_connection()</code></a> instead.</p>
1040
Returns the <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> of this ChannelDispatchOperation.
1041
The returned pointer is only valid while <em class="parameter"><code>self</code></em> is valid - reference
1042
it with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.
1044
<div class="variablelist"><table border="0" class="variablelist">
1046
<col align="left" valign="top">
1051
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1052
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1056
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1057
<td>the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--connection" title='The "connection" property'><span class="type">"connection"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1062
<p class="since">Since 0.11.5</p>
1065
<div class="refsect2">
1066
<a name="tp-channel-dispatch-operation-borrow-immutable-properties"></a><h3>tp_channel_dispatch_operation_borrow_immutable_properties ()</h3>
1067
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> * tp_channel_dispatch_operation_borrow_immutable_properties
1068
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1069
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1070
<h3 class="title">Warning</h3>
1071
<p><code class="literal">tp_channel_dispatch_operation_borrow_immutable_properties</code> is deprecated and should not be used in newly-written code. Since 0.19.9. New code should use individual property
1072
getters like <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-connection" title="tp_channel_dispatch_operation_get_connection ()"><code class="function">tp_channel_dispatch_operation_get_connection()</code></a>,
1073
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-account" title="tp_channel_dispatch_operation_get_account ()"><code class="function">tp_channel_dispatch_operation_get_account()</code></a>,
1074
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-channels" title="tp_channel_dispatch_operation_get_channels ()"><code class="function">tp_channel_dispatch_operation_get_channels()</code></a>, or
1075
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-possible-handlers" title="tp_channel_dispatch_operation_get_possible_handlers ()"><code class="function">tp_channel_dispatch_operation_get_possible_handlers()</code></a> instead.</p>
1078
Returns the immutable D-Bus properties of this channel.
1079
The returned hash table is only valid while <em class="parameter"><code>self</code></em> is valid - reference
1080
it with <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-ref"><code class="function">g_hash_table_ref()</code></a> if needed.
1082
<div class="variablelist"><table border="0" class="variablelist">
1084
<col align="left" valign="top">
1089
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1090
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1094
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1096
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--cdo-properties" title='The "cdo-properties" property'><span class="type">"cdo-properties"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
1101
<p class="since">Since 0.11.5</p>
1104
<div class="refsect2">
1105
<a name="tp-channel-dispatch-operation-borrow-possible-handlers"></a><h3>tp_channel_dispatch_operation_borrow_possible_handlers ()</h3>
1106
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a> tp_channel_dispatch_operation_borrow_possible_handlers
1107
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1108
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1109
<h3 class="title">Warning</h3>
1110
<p><code class="literal">tp_channel_dispatch_operation_borrow_possible_handlers</code> is deprecated and should not be used in newly-written code. Since 0.19.9. New code should use
1111
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-get-possible-handlers" title="tp_channel_dispatch_operation_get_possible_handlers ()"><code class="function">tp_channel_dispatch_operation_get_possible_handlers()</code></a> instead.</p>
1114
Returns a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> containing the possible handlers of this
1115
ChannelDispatchOperation.
1116
The returned array and its strings are only valid while <em class="parameter"><code>self</code></em> is
1117
valid - copy it with g_strdupv if needed.
1119
<div class="variablelist"><table border="0" class="variablelist">
1121
<col align="left" valign="top">
1126
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1127
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1131
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1133
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--possible-handlers" title='The "possible-handlers" property'><span class="type">"possible-handlers"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1138
<p class="since">Since 0.11.5</p>
1141
<div class="refsect2">
1142
<a name="tp-channel-dispatch-operation-get-account"></a><h3>tp_channel_dispatch_operation_get_account ()</h3>
1143
<pre class="programlisting"><a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> * tp_channel_dispatch_operation_get_account
1144
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1146
Returns the <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> of this ChannelDispatchOperation.
1147
The returned pointer is only valid while <em class="parameter"><code>self</code></em> is valid - reference
1148
it with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.
1150
<div class="variablelist"><table border="0" class="variablelist">
1152
<col align="left" valign="top">
1157
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1158
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1162
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1163
<td>the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--account" title='The "account" property'><span class="type">"account"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1168
<p class="since">Since 0.19.9</p>
1171
<div class="refsect2">
1172
<a name="tp-channel-dispatch-operation-get-channels"></a><h3>tp_channel_dispatch_operation_get_channels ()</h3>
1173
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * tp_channel_dispatch_operation_get_channels
1174
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1176
Returns a <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> containing the <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> of this
1177
ChannelDispatchOperation.
1178
The returned array and its <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> are only valid while <em class="parameter"><code>self</code></em> is
1179
valid - copy array and reference channels with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.
1181
<div class="variablelist"><table border="0" class="variablelist">
1183
<col align="left" valign="top">
1188
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1189
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1193
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1195
of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--channels" title='The "channels" property'><span class="type">"channels"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.Channel]</span>
1200
<p class="since">Since 0.19.9</p>
1203
<div class="refsect2">
1204
<a name="tp-channel-dispatch-operation-get-connection"></a><h3>tp_channel_dispatch_operation_get_connection ()</h3>
1205
<pre class="programlisting"><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> * tp_channel_dispatch_operation_get_connection
1206
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1208
Returns the <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> of this ChannelDispatchOperation.
1209
The returned pointer is only valid while <em class="parameter"><code>self</code></em> is valid - reference
1210
it with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if needed.
1212
<div class="variablelist"><table border="0" class="variablelist">
1214
<col align="left" valign="top">
1219
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1220
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1224
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1225
<td>the value of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--connection" title='The "connection" property'><span class="type">"connection"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1230
<p class="since">Since 0.19.9</p>
1233
<div class="refsect2">
1234
<a name="tp-channel-dispatch-operation-get-possible-handlers"></a><h3>tp_channel_dispatch_operation_get_possible_handlers ()</h3>
1235
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="returnvalue">GStrv</span></a> tp_channel_dispatch_operation_get_possible_handlers
1236
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>);</pre>
1238
Returns a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> containing the possible handlers of this
1239
ChannelDispatchOperation.
1240
The returned array and its strings are only valid while <em class="parameter"><code>self</code></em> is
1241
valid - copy it with g_strdupv if needed.
1243
<div class="variablelist"><table border="0" class="variablelist">
1245
<col align="left" valign="top">
1250
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1251
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1255
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1257
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation--possible-handlers" title='The "possible-handlers" property'><span class="type">"possible-handlers"</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1262
<p class="since">Since 0.19.9</p>
1265
<div class="refsect2">
1266
<a name="tp-channel-dispatch-operation-handle-with-async"></a><h3>tp_channel_dispatch_operation_handle_with_async ()</h3>
1267
<pre class="programlisting"><span class="returnvalue">void</span> tp_channel_dispatch_operation_handle_with_async
1268
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1269
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *handler</code></em>,
1270
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1271
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1273
Called by an approver to accept a channel bundle and request that the
1274
given handler be used to handle it.
1277
If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal
1278
to be emitted with the TP_DBUS_ERROR_OBJECT_REMOVED error code.
1281
However, this method may fail because the dispatch has already been
1282
completed and the object has already gone. If this occurs, it indicates
1283
that another approver has asked for the bundle to be handled by a
1284
particular handler. The approver MUST NOT attempt to interact with
1285
the channels further in this case, unless it is separately
1286
invoked as the handler.
1289
Approvers which are also channel handlers SHOULD use
1290
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-async" title="tp_channel_dispatch_operation_claim_async ()"><code class="function">tp_channel_dispatch_operation_claim_async()</code></a> instead
1291
of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a> to request
1292
that they can handle a channel bundle themselves.
1294
<div class="variablelist"><table border="0" class="variablelist">
1296
<col align="left" valign="top">
1301
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1302
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1306
<td><p><span class="term"><em class="parameter"><code>handler</code></em> :</span></p></td>
1307
<td>The well-known bus name (starting with
1308
<a class="link" href="telepathy-glib-defs.html#TP-CLIENT-BUS-NAME-BASE:CAPS" title="TP_CLIENT_BUS_NAME_BASE"><span class="type">TP_CLIENT_BUS_NAME_BASE</span></a>) of the channel handler that should handle the
1309
channel, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the client has no preferred channel handler. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1313
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1314
<td>a callback to call when the call returns</td>
1317
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1318
<td>data to pass to <em class="parameter"><code>callback</code></em>
1323
<p class="since">Since 0.11.5</p>
1326
<div class="refsect2">
1327
<a name="tp-channel-dispatch-operation-handle-with-finish"></a><h3>tp_channel_dispatch_operation_handle_with_finish ()</h3>
1328
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_channel_dispatch_operation_handle_with_finish
1329
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1330
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1331
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1333
Finishes an async call to <code class="function">HandleWith()</code>.
1335
<div class="variablelist"><table border="0" class="variablelist">
1337
<col align="left" valign="top">
1342
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1343
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1347
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1348
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1352
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1353
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</td>
1356
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1358
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">HandleWith()</code> call was successful, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1363
<p class="since">Since 0.11.5</p>
1366
<div class="refsect2">
1367
<a name="tp-channel-dispatch-operation-handle-with-time-async"></a><h3>tp_channel_dispatch_operation_handle_with_time_async ()</h3>
1368
<pre class="programlisting"><span class="returnvalue">void</span> tp_channel_dispatch_operation_handle_with_time_async
1369
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1370
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *handler</code></em>,
1371
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> user_action_time</code></em>,
1372
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1373
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1375
A variant of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1376
allowing the approver to pass an user action time.
1377
This timestamp will be passed to the Handler when HandleChannels is called.
1380
If an X server timestamp for the user action causing this method call is
1381
available, <em class="parameter"><code>user_action_time</code></em> should be this timestamp (for instance, the
1382
result of <a href="http://developer.gnome.org/gdk2/gdk3-Events.html#gdk-event-get-time"><code class="function">gdk_event_get_time()</code></a> if it is not <a href="http://developer.gnome.org/gdk2/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>). Otherwise, it
1383
may be <a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-NOT-USER-ACTION:CAPS" title="TP_USER_ACTION_TIME_NOT_USER_ACTION"><code class="literal">TP_USER_ACTION_TIME_NOT_USER_ACTION</code></a> to behave as if there was no
1384
user action or it happened a long time ago, or
1385
<a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-CURRENT-TIME:CAPS" title="TP_USER_ACTION_TIME_CURRENT_TIME"><code class="literal">TP_USER_ACTION_TIME_CURRENT_TIME</code></a> to have the Handler behave as though the
1386
user action had just happened (resembling, but not numerically equal to,
1387
<a href="http://developer.gnome.org/gdk2/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>).
1390
This method has been introduced in telepathy-mission-control 5.5.0.
1392
<div class="variablelist"><table border="0" class="variablelist">
1394
<col align="left" valign="top">
1399
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1400
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1404
<td><p><span class="term"><em class="parameter"><code>handler</code></em> :</span></p></td>
1405
<td>The well-known bus name (starting with
1406
<a class="link" href="telepathy-glib-defs.html#TP-CLIENT-BUS-NAME-BASE:CAPS" title="TP_CLIENT_BUS_NAME_BASE"><span class="type">TP_CLIENT_BUS_NAME_BASE</span></a>) of the channel handler that should handle the
1407
channel, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the client has no preferred channel handler. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1411
<td><p><span class="term"><em class="parameter"><code>user_action_time</code></em> :</span></p></td>
1412
<td>the time at which user action occurred, or one of the
1413
special values <a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-NOT-USER-ACTION:CAPS" title="TP_USER_ACTION_TIME_NOT_USER_ACTION"><code class="literal">TP_USER_ACTION_TIME_NOT_USER_ACTION</code></a> or
1414
<a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-CURRENT-TIME:CAPS" title="TP_USER_ACTION_TIME_CURRENT_TIME"><code class="literal">TP_USER_ACTION_TIME_CURRENT_TIME</code></a>
1418
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1419
<td>a callback to call when the call returns</td>
1422
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1423
<td>data to pass to <em class="parameter"><code>callback</code></em>
1428
<p class="since">Since 0.11.7</p>
1431
<div class="refsect2">
1432
<a name="tp-channel-dispatch-operation-handle-with-time-finish"></a><h3>tp_channel_dispatch_operation_handle_with_time_finish ()</h3>
1433
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_channel_dispatch_operation_handle_with_time_finish
1434
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1435
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1436
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1438
Finishes an async call to <code class="function">HandleWithTime()</code>.
1440
<div class="variablelist"><table border="0" class="variablelist">
1442
<col align="left" valign="top">
1447
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1448
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1452
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1453
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1457
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1458
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</td>
1461
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1463
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">HandleWithTime()</code> call was successful, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1468
<p class="since">Since 0.11.7</p>
1471
<div class="refsect2">
1472
<a name="tp-channel-dispatch-operation-claim-async"></a><h3>tp_channel_dispatch_operation_claim_async ()</h3>
1473
<pre class="programlisting"><span class="returnvalue">void</span> tp_channel_dispatch_operation_claim_async
1474
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1475
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1476
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1477
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1478
<h3 class="title">Warning</h3>
1479
<p><code class="literal">tp_channel_dispatch_operation_claim_async</code> is deprecated and should not be used in newly-written code. since 0.15.0. Use
1480
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-async" title="tp_channel_dispatch_operation_claim_with_async ()"><code class="function">tp_channel_dispatch_operation_claim_with_async()</code></a></p>
1483
Called by an approver to claim channels for handling internally.
1484
If this method is called successfully, the process calling this
1485
method becomes the handler for the channel.
1488
If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal
1489
to be emitted, in the same way as for
1490
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.
1493
This method may fail because the dispatch operation has already
1494
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1495
for more details. The approver MUST NOT attempt to interact with
1496
the channels further in this case.
1498
<div class="variablelist"><table border="0" class="variablelist">
1500
<col align="left" valign="top">
1505
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1506
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1510
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1511
<td>a callback to call when the call returns</td>
1514
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1515
<td>data to pass to <em class="parameter"><code>callback</code></em>
1520
<p class="since">Since 0.11.5</p>
1523
<div class="refsect2">
1524
<a name="tp-channel-dispatch-operation-claim-finish"></a><h3>tp_channel_dispatch_operation_claim_finish ()</h3>
1525
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_channel_dispatch_operation_claim_finish
1526
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1527
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1528
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1529
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1530
<h3 class="title">Warning</h3>
1531
<p><code class="literal">tp_channel_dispatch_operation_claim_finish</code> is deprecated and should not be used in newly-written code. since 0.15.0. Use
1532
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-finish" title="tp_channel_dispatch_operation_claim_with_finish ()"><code class="function">tp_channel_dispatch_operation_claim_with_finish()</code></a></p>
1535
Finishes an async call to <code class="function">Claim()</code>.
1537
<div class="variablelist"><table border="0" class="variablelist">
1539
<col align="left" valign="top">
1544
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1545
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1549
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1550
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1554
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1555
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</td>
1558
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1560
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1565
<p class="since">Since 0.11.5</p>
1568
<div class="refsect2">
1569
<a name="tp-channel-dispatch-operation-claim-with-async"></a><h3>tp_channel_dispatch_operation_claim_with_async ()</h3>
1570
<pre class="programlisting"><span class="returnvalue">void</span> tp_channel_dispatch_operation_claim_with_async
1571
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1572
<em class="parameter"><code><a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a> *client</code></em>,
1573
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1574
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1576
Called by an approver to claim channels for handling internally.
1577
If this method is called successfully, the process calling this
1578
method becomes the handler for the channel.
1581
If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal
1582
to be emitted, in the same way as for
1583
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.
1586
This method may fail because the dispatch operation has already
1587
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1588
for more details. The approver MUST NOT attempt to interact with
1589
the channels further in this case.
1592
This is an improved version of <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-async" title="tp_channel_dispatch_operation_claim_async ()"><code class="function">tp_channel_dispatch_operation_claim_async()</code></a>
1593
as it tells <em class="parameter"><code>client</code></em> about the new channels being handled.
1596
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a> feature must be prepared before
1597
calling this function.
1599
<div class="variablelist"><table border="0" class="variablelist">
1601
<col align="left" valign="top">
1606
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1607
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1611
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1612
<td>the <a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a> claiming <em class="parameter"><code>self</code></em>
1616
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1617
<td>a callback to call when the call returns</td>
1620
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1621
<td>data to pass to <em class="parameter"><code>callback</code></em>
1626
<p class="since">Since 0.15.0</p>
1629
<div class="refsect2">
1630
<a name="tp-channel-dispatch-operation-claim-with-finish"></a><h3>tp_channel_dispatch_operation_claim_with_finish ()</h3>
1631
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_channel_dispatch_operation_claim_with_finish
1632
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1633
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1634
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1636
Finishes an async call to <code class="function">Claim()</code> initiated using
1637
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-claim-with-async" title="tp_channel_dispatch_operation_claim_with_async ()"><code class="function">tp_channel_dispatch_operation_claim_with_async()</code></a>.
1639
<div class="variablelist"><table border="0" class="variablelist">
1641
<col align="left" valign="top">
1646
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1647
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1651
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1652
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1656
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1657
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</td>
1660
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1662
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1667
<p class="since">Since 0.15.0</p>
1670
<div class="refsect2">
1671
<a name="tp-channel-dispatch-operation-close-channels-async"></a><h3>tp_channel_dispatch_operation_close_channels_async ()</h3>
1672
<pre class="programlisting"><span class="returnvalue">void</span> tp_channel_dispatch_operation_close_channels_async
1673
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1674
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1675
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1677
Called by an approver to claim channels and close them all right away.
1678
If this method is called successfully, <em class="parameter"><code>self</code></em> has been claimed and
1679
<a class="link" href="telepathy-glib-channel.html#tp-channel-close-async" title="tp_channel_close_async ()"><code class="function">tp_channel_close_async()</code></a> has been called on all of its channels.
1682
If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal
1683
to be emitted, in the same way as for
1684
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.
1687
This method may fail because the dispatch operation has already
1688
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1692
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a> feature must be prepared before
1693
calling this function.
1695
<div class="variablelist"><table border="0" class="variablelist">
1697
<col align="left" valign="top">
1702
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1703
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1707
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1708
<td>a callback to call when the request has been satisfied</td>
1711
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1712
<td>data to pass to <em class="parameter"><code>callback</code></em>
1717
<p class="since">Since 0.15.1</p>
1720
<div class="refsect2">
1721
<a name="tp-channel-dispatch-operation-close-channels-finish"></a><h3>tp_channel_dispatch_operation_close_channels_finish ()</h3>
1722
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_channel_dispatch_operation_close_channels_finish
1723
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1724
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1725
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1727
Finishes an async operation initiated using
1728
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-close-channels-async" title="tp_channel_dispatch_operation_close_channels_async ()"><code class="function">tp_channel_dispatch_operation_close_channels_async()</code></a>.
1730
<div class="variablelist"><table border="0" class="variablelist">
1732
<col align="left" valign="top">
1737
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1738
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1742
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1743
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1747
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1748
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</td>
1751
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1753
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful and
1754
<code class="function">Close()</code> has at least been attempted on all the channels, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1759
<p class="since">Since 0.15.1</p>
1762
<div class="refsect2">
1763
<a name="tp-channel-dispatch-operation-leave-channels-async"></a><h3>tp_channel_dispatch_operation_leave_channels_async ()</h3>
1764
<pre class="programlisting"><span class="returnvalue">void</span> tp_channel_dispatch_operation_leave_channels_async
1765
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1766
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpChannelGroupChangeReason" title="enum TpChannelGroupChangeReason"><span class="type">TpChannelGroupChangeReason</span></a> reason</code></em>,
1767
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>,
1768
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1769
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1771
Called by an approver to claim channels and leave them all right away.
1772
If this method is called successfully, <em class="parameter"><code>self</code></em> has been claimed and
1773
<a class="link" href="telepathy-glib-channel.html#tp-channel-leave-async" title="tp_channel_leave_async ()"><code class="function">tp_channel_leave_async()</code></a> has been called on all of its channels.
1776
If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal
1777
to be emitted, in the same way as for
1778
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.
1781
This method may fail because the dispatch operation has already
1782
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1786
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a> feature must be prepared before
1787
calling this function.
1789
<div class="variablelist"><table border="0" class="variablelist">
1791
<col align="left" valign="top">
1796
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1797
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1801
<td><p><span class="term"><em class="parameter"><code>reason</code></em> :</span></p></td>
1802
<td>the leave reason</td>
1805
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
1806
<td>the leave message</td>
1809
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1810
<td>a callback to call when the request has been satisfied</td>
1813
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1814
<td>data to pass to <em class="parameter"><code>callback</code></em>
1819
<p class="since">Since 0.15.2</p>
1822
<div class="refsect2">
1823
<a name="tp-channel-dispatch-operation-leave-channels-finish"></a><h3>tp_channel_dispatch_operation_leave_channels_finish ()</h3>
1824
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_channel_dispatch_operation_leave_channels_finish
1825
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1826
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1827
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1829
Finishes an async operation initiated using
1830
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-leave-channels-async" title="tp_channel_dispatch_operation_leave_channels_async ()"><code class="function">tp_channel_dispatch_operation_leave_channels_async()</code></a>.
1832
<div class="variablelist"><table border="0" class="variablelist">
1834
<col align="left" valign="top">
1839
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1840
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1844
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1845
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1849
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1850
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</td>
1853
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1855
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful and
1856
<a class="link" href="telepathy-glib-channel.html#tp-channel-leave-async" title="tp_channel_leave_async ()"><code class="function">tp_channel_leave_async()</code></a> has at least been attempted on all the
1857
channels, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1862
<p class="since">Since 0.15.2</p>
1865
<div class="refsect2">
1866
<a name="tp-channel-dispatch-operation-destroy-channels-async"></a><h3>tp_channel_dispatch_operation_destroy_channels_async ()</h3>
1867
<pre class="programlisting"><span class="returnvalue">void</span> tp_channel_dispatch_operation_destroy_channels_async
1868
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1869
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1870
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1872
Called by an approver to claim channels and destroy them all right away.
1873
If this method is called successfully, <em class="parameter"><code>self</code></em> has been claimed and
1874
<a class="link" href="telepathy-glib-channel.html#tp-channel-destroy-async" title="tp_channel_destroy_async ()"><code class="function">tp_channel_destroy_async()</code></a> has been called on all of its channels.
1877
If successful, this method will cause the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal
1878
to be emitted, in the same way as for
1879
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>.
1882
This method may fail because the dispatch operation has already
1883
been completed. Again, see <a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-handle-with-async" title="tp_channel_dispatch_operation_handle_with_async ()"><code class="function">tp_channel_dispatch_operation_handle_with_async()</code></a>
1887
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a> feature must be prepared before
1888
calling this function.
1890
<div class="variablelist"><table border="0" class="variablelist">
1892
<col align="left" valign="top">
1897
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1898
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1902
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1903
<td>a callback to call when the request has been satisfied</td>
1906
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1907
<td>data to pass to <em class="parameter"><code>callback</code></em>
1912
<p class="since">Since 0.15.2</p>
1915
<div class="refsect2">
1916
<a name="tp-channel-dispatch-operation-destroy-channels-finish"></a><h3>tp_channel_dispatch_operation_destroy_channels_finish ()</h3>
1917
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_channel_dispatch_operation_destroy_channels_finish
1918
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self</code></em>,
1919
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
1920
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1922
Finishes an async operation initiated using
1923
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#tp-channel-dispatch-operation-destroy-channels-async" title="tp_channel_dispatch_operation_destroy_channels_async ()"><code class="function">tp_channel_dispatch_operation_destroy_channels_async()</code></a>.
1925
<div class="variablelist"><table border="0" class="variablelist">
1927
<col align="left" valign="top">
1932
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
1933
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
1937
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1938
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1942
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1943
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</td>
1946
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1948
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <code class="function">Claim()</code> call was successful and
1949
<a class="link" href="telepathy-glib-channel.html#tp-channel-destroy-async" title="tp_channel_destroy_async ()"><code class="function">tp_channel_destroy_async()</code></a> has at least been attempted on all the
1950
channels, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1955
<p class="since">Since 0.15.2</p>
2233
1958
<div class="refsect1">
2234
1959
<a name="telepathy-glib-channel-dispatch-operation.property-details"></a><h2>Property Details</h2>
2235
1960
<div class="refsect2">
2236
<a name="TpChannelDispatchOperation--account"></a><h3>The <code class="literal">“account”</code> property</h3>
2237
<pre class="programlisting"> “account” <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *</pre>
2238
<p>The <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> with which the connection and channels are associated.</p>
2239
<p>Read-only except during construction.</p>
2240
<p>This is not guaranteed to be set until <a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has
2241
finished preparing <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.</p>
2242
<p>Flags: Read / Write / Construct Only</p>
1961
<a name="TpChannelDispatchOperation--account"></a><h3>The <code class="literal">"account"</code> property</h3>
1962
<pre class="programlisting"> "account" <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a>* : Read / Write / Construct Only</pre>
1964
The <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> with which the connection and channels are associated.
1967
Read-only except during construction.
1970
This is not guaranteed to be set until <a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has
1971
finished preparing <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.
2243
1973
<p class="since">Since 0.11.5</p>
2246
1976
<div class="refsect2">
2247
<a name="TpChannelDispatchOperation--cdo-properties"></a><h3>The <code class="literal">“cdo-properties”</code> property</h3>
2248
<pre class="programlisting"> “cdo-properties” <span class="type">GHashTable_gchararray+GValue_*</span></pre>
2249
<p>The immutable D-Bus properties of this ChannelDispatchOperation,
1977
<a name="TpChannelDispatchOperation--cdo-properties"></a><h3>The <code class="literal">"cdo-properties"</code> property</h3>
1978
<pre class="programlisting"> "cdo-properties" <span class="type">GHashTable_gchararray+GValue_*</span> : Read / Write / Construct Only</pre>
1980
The immutable D-Bus properties of this ChannelDispatchOperation,
2250
1981
represented by a <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> where the keys are D-Bus
2251
interface name + "." + property name, and the values are <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> instances.</p>
2252
<p>Read-only except during construction. If this is not provided
1982
interface name + "." + property name, and the values are <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> instances.
1985
Read-only except during construction. If this is not provided
2253
1986
during construction, it is not guaranteed to be set until
2254
<a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has finished preparing
2255
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.</p>
2256
<p>Flags: Read / Write / Construct Only</p>
2257
<p class="since">Since 0.11.5</p>
2260
<div class="refsect2">
2261
<a name="TpChannelDispatchOperation--channels"></a><h3>The <code class="literal">“channels”</code> property</h3>
2262
<pre class="programlisting"> “channels” <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *</pre>
2263
<p>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> containing the <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> to be dispatched.</p>
2265
<p>This is not guaranteed to be set until <a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has
2266
finished preparing <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.</p>
2267
<p>Flags: Read / Write / Construct Only</p>
2268
<p class="since">Since 0.11.5</p>
2271
<div class="refsect2">
2272
<a name="TpChannelDispatchOperation--connection"></a><h3>The <code class="literal">“connection”</code> property</h3>
2273
<pre class="programlisting"> “connection” <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *</pre>
2274
<p>The <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> with which the channels are associated.</p>
2275
<p>Read-only except during construction.</p>
2276
<p>This is not guaranteed to be set until <a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has
2277
finished preparing <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.</p>
2278
<p>Flags: Read / Write / Construct Only</p>
2279
<p class="since">Since 0.11.5</p>
2282
<div class="refsect2">
2283
<a name="TpChannelDispatchOperation--possible-handlers"></a><h3>The <code class="literal">“possible-handlers”</code> property</h3>
2284
<pre class="programlisting"> “possible-handlers” <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a></pre>
2285
<p>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> containing the well known bus names (starting
1987
<a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has finished preparing
1988
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.
1990
<p class="since">Since 0.11.5</p>
1993
<div class="refsect2">
1994
<a name="TpChannelDispatchOperation--channels"></a><h3>The <code class="literal">"channels"</code> property</h3>
1995
<pre class="programlisting"> "channels" <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read / Write / Construct Only</pre>
1997
A <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> containing the <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> to be dispatched.
2003
This is not guaranteed to be set until <a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has
2004
finished preparing <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.
2006
<p class="since">Since 0.11.5</p>
2009
<div class="refsect2">
2010
<a name="TpChannelDispatchOperation--connection"></a><h3>The <code class="literal">"connection"</code> property</h3>
2011
<pre class="programlisting"> "connection" <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a>* : Read / Write / Construct Only</pre>
2013
The <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> with which the channels are associated.
2016
Read-only except during construction.
2019
This is not guaranteed to be set until <a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has
2020
finished preparing <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.
2022
<p class="since">Since 0.11.5</p>
2025
<div class="refsect2">
2026
<a name="TpChannelDispatchOperation--possible-handlers"></a><h3>The <code class="literal">"possible-handlers"</code> property</h3>
2027
<pre class="programlisting"> "possible-handlers" <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> : Read</pre>
2029
A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> containing the well known bus names (starting
2286
2030
with TP_CLIENT_BUS_NAME_BASE) of the possible Handlers for
2288
<p>Read-only except during construction.</p>
2289
<p>This is not guaranteed to be set until <a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has
2290
finished preparing <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.</p>
2034
Read-only except during construction.
2037
This is not guaranteed to be set until <a class="link" href="telepathy-glib-proxy.html#tp-proxy-prepare-async" title="tp_proxy_prepare_async ()"><code class="function">tp_proxy_prepare_async()</code></a> has
2038
finished preparing <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TP-CHANNEL-DISPATCH-OPERATION-FEATURE-CORE:CAPS" title="TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE"><code class="literal">TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE</code></a>.
2292
2040
<p class="since">Since 0.11.5</p>
2295
2043
<div class="refsect1">
2296
2044
<a name="telepathy-glib-channel-dispatch-operation.signal-details"></a><h2>Signal Details</h2>
2297
2045
<div class="refsect2">
2298
<a name="TpChannelDispatchOperation-channel-lost"></a><h3>The <code class="literal">“channel-lost”</code> signal</h3>
2299
<pre class="programlisting"><span class="returnvalue">void</span>
2300
user_function (<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self,
2301
<a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *channel,
2302
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> domain,
2303
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code,
2304
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
2305
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
2306
<p>Emitted when a channel has closed before it could be claimed or handled.</p>
2307
<div class="refsect3">
2308
<a name="id-1.4.49.14.2.5"></a><h4>Parameters</h4>
2309
<div class="informaltable"><table width="100%" border="0">
2046
<a name="TpChannelDispatchOperation-channel-lost"></a><h3>The <code class="literal">"channel-lost"</code> signal</h3>
2047
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *self,
2048
<a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *channel,
2049
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> domain,
2050
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code,
2051
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
2052
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">Has Details</code></a></pre>
2054
Emitted when a channel has closed before it could be claimed or handled.
2056
<div class="variablelist"><table border="0" class="variablelist">
2311
<col width="150px" class="parameters_name">
2312
<col class="parameters_description">
2313
<col width="200px" class="parameters_annotations">
2058
<col align="left" valign="top">
2317
<td class="parameter_name"><p>self</p></td>
2318
<td class="parameter_description"><p>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a></p></td>
2319
<td class="parameter_annotations"> </td>
2322
<td class="parameter_name"><p>channel</p></td>
2323
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> that closed</p></td>
2324
<td class="parameter_annotations"> </td>
2327
<td class="parameter_name"><p>domain</p></td>
2328
<td class="parameter_description"><p>domain of a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> indicating why the channel has been closed</p></td>
2329
<td class="parameter_annotations"> </td>
2332
<td class="parameter_name"><p>code</p></td>
2333
<td class="parameter_description"><p>error code of a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> indicating why the channel has been closed</p></td>
2334
<td class="parameter_annotations"> </td>
2337
<td class="parameter_name"><p>message</p></td>
2338
<td class="parameter_description"><p>a message associated with the error</p></td>
2339
<td class="parameter_annotations"> </td>
2342
<td class="parameter_name"><p>user_data</p></td>
2343
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2344
<td class="parameter_annotations"> </td>
2063
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
2064
<td>a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>
2068
<td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
2069
<td>the <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> that closed</td>
2072
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
2073
<td>domain of a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> indicating why the channel has been closed</td>
2076
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
2077
<td>error code of a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> indicating why the channel has been closed</td>
2080
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
2081
<td>a message associated with the error</td>
2084
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2085
<td>user data set when the signal handler was connected.</td>
2349
<p>Flags: Has Details</p>
2350
2089
<p class="since">Since 0.11.5</p>
2353
2092
<div class="refsect1">
2354
2093
<a name="telepathy-glib-channel-dispatch-operation.see-also"></a><h2>See Also</h2>
2355
<p><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a></p>
2094
<a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a>
2358
2097
<div class="footer">
2360
Generated by GTK-Doc V1.20</div>
2099
Generated by GTK-Doc V1.19</div>
b'\\ No newline at end of file'