~ubuntu-branches/ubuntu/utopic/telepathy-glib/utopic

« back to all changes in this revision

Viewing changes to docs/reference/html/telepathy-glib-channel-dispatch-operation.html

  • Committer: Package Import Robot
  • Author(s): Simon McVittie
  • Date: 2014-09-16 15:49:50 UTC
  • mfrom: (60.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20140916154950-krvowuvofhu8u6sp
Tags: 0.24.1-1
* New upstream stable release
* debian/copyright: clean up syntax (*.[ch] is unsupported),
  drop deleted files
* debian/watch: only match 0.x versions, 1.0 will be a separate
  source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>telepathy-glib API Reference Manual: TpChannelDispatchOperation</title>
 
5
<title>TpChannelDispatchOperation</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
8
8
<link rel="up" href="ch-client.html" title="Client-side proxies">
9
9
<link rel="prev" href="telepathy-glib-channel-dispatcher.html" title="TpChannelDispatcher">
10
10
<link rel="next" href="telepathy-glib-channel-request.html" title="TpChannelRequest">
11
 
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
 
<td width="100%" align="left" class="shortcuts">
17
 
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
 
                  <a href="#telepathy-glib-channel-dispatch-operation.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
 
                  <a href="#telepathy-glib-channel-dispatch-operation.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> 
20
 
                  <a href="#telepathy-glib-channel-dispatch-operation.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span> 
21
 
                  <a href="#telepathy-glib-channel-dispatch-operation.signals" class="shortcut">Signals</a></span>
22
 
</td>
23
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24
 
<td><a accesskey="u" href="ch-client.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25
 
<td><a accesskey="p" href="telepathy-glib-channel-dispatcher.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26
 
<td><a accesskey="n" href="telepathy-glib-channel-request.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27
 
</tr></table>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="telepathy-glib-channel-dispatcher.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="ch-client.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">telepathy-glib API Reference Manual</th>
 
21
<td><a accesskey="n" href="telepathy-glib-channel-request.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#telepathy-glib-channel-dispatch-operation.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#telepathy-glib-channel-dispatch-operation.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#telepathy-glib-channel-dispatch-operation.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#telepathy-glib-channel-dispatch-operation.properties" class="shortcut">Properties</a>
 
31
                   | 
 
32
                  <a href="#telepathy-glib-channel-dispatch-operation.signals" class="shortcut">Signals</a>
 
33
</td></tr>
 
34
</table>
28
35
<div class="refentry">
29
36
<a name="telepathy-glib-channel-dispatch-operation"></a><div class="titlepage"></div>
30
37
<div class="refnamediv"><table width="100%"><tr>
33
40
<p>TpChannelDispatchOperation — proxy object for a to the Telepathy channel
34
41
 dispatcher</p>
35
42
</td>
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 &lt;telepathy-glib/telepathy-glib.h&gt;
 
49
 
 
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>);
 
59
 
 
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>);
 
205
</pre>
 
206
</div>
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">
41
 
<colgroup>
42
 
<col width="150px" class="functions_return">
43
 
<col class="functions_name">
44
 
</colgroup>
45
 
<tbody>
46
 
<tr>
47
 
<td class="function_type">
48
 
<a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="returnvalue">TpChannelDispatchOperation</span></a> *
49
 
</td>
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>
52
 
</td>
53
 
</tr>
54
 
<tr>
55
 
<td class="function_type">
56
 
<span class="returnvalue">void</span>
57
 
</td>
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>
60
 
</td>
61
 
</tr>
62
 
<tr>
63
 
<td class="function_type">
64
 
<span class="returnvalue">void</span>
65
 
</td>
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>
68
 
</td>
69
 
</tr>
70
 
<tr>
71
 
<td class="function_type">
72
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
73
 
</td>
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>
76
 
</td>
77
 
</tr>
78
 
<tr>
79
 
<td class="function_type">
80
 
<span class="returnvalue">void</span>
81
 
</td>
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>
84
 
</td>
85
 
</tr>
86
 
<tr>
87
 
<td class="function_type">
88
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
89
 
</td>
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>
92
 
</td>
93
 
</tr>
94
 
<tr>
95
 
<td class="function_type">
96
 
<span class="returnvalue">void</span>
97
 
</td>
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>
100
 
</td>
101
 
</tr>
102
 
<tr>
103
 
<td class="function_type">
104
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
105
 
</td>
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>
108
 
</td>
109
 
</tr>
110
 
<tr>
111
 
<td class="function_type">
112
 
<span class="returnvalue">void</span>
113
 
</td>
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>
116
 
</td>
117
 
</tr>
118
 
<tr>
119
 
<td class="function_type">
120
 
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
121
 
</td>
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>
124
 
</td>
125
 
</tr>
126
 
<tr>
127
 
<td class="function_type">
128
 
<span class="returnvalue">void</span>
129
 
</td>
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>
132
 
</td>
133
 
</tr>
134
 
<tr>
135
 
<td class="function_type">
136
 
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
137
 
</td>
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>
140
 
</td>
141
 
</tr>
142
 
<tr>
143
 
<td class="function_type">
144
 
<a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> *
145
 
</td>
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>
148
 
</td>
149
 
</tr>
150
 
<tr>
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> *
153
 
</td>
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>
156
 
</td>
157
 
</tr>
158
 
<tr>
159
 
<td class="function_type">
160
 
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> *
161
 
</td>
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>
164
 
</td>
165
 
</tr>
166
 
<tr>
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> *
169
 
</td>
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>
172
 
</td>
173
 
</tr>
174
 
<tr>
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>
177
 
</td>
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>
180
 
</td>
181
 
</tr>
182
 
<tr>
183
 
<td class="function_type">
184
 
<a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> *
185
 
</td>
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>
188
 
</td>
189
 
</tr>
190
 
<tr>
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> *
193
 
</td>
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>
196
 
</td>
197
 
</tr>
198
 
<tr>
199
 
<td class="function_type">
200
 
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="returnvalue">TpConnection</span></a> *
201
 
</td>
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>
204
 
</td>
205
 
</tr>
206
 
<tr>
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>
209
 
</td>
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>
212
 
</td>
213
 
</tr>
214
 
<tr>
215
 
<td class="function_type">
216
 
<span class="returnvalue">void</span>
217
 
</td>
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>
220
 
</td>
221
 
</tr>
222
 
<tr>
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>
225
 
</td>
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>
228
 
</td>
229
 
</tr>
230
 
<tr>
231
 
<td class="function_type">
232
 
<span class="returnvalue">void</span>
233
 
</td>
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>
236
 
</td>
237
 
</tr>
238
 
<tr>
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>
241
 
</td>
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>
244
 
</td>
245
 
</tr>
246
 
<tr>
247
 
<td class="function_type">
248
 
<span class="returnvalue">void</span>
249
 
</td>
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>
252
 
</td>
253
 
</tr>
254
 
<tr>
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>
257
 
</td>
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>
260
 
</td>
261
 
</tr>
262
 
<tr>
263
 
<td class="function_type">
264
 
<span class="returnvalue">void</span>
265
 
</td>
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>
268
 
</td>
269
 
</tr>
270
 
<tr>
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>
273
 
</td>
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>
276
 
</td>
277
 
</tr>
278
 
<tr>
279
 
<td class="function_type">
280
 
<span class="returnvalue">void</span>
281
 
</td>
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>
284
 
</td>
285
 
</tr>
286
 
<tr>
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>
289
 
</td>
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>
292
 
</td>
293
 
</tr>
294
 
<tr>
295
 
<td class="function_type">
296
 
<span class="returnvalue">void</span>
297
 
</td>
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>
300
 
</td>
301
 
</tr>
302
 
<tr>
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>
305
 
</td>
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>
308
 
</td>
309
 
</tr>
310
 
<tr>
311
 
<td class="function_type">
312
 
<span class="returnvalue">void</span>
313
 
</td>
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>
316
 
</td>
317
 
</tr>
318
 
<tr>
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>
321
 
</td>
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>
324
 
</td>
325
 
</tr>
326
 
</tbody>
327
 
</table></div>
 
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
 
213
</pre>
328
214
</div>
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">
332
 
<colgroup>
333
 
<col width="150px" class="properties_type">
334
 
<col width="300px" class="properties_name">
335
 
<col width="200px" class="properties_flags">
336
 
</colgroup>
337
 
<tbody>
338
 
<tr>
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>
343
 
</tr>
344
 
<tr>
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>
348
 
</tr>
349
 
<tr>
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>
354
 
</tr>
355
 
<tr>
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>
360
 
</tr>
361
 
<tr>
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>
365
 
</tr>
366
 
</tbody>
367
 
</table></div>
 
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
 
223
</pre>
368
224
</div>
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">
372
 
<colgroup>
373
 
<col width="150px" class="signals_return">
374
 
<col width="300px" class="signals_name">
375
 
<col width="200px" class="signals_flags">
376
 
</colgroup>
377
 
<tbody><tr>
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>
381
 
</tr></tbody>
382
 
</table></div>
383
 
</div>
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">
387
 
<colgroup>
388
 
<col width="150px" class="name">
389
 
<col class="description">
390
 
</colgroup>
391
 
<tbody>
392
 
<tr>
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>
395
 
</tr>
396
 
<tr>
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>
399
 
</tr>
400
 
<tr>
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>
403
 
</tr>
404
 
</tbody>
405
 
</table></div>
406
 
</div>
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
412
 
</pre>
413
 
</div>
414
 
<div class="refsect1">
415
 
<a name="telepathy-glib-channel-dispatch-operation.includes"></a><h2>Includes</h2>
416
 
<pre class="synopsis">#include &lt;telepathy-glib/telepathy-glib.h&gt;
 
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>
417
229
</pre>
418
230
</div>
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
 
233
<p>
 
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>
424
 
</div>
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>
438
 
</div>
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">
445
 
<colgroup>
446
 
<col width="150px" class="parameters_name">
447
 
<col class="parameters_description">
448
 
<col width="200px" class="parameters_annotations">
449
 
</colgroup>
450
 
<tbody>
451
 
<tr>
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>
455
 
</tr>
456
 
<tr>
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>
460
 
</tr>
461
 
<tr>
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>
466
 
</tr>
467
 
<tr>
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>
471
 
</tr>
472
 
</tbody>
473
 
</table></div>
474
 
</div>
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
480
 
running</p>
481
 
<p></p>
482
 
</div>
483
 
</div>
484
 
<hr>
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>
497
 
</div>
498
 
<hr>
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">
512
 
<colgroup>
513
 
<col width="150px" class="parameters_name">
514
 
<col class="parameters_description">
515
 
<col width="200px" class="parameters_annotations">
516
 
</colgroup>
517
 
<tbody>
518
 
<tr>
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>
522
 
</tr>
523
 
<tr>
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>
527
 
</tr>
528
 
<tr>
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>
532
 
</tr>
533
 
<tr>
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>
537
 
</tr>
538
 
</tbody>
539
 
</table></div>
540
 
</div>
541
 
</div>
542
 
<hr>
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>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;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           &lt;em&gt;does not&lt;/em&gt; have the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;           method called on it.&lt;/p&gt;          &lt;p&gt;Clients that call Claim on channels but do not immediately           close them SHOULD implement the Handler interface and its           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandledChannels&lt;/tp:dbus-ref&gt;           property.&lt;/p&gt;          &lt;p&gt;Approvers wishing to reject channels MUST call this method to           claim ownership of them, and MUST NOT call           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Channel"&gt;Close&lt;/tp:dbus-ref&gt;           on the channels unless/until this method returns successfully.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;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 &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel.Interface.Destroyable.Destroy&lt;/tp:dbus-ref&gt;             if the destructive behaviour of that method is desired.&lt;/p&gt;            &lt;p&gt;Similarly, an Approver for StreamedMedia channels can close the             channel with a reason (e.g. &amp;quot;busy&amp;quot;) if desired. The channel             dispatcher, which is designed to have no specific knowledge             of particular channel types, can't do that.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;If successful, this method will cause the ChannelDispatchOperation           object to disappear, emitting           &lt;tp:member-ref&gt;Finished&lt;/tp:member-ref&gt;, in the same way as for           &lt;tp:member-ref&gt;HandleWith&lt;/tp:member-ref&gt;.&lt;/p&gt;          &lt;p&gt;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.&lt;/p&gt;          &lt;p&gt;(FIXME: list some other possible errors)&lt;/p&gt;</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">
558
 
<colgroup>
559
 
<col width="150px" class="parameters_name">
560
 
<col class="parameters_description">
561
 
<col width="200px" class="parameters_annotations">
562
 
</colgroup>
563
 
<tbody>
564
 
<tr>
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>
568
 
</tr>
569
 
<tr>
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
572
 
default</p></td>
573
 
<td class="parameter_annotations"> </td>
574
 
</tr>
575
 
<tr>
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>
581
 
</tr>
582
 
<tr>
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>
588
 
</tr>
589
 
<tr>
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>
596
 
</tr>
597
 
<tr>
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>
605
 
</tr>
606
 
</tbody>
607
 
</table></div>
608
 
</div>
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>
615
 
<p></p>
616
 
</div>
617
 
</div>
618
 
<hr>
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">
632
 
<colgroup>
633
 
<col width="150px" class="parameters_name">
634
 
<col class="parameters_description">
635
 
<col width="200px" class="parameters_annotations">
636
 
</colgroup>
637
 
<tbody>
638
 
<tr>
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>
642
 
</tr>
643
 
<tr>
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>
647
 
</tr>
648
 
<tr>
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>
652
 
</tr>
653
 
<tr>
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>
657
 
</tr>
658
 
</tbody>
659
 
</table></div>
660
 
</div>
661
 
</div>
662
 
<hr>
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>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by an approver to accept a channel bundle and request that           the given handler be used to handle it.&lt;/p&gt;          &lt;p&gt;If successful, this method will cause the ChannelDispatchOperation           object to disappear, emitting           &lt;tp:member-ref&gt;Finished&lt;/tp:member-ref&gt;.&lt;/p&gt;          &lt;p&gt;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.&lt;/p&gt;          &lt;p&gt;Approvers which are also channel handlers SHOULD use           &lt;tp:member-ref&gt;Claim&lt;/tp:member-ref&gt; instead           of HandleWith to request that they can handle a channel bundle           themselves.&lt;/p&gt;          &lt;p&gt;(FIXME: list some possible errors)&lt;/p&gt;          &lt;p&gt;If the channel handler raises an error from &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;,           this method           MAY respond by raising that same error, even if it is not           specifically documented here.&lt;/p&gt;</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">
679
 
<colgroup>
680
 
<col width="150px" class="parameters_name">
681
 
<col class="parameters_description">
682
 
<col width="200px" class="parameters_annotations">
683
 
</colgroup>
684
 
<tbody>
685
 
<tr>
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>
689
 
</tr>
690
 
<tr>
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
693
 
default</p></td>
694
 
<td class="parameter_annotations"> </td>
695
 
</tr>
696
 
<tr>
697
 
<td class="parameter_name"><p>in_Handler</p></td>
698
 
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;) of the channel             handler that should handle the channel, or the empty string             if the client has no preferred channel handler.&lt;/p&gt;</p></td>
699
 
<td class="parameter_annotations"> </td>
700
 
</tr>
701
 
<tr>
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>
707
 
</tr>
708
 
<tr>
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>
714
 
</tr>
715
 
<tr>
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>
722
 
</tr>
723
 
<tr>
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>
731
 
</tr>
732
 
</tbody>
733
 
</table></div>
734
 
</div>
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>
741
 
<p></p>
742
 
</div>
743
 
</div>
744
 
<hr>
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">
758
 
<colgroup>
759
 
<col width="150px" class="parameters_name">
760
 
<col class="parameters_description">
761
 
<col width="200px" class="parameters_annotations">
762
 
</colgroup>
763
 
<tbody>
764
 
<tr>
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>
768
 
</tr>
769
 
<tr>
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>
773
 
</tr>
774
 
<tr>
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>
778
 
</tr>
779
 
<tr>
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>
783
 
</tr>
784
 
</tbody>
785
 
</table></div>
786
 
</div>
787
 
</div>
788
 
<hr>
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>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;A variant of &lt;tp:member-ref&gt;HandleWith&lt;/tp:member-ref&gt; allowing the           approver to pass an user action time. This timestamp will be passed           to the Handler when &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;           is called.&lt;/p&gt;</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">
806
 
<colgroup>
807
 
<col width="150px" class="parameters_name">
808
 
<col class="parameters_description">
809
 
<col width="200px" class="parameters_annotations">
810
 
</colgroup>
811
 
<tbody>
812
 
<tr>
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>
816
 
</tr>
817
 
<tr>
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
820
 
default</p></td>
821
 
<td class="parameter_annotations"> </td>
822
 
</tr>
823
 
<tr>
824
 
<td class="parameter_name"><p>in_Handler</p></td>
825
 
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;) of the channel             handler that should handle the channel, or the empty string             if the client has no preferred channel handler.&lt;/p&gt;</p></td>
826
 
<td class="parameter_annotations"> </td>
827
 
</tr>
828
 
<tr>
829
 
<td class="parameter_name"><p>in_UserActionTime</p></td>
830
 
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;            &lt;p&gt;The time at which user action occurred.&lt;/p&gt;</p></td>
831
 
<td class="parameter_annotations"> </td>
832
 
</tr>
833
 
<tr>
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>
839
 
</tr>
840
 
<tr>
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>
846
 
</tr>
847
 
<tr>
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>
854
 
</tr>
855
 
<tr>
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>
863
 
</tr>
864
 
</tbody>
865
 
</table></div>
866
 
</div>
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>
873
 
<p></p>
874
 
</div>
875
 
</div>
876
 
<hr>
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">
891
 
<colgroup>
892
 
<col width="150px" class="parameters_name">
893
 
<col class="parameters_description">
894
 
<col width="200px" class="parameters_annotations">
895
 
</colgroup>
896
 
<tbody>
897
 
<tr>
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>
900
 
was called</p></td>
901
 
<td class="parameter_annotations"> </td>
902
 
</tr>
903
 
<tr>
904
 
<td class="parameter_name"><p>arg_Channel</p></td>
905
 
<td class="parameter_description"><p>The &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel&lt;/tp:dbus-ref&gt;           that closed.</p></td>
906
 
<td class="parameter_annotations"> </td>
907
 
</tr>
908
 
<tr>
909
 
<td class="parameter_name"><p>arg_Error</p></td>
910
 
<td class="parameter_description"><p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The name of a D-Bus error indicating why the channel closed. If             no better reason can be found,             &lt;code&gt;org.freedesktop.Telepathy.Error.NotAvailable&lt;/code&gt; MAY             be used as a fallback; this means that this error SHOULD NOT be             given any more specific meaning.&lt;/p&gt;</p></td>
911
 
<td class="parameter_annotations"> </td>
912
 
</tr>
913
 
<tr>
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>
917
 
</tr>
918
 
<tr>
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>
922
 
</tr>
923
 
<tr>
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>
927
 
</tr>
928
 
</tbody>
929
 
</table></div>
930
 
</div>
931
 
</div>
932
 
<hr>
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>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;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           &lt;tp:member-ref&gt;Finished&lt;/tp:member-ref&gt;.&lt;/p&gt;          &lt;p&gt;This signal MUST NOT be emitted until all Approvers that were           invoked have returned (successfully or with an error) from           their &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver"&gt;AddDispatchOperation&lt;/tp:dbus-ref&gt;           method.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;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 &amp;quot;connect to signals then recover             state&amp;quot; model - first connect to ChannelLost and             &lt;tp:member-ref&gt;Finished&lt;/tp:member-ref&gt;,             then download &lt;tp:member-ref&gt;Channels&lt;/tp:member-ref&gt; (and             on error, perhaps assume that the operation has already             Finished).&lt;/p&gt;         &lt;/tp:rationale&gt;</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">
948
 
<colgroup>
949
 
<col width="150px" class="parameters_name">
950
 
<col class="parameters_description">
951
 
<col width="200px" class="parameters_annotations">
952
 
</colgroup>
953
 
<tbody>
954
 
<tr>
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>
958
 
</tr>
959
 
<tr>
960
 
<td class="parameter_name"><p>callback</p></td>
961
 
<td class="parameter_description"><p>Callback to be called when the signal is
962
 
received</p></td>
963
 
<td class="parameter_annotations"> </td>
964
 
</tr>
965
 
<tr>
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>
969
 
</tr>
970
 
<tr>
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>
976
 
</tr>
977
 
<tr>
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>
983
 
</tr>
984
 
<tr>
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
987
 
returned</p></td>
988
 
<td class="parameter_annotations"> </td>
989
 
</tr>
990
 
</tbody>
991
 
</table></div>
992
 
</div>
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>
999
 
<p></p>
1000
 
</div>
1001
 
</div>
1002
 
<hr>
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">
1014
 
<colgroup>
1015
 
<col width="150px" class="parameters_name">
1016
 
<col class="parameters_description">
1017
 
<col width="200px" class="parameters_annotations">
1018
 
</colgroup>
1019
 
<tbody>
1020
 
<tr>
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>
1023
 
was called</p></td>
1024
 
<td class="parameter_annotations"> </td>
1025
 
</tr>
1026
 
<tr>
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>
1030
 
</tr>
1031
 
<tr>
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>
1035
 
</tr>
1036
 
</tbody>
1037
 
</table></div>
1038
 
</div>
1039
 
</div>
1040
 
<hr>
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>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Emitted when this dispatch operation finishes. The dispatch           operation is no longer present and further methods must not be           called on it.&lt;/p&gt;          &lt;p&gt;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           &lt;tp:member-ref&gt;ChannelLost&lt;/tp:member-ref&gt; first.&lt;/p&gt;          &lt;p&gt;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.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Otherwise, clients might accidentally call             &lt;tp:member-ref&gt;HandleWith&lt;/tp:member-ref&gt; or             &lt;tp:member-ref&gt;Claim&lt;/tp:member-ref&gt; on a new dispatch operation             instead of the one they intended to handle.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;This signal MUST NOT be emitted until all Approvers that were           invoked have returned (successfully or with an error) from           their &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver"&gt;AddDispatchOperation&lt;/tp:dbus-ref&gt;           method.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;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 &amp;quot;connect to signals then recover             state&amp;quot; model - first connect to             &lt;tp:member-ref&gt;ChannelLost&lt;/tp:member-ref&gt; and             Finished, then download &lt;tp:member-ref&gt;Channels&lt;/tp:member-ref&gt;             (and on error, perhaps assume that the operation has already             Finished).&lt;/p&gt;         &lt;/tp:rationale&gt;</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">
1056
 
<colgroup>
1057
 
<col width="150px" class="parameters_name">
1058
 
<col class="parameters_description">
1059
 
<col width="200px" class="parameters_annotations">
1060
 
</colgroup>
1061
 
<tbody>
1062
 
<tr>
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>
1066
 
</tr>
1067
 
<tr>
1068
 
<td class="parameter_name"><p>callback</p></td>
1069
 
<td class="parameter_description"><p>Callback to be called when the signal is
1070
 
received</p></td>
1071
 
<td class="parameter_annotations"> </td>
1072
 
</tr>
1073
 
<tr>
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>
1077
 
</tr>
1078
 
<tr>
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>
1084
 
</tr>
1085
 
<tr>
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>
1091
 
</tr>
1092
 
<tr>
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
1095
 
returned</p></td>
1096
 
<td class="parameter_annotations"> </td>
1097
 
</tr>
1098
 
</tbody>
1099
 
</table></div>
1100
 
</div>
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>
1107
 
<p></p>
1108
 
</div>
1109
 
</div>
1110
 
<hr>
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>
1120
 
</div>
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">
1128
 
<colgroup>
1129
 
<col width="150px" class="parameters_name">
1130
 
<col class="parameters_description">
1131
 
<col width="200px" class="parameters_annotations">
1132
 
</colgroup>
1133
 
<tbody><tr>
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>
1137
 
</tr></tbody>
1138
 
</table></div>
1139
 
</div>
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>
1144
 
</div>
1145
 
<p class="since">Since 0.11.5</p>
1146
 
</div>
1147
 
<hr>
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>
1157
 
</div>
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>
1161
 
 is
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">
1166
 
<colgroup>
1167
 
<col width="150px" class="parameters_name">
1168
 
<col class="parameters_description">
1169
 
<col width="200px" class="parameters_annotations">
1170
 
</colgroup>
1171
 
<tbody><tr>
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>
1175
 
</tr></tbody>
1176
 
</table></div>
1177
 
</div>
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>
1182
 
</div>
1183
 
<p class="since">Since 0.11.5</p>
1184
 
</div>
1185
 
<hr>
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>
1195
 
</div>
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">
1203
 
<colgroup>
1204
 
<col width="150px" class="parameters_name">
1205
 
<col class="parameters_description">
1206
 
<col width="200px" class="parameters_annotations">
1207
 
</colgroup>
1208
 
<tbody><tr>
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>
1212
 
</tr></tbody>
1213
 
</table></div>
1214
 
</div>
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>
1219
 
</div>
1220
 
<p class="since">Since 0.11.5</p>
1221
 
</div>
1222
 
<hr>
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>
1235
 
</div>
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">
1243
 
<colgroup>
1244
 
<col width="150px" class="parameters_name">
1245
 
<col class="parameters_description">
1246
 
<col width="200px" class="parameters_annotations">
1247
 
</colgroup>
1248
 
<tbody><tr>
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>
1252
 
</tr></tbody>
1253
 
</table></div>
1254
 
</div>
1255
 
<div class="refsect3">
1256
 
<a name="id-1.4.49.11.17.8"></a><h4>Returns</h4>
1257
 
<p> the value of
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>
1260
 
</div>
1261
 
<p class="since">Since 0.11.5</p>
1262
 
</div>
1263
 
<hr>
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>
1273
 
</div>
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>
1277
 
 is
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">
1282
 
<colgroup>
1283
 
<col width="150px" class="parameters_name">
1284
 
<col class="parameters_description">
1285
 
<col width="200px" class="parameters_annotations">
1286
 
</colgroup>
1287
 
<tbody><tr>
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>
1291
 
</tr></tbody>
1292
 
</table></div>
1293
 
</div>
1294
 
<div class="refsect3">
1295
 
<a name="id-1.4.49.11.18.8"></a><h4>Returns</h4>
1296
 
<p> the value of
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>
1299
 
</div>
1300
 
<p class="since">Since 0.11.5</p>
1301
 
</div>
1302
 
<hr>
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">
1315
 
<colgroup>
1316
 
<col width="150px" class="parameters_name">
1317
 
<col class="parameters_description">
1318
 
<col width="200px" class="parameters_annotations">
1319
 
</colgroup>
1320
 
<tbody><tr>
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>
1324
 
</tr></tbody>
1325
 
</table></div>
1326
 
</div>
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>
1331
 
</div>
1332
 
<p class="since">Since 0.19.9</p>
1333
 
</div>
1334
 
<hr>
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>
1343
 
 is
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">
1348
 
<colgroup>
1349
 
<col width="150px" class="parameters_name">
1350
 
<col class="parameters_description">
1351
 
<col width="200px" class="parameters_annotations">
1352
 
</colgroup>
1353
 
<tbody><tr>
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>
1357
 
</tr></tbody>
1358
 
</table></div>
1359
 
</div>
1360
 
<div class="refsect3">
1361
 
<a name="id-1.4.49.11.20.6"></a><h4>Returns</h4>
1362
 
<p> the value
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>
1365
 
</div>
1366
 
<p class="since">Since 0.19.9</p>
1367
 
</div>
1368
 
<hr>
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">
1381
 
<colgroup>
1382
 
<col width="150px" class="parameters_name">
1383
 
<col class="parameters_description">
1384
 
<col width="200px" class="parameters_annotations">
1385
 
</colgroup>
1386
 
<tbody><tr>
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>
1390
 
</tr></tbody>
1391
 
</table></div>
1392
 
</div>
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>
1397
 
</div>
1398
 
<p class="since">Since 0.19.9</p>
1399
 
</div>
1400
 
<hr>
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>
1409
 
 is
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">
1414
 
<colgroup>
1415
 
<col width="150px" class="parameters_name">
1416
 
<col class="parameters_description">
1417
 
<col width="200px" class="parameters_annotations">
1418
 
</colgroup>
1419
 
<tbody><tr>
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>
1423
 
</tr></tbody>
1424
 
</table></div>
1425
 
</div>
1426
 
<div class="refsect3">
1427
 
<a name="id-1.4.49.11.22.6"></a><h4>Returns</h4>
1428
 
<p> the value of
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>
1431
 
</div>
1432
 
<p class="since">Since 0.19.9</p>
1433
 
</div>
1434
 
<hr>
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">
1460
 
<colgroup>
1461
 
<col width="150px" class="parameters_name">
1462
 
<col class="parameters_description">
1463
 
<col width="200px" class="parameters_annotations">
1464
 
</colgroup>
1465
 
<tbody>
1466
 
<tr>
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>
1470
 
</tr>
1471
 
<tr>
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>
1477
 
</tr>
1478
 
<tr>
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>
1482
 
</tr>
1483
 
<tr>
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>
1486
 
</p></td>
1487
 
<td class="parameter_annotations"> </td>
1488
 
</tr>
1489
 
</tbody>
1490
 
</table></div>
1491
 
</div>
1492
 
<p class="since">Since 0.11.5</p>
1493
 
</div>
1494
 
<hr>
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">
1506
 
<colgroup>
1507
 
<col width="150px" class="parameters_name">
1508
 
<col class="parameters_description">
1509
 
<col width="200px" class="parameters_annotations">
1510
 
</colgroup>
1511
 
<tbody>
1512
 
<tr>
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>
1516
 
</tr>
1517
 
<tr>
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>
1521
 
</tr>
1522
 
<tr>
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>
1526
 
</tr>
1527
 
</tbody>
1528
 
</table></div>
1529
 
</div>
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>
1533
 
<p></p>
1534
 
</div>
1535
 
<p class="since">Since 0.11.5</p>
1536
 
</div>
1537
 
<hr>
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">
1563
 
<colgroup>
1564
 
<col width="150px" class="parameters_name">
1565
 
<col class="parameters_description">
1566
 
<col width="200px" class="parameters_annotations">
1567
 
</colgroup>
1568
 
<tbody>
1569
 
<tr>
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>
1573
 
</tr>
1574
 
<tr>
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>
1580
 
</tr>
1581
 
<tr>
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>
1587
 
</tr>
1588
 
<tr>
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>
1592
 
</tr>
1593
 
<tr>
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>
1596
 
</p></td>
1597
 
<td class="parameter_annotations"> </td>
1598
 
</tr>
1599
 
</tbody>
1600
 
</table></div>
1601
 
</div>
1602
 
<p class="since">Since 0.11.7</p>
1603
 
</div>
1604
 
<hr>
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">
1616
 
<colgroup>
1617
 
<col width="150px" class="parameters_name">
1618
 
<col class="parameters_description">
1619
 
<col width="200px" class="parameters_annotations">
1620
 
</colgroup>
1621
 
<tbody>
1622
 
<tr>
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>
1626
 
</tr>
1627
 
<tr>
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>
1631
 
</tr>
1632
 
<tr>
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>
1636
 
</tr>
1637
 
</tbody>
1638
 
</table></div>
1639
 
</div>
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>
1643
 
<p></p>
1644
 
</div>
1645
 
<p class="since">Since 0.11.7</p>
1646
 
</div>
1647
 
<hr>
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>
1659
 
</div>
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">
1673
 
<colgroup>
1674
 
<col width="150px" class="parameters_name">
1675
 
<col class="parameters_description">
1676
 
<col width="200px" class="parameters_annotations">
1677
 
</colgroup>
1678
 
<tbody>
1679
 
<tr>
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>
1683
 
</tr>
1684
 
<tr>
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>
1688
 
</tr>
1689
 
<tr>
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>
1692
 
</p></td>
1693
 
<td class="parameter_annotations"> </td>
1694
 
</tr>
1695
 
</tbody>
1696
 
</table></div>
1697
 
</div>
1698
 
<p class="since">Since 0.11.5</p>
1699
 
</div>
1700
 
<hr>
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>
1712
 
</div>
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">
1717
 
<colgroup>
1718
 
<col width="150px" class="parameters_name">
1719
 
<col class="parameters_description">
1720
 
<col width="200px" class="parameters_annotations">
1721
 
</colgroup>
1722
 
<tbody>
1723
 
<tr>
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>
1727
 
</tr>
1728
 
<tr>
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>
1732
 
</tr>
1733
 
<tr>
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>
1737
 
</tr>
1738
 
</tbody>
1739
 
</table></div>
1740
 
</div>
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>
1744
 
<p></p>
1745
 
</div>
1746
 
<p class="since">Since 0.11.5</p>
1747
 
</div>
1748
 
<hr>
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">
1775
 
<colgroup>
1776
 
<col width="150px" class="parameters_name">
1777
 
<col class="parameters_description">
1778
 
<col width="200px" class="parameters_annotations">
1779
 
</colgroup>
1780
 
<tbody>
1781
 
<tr>
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>
1785
 
</tr>
1786
 
<tr>
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>
1789
 
</p></td>
1790
 
<td class="parameter_annotations"> </td>
1791
 
</tr>
1792
 
<tr>
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>
1796
 
</tr>
1797
 
<tr>
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>
1800
 
</p></td>
1801
 
<td class="parameter_annotations"> </td>
1802
 
</tr>
1803
 
</tbody>
1804
 
</table></div>
1805
 
</div>
1806
 
<p class="since">Since 0.15.0</p>
1807
 
</div>
1808
 
<hr>
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">
1821
 
<colgroup>
1822
 
<col width="150px" class="parameters_name">
1823
 
<col class="parameters_description">
1824
 
<col width="200px" class="parameters_annotations">
1825
 
</colgroup>
1826
 
<tbody>
1827
 
<tr>
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>
1831
 
</tr>
1832
 
<tr>
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>
1836
 
</tr>
1837
 
<tr>
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>
1841
 
</tr>
1842
 
</tbody>
1843
 
</table></div>
1844
 
</div>
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>
1848
 
<p></p>
1849
 
</div>
1850
 
<p class="since">Since 0.15.0</p>
1851
 
</div>
1852
 
<hr>
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">
1875
 
<colgroup>
1876
 
<col width="150px" class="parameters_name">
1877
 
<col class="parameters_description">
1878
 
<col width="200px" class="parameters_annotations">
1879
 
</colgroup>
1880
 
<tbody>
1881
 
<tr>
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>
1885
 
</tr>
1886
 
<tr>
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>
1890
 
</tr>
1891
 
<tr>
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>
1894
 
</p></td>
1895
 
<td class="parameter_annotations"> </td>
1896
 
</tr>
1897
 
</tbody>
1898
 
</table></div>
1899
 
</div>
1900
 
<p class="since">Since 0.15.1</p>
1901
 
</div>
1902
 
<hr>
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">
1915
 
<colgroup>
1916
 
<col width="150px" class="parameters_name">
1917
 
<col class="parameters_description">
1918
 
<col width="200px" class="parameters_annotations">
1919
 
</colgroup>
1920
 
<tbody>
1921
 
<tr>
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>
1925
 
</tr>
1926
 
<tr>
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>
1930
 
</tr>
1931
 
<tr>
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>
1935
 
</tr>
1936
 
</tbody>
1937
 
</table></div>
1938
 
</div>
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>
1943
 
<p></p>
1944
 
</div>
1945
 
<p class="since">Since 0.15.1</p>
1946
 
</div>
1947
 
<hr>
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">
1972
 
<colgroup>
1973
 
<col width="150px" class="parameters_name">
1974
 
<col class="parameters_description">
1975
 
<col width="200px" class="parameters_annotations">
1976
 
</colgroup>
1977
 
<tbody>
1978
 
<tr>
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>
1982
 
</tr>
1983
 
<tr>
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>
1987
 
</tr>
1988
 
<tr>
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>
1992
 
</tr>
1993
 
<tr>
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>
1997
 
</tr>
1998
 
<tr>
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>
2001
 
</p></td>
2002
 
<td class="parameter_annotations"> </td>
2003
 
</tr>
2004
 
</tbody>
2005
 
</table></div>
2006
 
</div>
2007
 
<p class="since">Since 0.15.2</p>
2008
 
</div>
2009
 
<hr>
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">
2022
 
<colgroup>
2023
 
<col width="150px" class="parameters_name">
2024
 
<col class="parameters_description">
2025
 
<col width="200px" class="parameters_annotations">
2026
 
</colgroup>
2027
 
<tbody>
2028
 
<tr>
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>
2032
 
</tr>
2033
 
<tr>
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>
2037
 
</tr>
2038
 
<tr>
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>
2042
 
</tr>
2043
 
</tbody>
2044
 
</table></div>
2045
 
</div>
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>
2051
 
<p></p>
2052
 
</div>
2053
 
<p class="since">Since 0.15.2</p>
2054
 
</div>
2055
 
<hr>
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">
2078
 
<colgroup>
2079
 
<col width="150px" class="parameters_name">
2080
 
<col class="parameters_description">
2081
 
<col width="200px" class="parameters_annotations">
2082
 
</colgroup>
2083
 
<tbody>
2084
 
<tr>
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>
2088
 
</tr>
2089
 
<tr>
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>
2093
 
</tr>
2094
 
<tr>
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>
2097
 
</p></td>
2098
 
<td class="parameter_annotations"> </td>
2099
 
</tr>
2100
 
</tbody>
2101
 
</table></div>
2102
 
</div>
2103
 
<p class="since">Since 0.15.2</p>
2104
 
</div>
2105
 
<hr>
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">
2118
 
<colgroup>
2119
 
<col width="150px" class="parameters_name">
2120
 
<col class="parameters_description">
2121
 
<col width="200px" class="parameters_annotations">
2122
 
</colgroup>
2123
 
<tbody>
2124
 
<tr>
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>
2128
 
</tr>
2129
 
<tr>
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>
2133
 
</tr>
2134
 
<tr>
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>
2138
 
</tr>
2139
 
</tbody>
2140
 
</table></div>
2141
 
</div>
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>
2147
 
<p></p>
2148
 
</div>
2149
 
<p class="since">Since 0.15.2</p>
2150
 
</div>
2151
 
</div>
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.
 
237
</p>
 
238
</div>
 
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
 
244
<p>
 
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.
 
251
</p>
 
252
<p>
 
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).
 
258
</p>
 
259
<p>
 
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).
 
266
</p>
 
267
<p>
 
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.
 
271
</p>
 
272
<p>
 
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>.
 
277
</p>
 
278
<p>
 
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>.
 
284
</p>
 
285
<p>
 
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.
 
292
</p>
 
293
<p>
 
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>.
 
296
</p>
 
297
<p>
 
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>.
 
301
</p>
2197
302
<p class="since">Since 0.7.32</p>
2198
303
</div>
2199
304
<hr>
2202
307
<pre class="programlisting">struct TpChannelDispatchOperationClass {
2203
308
};
2204
309
</pre>
2205
 
<p>The class of a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>.</p>
 
310
<p>
 
311
The class of a <a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>.
 
312
</p>
 
313
</div>
 
314
<hr>
 
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>
 
326
</div>
 
327
<p>
 
328
Convenience function to create a new channel dispatch operation proxy.
 
329
</p>
 
330
<p>
 
331
The <em class="parameter"><code>immutable_properties</code></em> argument is not yet used.
 
332
</p>
 
333
<div class="variablelist"><table border="0" class="variablelist">
 
334
<colgroup>
 
335
<col align="left" valign="top">
 
336
<col>
 
337
</colgroup>
 
338
<tbody>
 
339
<tr>
 
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>
 
342
</tr>
 
343
<tr>
 
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>
 
346
</tr>
 
347
<tr>
 
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>
 
351
</tr>
 
352
<tr>
 
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>
 
355
</tr>
 
356
<tr>
 
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
 
360
running</td>
 
361
</tr>
 
362
</tbody>
 
363
</table></div>
 
364
</div>
 
365
<hr>
 
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>
 
370
<p>
 
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>.
 
377
</p>
 
378
<p class="since">Since 0.7.32</p>
 
379
</div>
 
380
<hr>
 
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>
 
388
<p>
 
389
Signature of the callback called when a Claim method call
 
390
succeeds or fails.
 
391
</p>
 
392
<div class="variablelist"><table border="0" class="variablelist">
 
393
<colgroup>
 
394
<col align="left" valign="top">
 
395
<col>
 
396
</colgroup>
 
397
<tbody>
 
398
<tr>
 
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>
 
401
</tr>
 
402
<tr>
 
403
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
404
<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>
 
406
</tr>
 
407
<tr>
 
408
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
409
<td>user-supplied data</td>
 
410
</tr>
 
411
<tr>
 
412
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
413
<td>user-supplied object</td>
 
414
</tr>
 
415
</tbody>
 
416
</table></div>
 
417
</div>
 
418
<hr>
 
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>
 
428
<p>
 
429
Start a Claim method call.
 
430
</p>
 
431
<p>
 
432
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;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           &lt;em&gt;does not&lt;/em&gt; have the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;           method called on it.&lt;/p&gt;          &lt;p&gt;Clients that call Claim on channels but do not immediately           close them SHOULD implement the Handler interface and its           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandledChannels&lt;/tp:dbus-ref&gt;           property.&lt;/p&gt;          &lt;p&gt;Approvers wishing to reject channels MUST call this method to           claim ownership of them, and MUST NOT call           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Channel"&gt;Close&lt;/tp:dbus-ref&gt;           on the channels unless/until this method returns successfully.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;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 &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel.Interface.Destroyable.Destroy&lt;/tp:dbus-ref&gt;             if the destructive behaviour of that method is desired.&lt;/p&gt;            &lt;p&gt;Similarly, an Approver for StreamedMedia channels can close the             channel with a reason (e.g. &amp;quot;busy&amp;quot;) if desired. The channel             dispatcher, which is designed to have no specific knowledge             of particular channel types, can't do that.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;If successful, this method will cause the ChannelDispatchOperation           object to disappear, emitting           &lt;tp:member-ref&gt;Finished&lt;/tp:member-ref&gt;, in the same way as for           &lt;tp:member-ref&gt;HandleWith&lt;/tp:member-ref&gt;.&lt;/p&gt;          &lt;p&gt;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.&lt;/p&gt;          &lt;p&gt;(FIXME: list some other possible errors)&lt;/p&gt;
 
433
</p>
 
434
<div class="variablelist"><table border="0" class="variablelist">
 
435
<colgroup>
 
436
<col align="left" valign="top">
 
437
<col>
 
438
</colgroup>
 
439
<tbody>
 
440
<tr>
 
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>
 
443
</td>
 
444
</tr>
 
445
<tr>
 
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
 
448
default</td>
 
449
</tr>
 
450
<tr>
 
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
 
454
reply tracking</td>
 
455
</tr>
 
456
<tr>
 
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>
 
460
</td>
 
461
</tr>
 
462
<tr>
 
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>
 
467
</td>
 
468
</tr>
 
469
<tr>
 
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>
 
475
</td>
 
476
</tr>
 
477
<tr>
 
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>
 
483
</tr>
 
484
</tbody>
 
485
</table></div>
 
486
</div>
 
487
<hr>
 
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>
 
495
<p>
 
496
Signature of the callback called when a HandleWith method call
 
497
succeeds or fails.
 
498
</p>
 
499
<div class="variablelist"><table border="0" class="variablelist">
 
500
<colgroup>
 
501
<col align="left" valign="top">
 
502
<col>
 
503
</colgroup>
 
504
<tbody>
 
505
<tr>
 
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>
 
508
</tr>
 
509
<tr>
 
510
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
511
<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>
 
513
</tr>
 
514
<tr>
 
515
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
516
<td>user-supplied data</td>
 
517
</tr>
 
518
<tr>
 
519
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
520
<td>user-supplied object</td>
 
521
</tr>
 
522
</tbody>
 
523
</table></div>
 
524
</div>
 
525
<hr>
 
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>
 
536
<p>
 
537
Start a HandleWith method call.
 
538
</p>
 
539
<p>
 
540
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by an approver to accept a channel bundle and request that           the given handler be used to handle it.&lt;/p&gt;          &lt;p&gt;If successful, this method will cause the ChannelDispatchOperation           object to disappear, emitting           &lt;tp:member-ref&gt;Finished&lt;/tp:member-ref&gt;.&lt;/p&gt;          &lt;p&gt;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.&lt;/p&gt;          &lt;p&gt;Approvers which are also channel handlers SHOULD use           &lt;tp:member-ref&gt;Claim&lt;/tp:member-ref&gt; instead           of HandleWith to request that they can handle a channel bundle           themselves.&lt;/p&gt;          &lt;p&gt;(FIXME: list some possible errors)&lt;/p&gt;          &lt;p&gt;If the channel handler raises an error from &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;,           this method           MAY respond by raising that same error, even if it is not           specifically documented here.&lt;/p&gt;
 
541
</p>
 
542
<div class="variablelist"><table border="0" class="variablelist">
 
543
<colgroup>
 
544
<col align="left" valign="top">
 
545
<col>
 
546
</colgroup>
 
547
<tbody>
 
548
<tr>
 
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>
 
551
</td>
 
552
</tr>
 
553
<tr>
 
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
 
556
default</td>
 
557
</tr>
 
558
<tr>
 
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: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;) of the channel             handler that should handle the channel, or the empty string             if the client has no preferred channel handler.&lt;/p&gt;</td>
 
561
</tr>
 
562
<tr>
 
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
 
566
reply tracking</td>
 
567
</tr>
 
568
<tr>
 
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>
 
572
</td>
 
573
</tr>
 
574
<tr>
 
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>
 
579
</td>
 
580
</tr>
 
581
<tr>
 
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>
 
587
</td>
 
588
</tr>
 
589
<tr>
 
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>
 
595
</tr>
 
596
</tbody>
 
597
</table></div>
 
598
</div>
 
599
<hr>
 
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>
 
607
<p>
 
608
Signature of the callback called when a HandleWithTime method call
 
609
succeeds or fails.
 
610
</p>
 
611
<div class="variablelist"><table border="0" class="variablelist">
 
612
<colgroup>
 
613
<col align="left" valign="top">
 
614
<col>
 
615
</colgroup>
 
616
<tbody>
 
617
<tr>
 
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>
 
620
</tr>
 
621
<tr>
 
622
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
623
<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>
 
625
</tr>
 
626
<tr>
 
627
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
628
<td>user-supplied data</td>
 
629
</tr>
 
630
<tr>
 
631
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
632
<td>user-supplied object</td>
 
633
</tr>
 
634
</tbody>
 
635
</table></div>
 
636
</div>
 
637
<hr>
 
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>
 
649
<p>
 
650
Start a HandleWithTime method call.
 
651
</p>
 
652
<p>
 
653
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;A variant of &lt;tp:member-ref&gt;HandleWith&lt;/tp:member-ref&gt; allowing the           approver to pass an user action time. This timestamp will be passed           to the Handler when &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;           is called.&lt;/p&gt;
 
654
</p>
 
655
<div class="variablelist"><table border="0" class="variablelist">
 
656
<colgroup>
 
657
<col align="left" valign="top">
 
658
<col>
 
659
</colgroup>
 
660
<tbody>
 
661
<tr>
 
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>
 
664
</td>
 
665
</tr>
 
666
<tr>
 
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
 
669
default</td>
 
670
</tr>
 
671
<tr>
 
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: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;) of the channel             handler that should handle the channel, or the empty string             if the client has no preferred channel handler.&lt;/p&gt;</td>
 
674
</tr>
 
675
<tr>
 
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: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;            &lt;p&gt;The time at which user action occurred.&lt;/p&gt;</td>
 
678
</tr>
 
679
<tr>
 
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
 
683
reply tracking</td>
 
684
</tr>
 
685
<tr>
 
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>
 
689
</td>
 
690
</tr>
 
691
<tr>
 
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>
 
696
</td>
 
697
</tr>
 
698
<tr>
 
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>
 
704
</td>
 
705
</tr>
 
706
<tr>
 
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>
 
712
</tr>
 
713
</tbody>
 
714
</table></div>
 
715
</div>
 
716
<hr>
 
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>
 
726
<p>
 
727
Represents the signature of a callback for the signal ChannelLost.
 
728
</p>
 
729
<div class="variablelist"><table border="0" class="variablelist">
 
730
<colgroup>
 
731
<col align="left" valign="top">
 
732
<col>
 
733
</colgroup>
 
734
<tbody>
 
735
<tr>
 
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>
 
738
was called</td>
 
739
</tr>
 
740
<tr>
 
741
<td><p><span class="term"><em class="parameter"><code>arg_Channel</code></em> :</span></p></td>
 
742
<td>The &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Channel&lt;/tp:dbus-ref&gt;           that closed.</td>
 
743
</tr>
 
744
<tr>
 
745
<td><p><span class="term"><em class="parameter"><code>arg_Error</code></em> :</span></p></td>
 
746
<td>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The name of a D-Bus error indicating why the channel closed. If             no better reason can be found,             &lt;code&gt;org.freedesktop.Telepathy.Error.NotAvailable&lt;/code&gt; MAY             be used as a fallback; this means that this error SHOULD NOT be             given any more specific meaning.&lt;/p&gt;</td>
 
747
</tr>
 
748
<tr>
 
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>
 
751
</tr>
 
752
<tr>
 
753
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
754
<td>User-supplied data</td>
 
755
</tr>
 
756
<tr>
 
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>
 
759
</tr>
 
760
</tbody>
 
761
</table></div>
 
762
</div>
 
763
<hr>
 
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>
 
773
<p>
 
774
Connect a handler to the signal ChannelLost.
 
775
</p>
 
776
<p>
 
777
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;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           &lt;tp:member-ref&gt;Finished&lt;/tp:member-ref&gt;.&lt;/p&gt;          &lt;p&gt;This signal MUST NOT be emitted until all Approvers that were           invoked have returned (successfully or with an error) from           their &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver"&gt;AddDispatchOperation&lt;/tp:dbus-ref&gt;           method.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;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 &amp;quot;connect to signals then recover             state&amp;quot; model - first connect to ChannelLost and             &lt;tp:member-ref&gt;Finished&lt;/tp:member-ref&gt;,             then download &lt;tp:member-ref&gt;Channels&lt;/tp:member-ref&gt; (and             on error, perhaps assume that the operation has already             Finished).&lt;/p&gt;         &lt;/tp:rationale&gt;
 
778
</p>
 
779
<div class="variablelist"><table border="0" class="variablelist">
 
780
<colgroup>
 
781
<col align="left" valign="top">
 
782
<col>
 
783
</colgroup>
 
784
<tbody>
 
785
<tr>
 
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>
 
788
</tr>
 
789
<tr>
 
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
 
792
received</td>
 
793
</tr>
 
794
<tr>
 
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>
 
797
</tr>
 
798
<tr>
 
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>
 
803
</td>
 
804
</tr>
 
805
<tr>
 
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
 
809
disconnected</td>
 
810
</tr>
 
811
<tr>
 
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
 
814
returned</td>
 
815
</tr>
 
816
<tr>
 
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>
 
822
</tr>
 
823
</tbody>
 
824
</table></div>
 
825
</div>
 
826
<hr>
 
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>
 
833
<p>
 
834
Represents the signature of a callback for the signal Finished.
 
835
</p>
 
836
<div class="variablelist"><table border="0" class="variablelist">
 
837
<colgroup>
 
838
<col align="left" valign="top">
 
839
<col>
 
840
</colgroup>
 
841
<tbody>
 
842
<tr>
 
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>
 
845
was called</td>
 
846
</tr>
 
847
<tr>
 
848
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
849
<td>User-supplied data</td>
 
850
</tr>
 
851
<tr>
 
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>
 
854
</tr>
 
855
</tbody>
 
856
</table></div>
 
857
</div>
 
858
<hr>
 
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>
 
868
<p>
 
869
Connect a handler to the signal Finished.
 
870
</p>
 
871
<p>
 
872
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Emitted when this dispatch operation finishes. The dispatch           operation is no longer present and further methods must not be           called on it.&lt;/p&gt;          &lt;p&gt;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           &lt;tp:member-ref&gt;ChannelLost&lt;/tp:member-ref&gt; first.&lt;/p&gt;          &lt;p&gt;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.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Otherwise, clients might accidentally call             &lt;tp:member-ref&gt;HandleWith&lt;/tp:member-ref&gt; or             &lt;tp:member-ref&gt;Claim&lt;/tp:member-ref&gt; on a new dispatch operation             instead of the one they intended to handle.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;This signal MUST NOT be emitted until all Approvers that were           invoked have returned (successfully or with an error) from           their &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Approver"&gt;AddDispatchOperation&lt;/tp:dbus-ref&gt;           method.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;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 &amp;quot;connect to signals then recover             state&amp;quot; model - first connect to             &lt;tp:member-ref&gt;ChannelLost&lt;/tp:member-ref&gt; and             Finished, then download &lt;tp:member-ref&gt;Channels&lt;/tp:member-ref&gt;             (and on error, perhaps assume that the operation has already             Finished).&lt;/p&gt;         &lt;/tp:rationale&gt;
 
873
</p>
 
874
<div class="variablelist"><table border="0" class="variablelist">
 
875
<colgroup>
 
876
<col align="left" valign="top">
 
877
<col>
 
878
</colgroup>
 
879
<tbody>
 
880
<tr>
 
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>
 
883
</tr>
 
884
<tr>
 
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
 
887
received</td>
 
888
</tr>
 
889
<tr>
 
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>
 
892
</tr>
 
893
<tr>
 
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>
 
898
</td>
 
899
</tr>
 
900
<tr>
 
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
 
904
disconnected</td>
 
905
</tr>
 
906
<tr>
 
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
 
909
returned</td>
 
910
</tr>
 
911
<tr>
 
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>
 
917
</tr>
 
918
</tbody>
 
919
</table></div>
2206
920
</div>
2207
921
<hr>
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>
 
925
<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>.
 
928
</p>
 
929
<p>
 
930
When this feature is prepared, the basic properties of the
 
931
ChannelDispatchOperation have been retrieved and are available for use.
 
932
</p>
 
933
<p>
 
934
Specifically, this implies that:
 
935
</p>
 
936
<p>
 
937
</p>
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
 
948
  interfaces)</p></li>
2227
949
</ul></div>
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>
 
950
<p>
 
951
</p>
 
952
<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.
 
955
</p>
 
956
<p class="since">Since 0.11.5</p>
 
957
</div>
 
958
<hr>
 
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>
 
967
</div>
 
968
<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.
 
972
</p>
 
973
<div class="variablelist"><table border="0" class="variablelist">
 
974
<colgroup>
 
975
<col align="left" valign="top">
 
976
<col>
 
977
</colgroup>
 
978
<tbody>
 
979
<tr>
 
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>
 
982
</td>
 
983
</tr>
 
984
<tr>
 
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>
 
987
</td>
 
988
</tr>
 
989
</tbody>
 
990
</table></div>
 
991
<p class="since">Since 0.11.5</p>
 
992
</div>
 
993
<hr>
 
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>
 
1002
</div>
 
1003
<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.
 
1008
</p>
 
1009
<div class="variablelist"><table border="0" class="variablelist">
 
1010
<colgroup>
 
1011
<col align="left" valign="top">
 
1012
<col>
 
1013
</colgroup>
 
1014
<tbody>
 
1015
<tr>
 
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>
 
1018
</td>
 
1019
</tr>
 
1020
<tr>
 
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>
 
1023
</td>
 
1024
</tr>
 
1025
</tbody>
 
1026
</table></div>
 
1027
<p class="since">Since 0.11.5</p>
 
1028
</div>
 
1029
<hr>
 
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>
 
1038
</div>
 
1039
<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.
 
1043
</p>
 
1044
<div class="variablelist"><table border="0" class="variablelist">
 
1045
<colgroup>
 
1046
<col align="left" valign="top">
 
1047
<col>
 
1048
</colgroup>
 
1049
<tbody>
 
1050
<tr>
 
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>
 
1053
</td>
 
1054
</tr>
 
1055
<tr>
 
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>
 
1058
</td>
 
1059
</tr>
 
1060
</tbody>
 
1061
</table></div>
 
1062
<p class="since">Since 0.11.5</p>
 
1063
</div>
 
1064
<hr>
 
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>
 
1076
</div>
 
1077
<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.
 
1081
</p>
 
1082
<div class="variablelist"><table border="0" class="variablelist">
 
1083
<colgroup>
 
1084
<col align="left" valign="top">
 
1085
<col>
 
1086
</colgroup>
 
1087
<tbody>
 
1088
<tr>
 
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>
 
1091
</td>
 
1092
</tr>
 
1093
<tr>
 
1094
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1095
<td>the value of
 
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>
 
1097
</td>
 
1098
</tr>
 
1099
</tbody>
 
1100
</table></div>
 
1101
<p class="since">Since 0.11.5</p>
 
1102
</div>
 
1103
<hr>
 
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>
 
1112
</div>
 
1113
<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.
 
1118
</p>
 
1119
<div class="variablelist"><table border="0" class="variablelist">
 
1120
<colgroup>
 
1121
<col align="left" valign="top">
 
1122
<col>
 
1123
</colgroup>
 
1124
<tbody>
 
1125
<tr>
 
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>
 
1128
</td>
 
1129
</tr>
 
1130
<tr>
 
1131
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1132
<td>the value of
 
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>
 
1134
</td>
 
1135
</tr>
 
1136
</tbody>
 
1137
</table></div>
 
1138
<p class="since">Since 0.11.5</p>
 
1139
</div>
 
1140
<hr>
 
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>
 
1145
<p>
 
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.
 
1149
</p>
 
1150
<div class="variablelist"><table border="0" class="variablelist">
 
1151
<colgroup>
 
1152
<col align="left" valign="top">
 
1153
<col>
 
1154
</colgroup>
 
1155
<tbody>
 
1156
<tr>
 
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>
 
1159
</td>
 
1160
</tr>
 
1161
<tr>
 
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>
 
1164
</td>
 
1165
</tr>
 
1166
</tbody>
 
1167
</table></div>
 
1168
<p class="since">Since 0.19.9</p>
 
1169
</div>
 
1170
<hr>
 
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>
 
1175
<p>
 
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.
 
1180
</p>
 
1181
<div class="variablelist"><table border="0" class="variablelist">
 
1182
<colgroup>
 
1183
<col align="left" valign="top">
 
1184
<col>
 
1185
</colgroup>
 
1186
<tbody>
 
1187
<tr>
 
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>
 
1190
</td>
 
1191
</tr>
 
1192
<tr>
 
1193
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1194
<td>the value
 
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>
 
1196
</td>
 
1197
</tr>
 
1198
</tbody>
 
1199
</table></div>
 
1200
<p class="since">Since 0.19.9</p>
 
1201
</div>
 
1202
<hr>
 
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>
 
1207
<p>
 
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.
 
1211
</p>
 
1212
<div class="variablelist"><table border="0" class="variablelist">
 
1213
<colgroup>
 
1214
<col align="left" valign="top">
 
1215
<col>
 
1216
</colgroup>
 
1217
<tbody>
 
1218
<tr>
 
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>
 
1221
</td>
 
1222
</tr>
 
1223
<tr>
 
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>
 
1226
</td>
 
1227
</tr>
 
1228
</tbody>
 
1229
</table></div>
 
1230
<p class="since">Since 0.19.9</p>
 
1231
</div>
 
1232
<hr>
 
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>
 
1237
<p>
 
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.
 
1242
</p>
 
1243
<div class="variablelist"><table border="0" class="variablelist">
 
1244
<colgroup>
 
1245
<col align="left" valign="top">
 
1246
<col>
 
1247
</colgroup>
 
1248
<tbody>
 
1249
<tr>
 
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>
 
1252
</td>
 
1253
</tr>
 
1254
<tr>
 
1255
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1256
<td>the value of
 
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>
 
1258
</td>
 
1259
</tr>
 
1260
</tbody>
 
1261
</table></div>
 
1262
<p class="since">Since 0.19.9</p>
 
1263
</div>
 
1264
<hr>
 
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>
 
1272
<p>
 
1273
Called by an approver to accept a channel bundle and request that the
 
1274
given handler be used to handle it.
 
1275
</p>
 
1276
<p>
 
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.
 
1279
</p>
 
1280
<p>
 
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.
 
1287
</p>
 
1288
<p>
 
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.
 
1293
</p>
 
1294
<div class="variablelist"><table border="0" class="variablelist">
 
1295
<colgroup>
 
1296
<col align="left" valign="top">
 
1297
<col>
 
1298
</colgroup>
 
1299
<tbody>
 
1300
<tr>
 
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>
 
1303
</td>
 
1304
</tr>
 
1305
<tr>
 
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>
 
1310
</td>
 
1311
</tr>
 
1312
<tr>
 
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>
 
1315
</tr>
 
1316
<tr>
 
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>
 
1319
</td>
 
1320
</tr>
 
1321
</tbody>
 
1322
</table></div>
 
1323
<p class="since">Since 0.11.5</p>
 
1324
</div>
 
1325
<hr>
 
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>
 
1332
<p>
 
1333
Finishes an async call to <code class="function">HandleWith()</code>.
 
1334
</p>
 
1335
<div class="variablelist"><table border="0" class="variablelist">
 
1336
<colgroup>
 
1337
<col align="left" valign="top">
 
1338
<col>
 
1339
</colgroup>
 
1340
<tbody>
 
1341
<tr>
 
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>
 
1344
</td>
 
1345
</tr>
 
1346
<tr>
 
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>
 
1349
</td>
 
1350
</tr>
 
1351
<tr>
 
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>
 
1354
</tr>
 
1355
<tr>
 
1356
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1357
<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>
 
1359
</td>
 
1360
</tr>
 
1361
</tbody>
 
1362
</table></div>
 
1363
<p class="since">Since 0.11.5</p>
 
1364
</div>
 
1365
<hr>
 
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>
 
1374
<p>
 
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.
 
1378
</p>
 
1379
<p>
 
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>).
 
1388
</p>
 
1389
<p>
 
1390
This method has been introduced in telepathy-mission-control 5.5.0.
 
1391
</p>
 
1392
<div class="variablelist"><table border="0" class="variablelist">
 
1393
<colgroup>
 
1394
<col align="left" valign="top">
 
1395
<col>
 
1396
</colgroup>
 
1397
<tbody>
 
1398
<tr>
 
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>
 
1401
</td>
 
1402
</tr>
 
1403
<tr>
 
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>
 
1408
</td>
 
1409
</tr>
 
1410
<tr>
 
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>
 
1415
</td>
 
1416
</tr>
 
1417
<tr>
 
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>
 
1420
</tr>
 
1421
<tr>
 
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>
 
1424
</td>
 
1425
</tr>
 
1426
</tbody>
 
1427
</table></div>
 
1428
<p class="since">Since 0.11.7</p>
 
1429
</div>
 
1430
<hr>
 
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>
 
1437
<p>
 
1438
Finishes an async call to <code class="function">HandleWithTime()</code>.
 
1439
</p>
 
1440
<div class="variablelist"><table border="0" class="variablelist">
 
1441
<colgroup>
 
1442
<col align="left" valign="top">
 
1443
<col>
 
1444
</colgroup>
 
1445
<tbody>
 
1446
<tr>
 
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>
 
1449
</td>
 
1450
</tr>
 
1451
<tr>
 
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>
 
1454
</td>
 
1455
</tr>
 
1456
<tr>
 
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>
 
1459
</tr>
 
1460
<tr>
 
1461
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1462
<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>
 
1464
</td>
 
1465
</tr>
 
1466
</tbody>
 
1467
</table></div>
 
1468
<p class="since">Since 0.11.7</p>
 
1469
</div>
 
1470
<hr>
 
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>
 
1481
</div>
 
1482
<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.
 
1486
</p>
 
1487
<p>
 
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>.
 
1491
</p>
 
1492
<p>
 
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.
 
1497
</p>
 
1498
<div class="variablelist"><table border="0" class="variablelist">
 
1499
<colgroup>
 
1500
<col align="left" valign="top">
 
1501
<col>
 
1502
</colgroup>
 
1503
<tbody>
 
1504
<tr>
 
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>
 
1507
</td>
 
1508
</tr>
 
1509
<tr>
 
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>
 
1512
</tr>
 
1513
<tr>
 
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>
 
1516
</td>
 
1517
</tr>
 
1518
</tbody>
 
1519
</table></div>
 
1520
<p class="since">Since 0.11.5</p>
 
1521
</div>
 
1522
<hr>
 
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>
 
1533
</div>
 
1534
<p>
 
1535
Finishes an async call to <code class="function">Claim()</code>.
 
1536
</p>
 
1537
<div class="variablelist"><table border="0" class="variablelist">
 
1538
<colgroup>
 
1539
<col align="left" valign="top">
 
1540
<col>
 
1541
</colgroup>
 
1542
<tbody>
 
1543
<tr>
 
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>
 
1546
</td>
 
1547
</tr>
 
1548
<tr>
 
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>
 
1551
</td>
 
1552
</tr>
 
1553
<tr>
 
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>
 
1556
</tr>
 
1557
<tr>
 
1558
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1559
<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>
 
1561
</td>
 
1562
</tr>
 
1563
</tbody>
 
1564
</table></div>
 
1565
<p class="since">Since 0.11.5</p>
 
1566
</div>
 
1567
<hr>
 
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>
 
1575
<p>
 
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.
 
1579
</p>
 
1580
<p>
 
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>.
 
1584
</p>
 
1585
<p>
 
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.
 
1590
</p>
 
1591
<p>
 
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.
 
1594
</p>
 
1595
<p>
 
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.
 
1598
</p>
 
1599
<div class="variablelist"><table border="0" class="variablelist">
 
1600
<colgroup>
 
1601
<col align="left" valign="top">
 
1602
<col>
 
1603
</colgroup>
 
1604
<tbody>
 
1605
<tr>
 
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>
 
1608
</td>
 
1609
</tr>
 
1610
<tr>
 
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>
 
1613
</td>
 
1614
</tr>
 
1615
<tr>
 
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>
 
1618
</tr>
 
1619
<tr>
 
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>
 
1622
</td>
 
1623
</tr>
 
1624
</tbody>
 
1625
</table></div>
 
1626
<p class="since">Since 0.15.0</p>
 
1627
</div>
 
1628
<hr>
 
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>
 
1635
<p>
 
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>.
 
1638
</p>
 
1639
<div class="variablelist"><table border="0" class="variablelist">
 
1640
<colgroup>
 
1641
<col align="left" valign="top">
 
1642
<col>
 
1643
</colgroup>
 
1644
<tbody>
 
1645
<tr>
 
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>
 
1648
</td>
 
1649
</tr>
 
1650
<tr>
 
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>
 
1653
</td>
 
1654
</tr>
 
1655
<tr>
 
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>
 
1658
</tr>
 
1659
<tr>
 
1660
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1661
<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>
 
1663
</td>
 
1664
</tr>
 
1665
</tbody>
 
1666
</table></div>
 
1667
<p class="since">Since 0.15.0</p>
 
1668
</div>
 
1669
<hr>
 
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>
 
1676
<p>
 
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.
 
1680
</p>
 
1681
<p>
 
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>.
 
1685
</p>
 
1686
<p>
 
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>
 
1689
for more details.
 
1690
</p>
 
1691
<p>
 
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.
 
1694
</p>
 
1695
<div class="variablelist"><table border="0" class="variablelist">
 
1696
<colgroup>
 
1697
<col align="left" valign="top">
 
1698
<col>
 
1699
</colgroup>
 
1700
<tbody>
 
1701
<tr>
 
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>
 
1704
</td>
 
1705
</tr>
 
1706
<tr>
 
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>
 
1709
</tr>
 
1710
<tr>
 
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>
 
1713
</td>
 
1714
</tr>
 
1715
</tbody>
 
1716
</table></div>
 
1717
<p class="since">Since 0.15.1</p>
 
1718
</div>
 
1719
<hr>
 
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>
 
1726
<p>
 
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>.
 
1729
</p>
 
1730
<div class="variablelist"><table border="0" class="variablelist">
 
1731
<colgroup>
 
1732
<col align="left" valign="top">
 
1733
<col>
 
1734
</colgroup>
 
1735
<tbody>
 
1736
<tr>
 
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>
 
1739
</td>
 
1740
</tr>
 
1741
<tr>
 
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>
 
1744
</td>
 
1745
</tr>
 
1746
<tr>
 
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>
 
1749
</tr>
 
1750
<tr>
 
1751
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1752
<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>
 
1755
</td>
 
1756
</tr>
 
1757
</tbody>
 
1758
</table></div>
 
1759
<p class="since">Since 0.15.1</p>
 
1760
</div>
 
1761
<hr>
 
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>
 
1770
<p>
 
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.
 
1774
</p>
 
1775
<p>
 
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>.
 
1779
</p>
 
1780
<p>
 
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>
 
1783
for more details.
 
1784
</p>
 
1785
<p>
 
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.
 
1788
</p>
 
1789
<div class="variablelist"><table border="0" class="variablelist">
 
1790
<colgroup>
 
1791
<col align="left" valign="top">
 
1792
<col>
 
1793
</colgroup>
 
1794
<tbody>
 
1795
<tr>
 
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>
 
1798
</td>
 
1799
</tr>
 
1800
<tr>
 
1801
<td><p><span class="term"><em class="parameter"><code>reason</code></em> :</span></p></td>
 
1802
<td>the leave reason</td>
 
1803
</tr>
 
1804
<tr>
 
1805
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
 
1806
<td>the leave message</td>
 
1807
</tr>
 
1808
<tr>
 
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>
 
1811
</tr>
 
1812
<tr>
 
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>
 
1815
</td>
 
1816
</tr>
 
1817
</tbody>
 
1818
</table></div>
 
1819
<p class="since">Since 0.15.2</p>
 
1820
</div>
 
1821
<hr>
 
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>
 
1828
<p>
 
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>.
 
1831
</p>
 
1832
<div class="variablelist"><table border="0" class="variablelist">
 
1833
<colgroup>
 
1834
<col align="left" valign="top">
 
1835
<col>
 
1836
</colgroup>
 
1837
<tbody>
 
1838
<tr>
 
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>
 
1841
</td>
 
1842
</tr>
 
1843
<tr>
 
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>
 
1846
</td>
 
1847
</tr>
 
1848
<tr>
 
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>
 
1851
</tr>
 
1852
<tr>
 
1853
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1854
<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>
 
1858
</td>
 
1859
</tr>
 
1860
</tbody>
 
1861
</table></div>
 
1862
<p class="since">Since 0.15.2</p>
 
1863
</div>
 
1864
<hr>
 
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>
 
1871
<p>
 
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.
 
1875
</p>
 
1876
<p>
 
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>.
 
1880
</p>
 
1881
<p>
 
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>
 
1884
for more details.
 
1885
</p>
 
1886
<p>
 
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.
 
1889
</p>
 
1890
<div class="variablelist"><table border="0" class="variablelist">
 
1891
<colgroup>
 
1892
<col align="left" valign="top">
 
1893
<col>
 
1894
</colgroup>
 
1895
<tbody>
 
1896
<tr>
 
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>
 
1899
</td>
 
1900
</tr>
 
1901
<tr>
 
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>
 
1904
</tr>
 
1905
<tr>
 
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>
 
1908
</td>
 
1909
</tr>
 
1910
</tbody>
 
1911
</table></div>
 
1912
<p class="since">Since 0.15.2</p>
 
1913
</div>
 
1914
<hr>
 
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>
 
1921
<p>
 
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>.
 
1924
</p>
 
1925
<div class="variablelist"><table border="0" class="variablelist">
 
1926
<colgroup>
 
1927
<col align="left" valign="top">
 
1928
<col>
 
1929
</colgroup>
 
1930
<tbody>
 
1931
<tr>
 
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>
 
1934
</td>
 
1935
</tr>
 
1936
<tr>
 
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>
 
1939
</td>
 
1940
</tr>
 
1941
<tr>
 
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>
 
1944
</tr>
 
1945
<tr>
 
1946
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1947
<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>
 
1951
</td>
 
1952
</tr>
 
1953
</tbody>
 
1954
</table></div>
 
1955
<p class="since">Since 0.15.2</p>
2231
1956
</div>
2232
1957
</div>
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>
 
1963
<p>
 
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.
 
1965
</p>
 
1966
<p>
 
1967
Read-only except during construction.
 
1968
</p>
 
1969
<p>
 
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>.
 
1972
</p>
2243
1973
<p class="since">Since 0.11.5</p>
2244
1974
</div>
2245
1975
<hr>
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>
 
1979
<p>
 
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.
 
1983
</p>
 
1984
<p>
 
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>
2258
 
</div>
2259
 
<hr>
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>
2264
 
<p>Read-only.</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>
2269
 
</div>
2270
 
<hr>
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>
2280
 
</div>
2281
 
<hr>
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>.
 
1989
</p>
 
1990
<p class="since">Since 0.11.5</p>
 
1991
</div>
 
1992
<hr>
 
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>
 
1996
<p>
 
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.
 
1998
</p>
 
1999
<p>
 
2000
Read-only.
 
2001
</p>
 
2002
<p>
 
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>.
 
2005
</p>
 
2006
<p class="since">Since 0.11.5</p>
 
2007
</div>
 
2008
<hr>
 
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>
 
2012
<p>
 
2013
The <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> with which the channels are associated.
 
2014
</p>
 
2015
<p>
 
2016
Read-only except during construction.
 
2017
</p>
 
2018
<p>
 
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>.
 
2021
</p>
 
2022
<p class="since">Since 0.11.5</p>
 
2023
</div>
 
2024
<hr>
 
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>
 
2028
<p>
 
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
2287
 
the channels</p>
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>
2291
 
<p>Flags: Read</p>
 
2031
the channels
 
2032
</p>
 
2033
<p>
 
2034
Read-only except during construction.
 
2035
</p>
 
2036
<p>
 
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>.
 
2039
</p>
2292
2040
<p class="since">Since 0.11.5</p>
2293
2041
</div>
2294
2042
</div>
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>
 
2053
<p>
 
2054
Emitted when a channel has closed before it could be claimed or handled.
 
2055
</p>
 
2056
<div class="variablelist"><table border="0" class="variablelist">
2310
2057
<colgroup>
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">
 
2059
<col>
2314
2060
</colgroup>
2315
2061
<tbody>
2316
2062
<tr>
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>
2320
 
</tr>
2321
 
<tr>
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>
2325
 
</tr>
2326
 
<tr>
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>
2330
 
</tr>
2331
 
<tr>
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>
2335
 
</tr>
2336
 
<tr>
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>
2340
 
</tr>
2341
 
<tr>
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>
 
2065
</td>
 
2066
</tr>
 
2067
<tr>
 
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>
 
2070
</tr>
 
2071
<tr>
 
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>
 
2074
</tr>
 
2075
<tr>
 
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>
 
2078
</tr>
 
2079
<tr>
 
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>
 
2082
</tr>
 
2083
<tr>
 
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>
2345
2086
</tr>
2346
2087
</tbody>
2347
2088
</table></div>
2348
 
</div>
2349
 
<p>Flags: Has Details</p>
2350
2089
<p class="since">Since 0.11.5</p>
2351
2090
</div>
2352
2091
</div>
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>
2356
2095
</div>
2357
2096
</div>
2358
2097
<div class="footer">
2359
2098
<hr>
2360
 
          Generated by GTK-Doc V1.20</div>
 
2099
          Generated by GTK-Doc V1.19</div>
2361
2100
</body>
2362
2101
</html>
 
 
b'\\ No newline at end of file'