1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>TpHandleChannelsContext</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
<link rel="home" href="index.html" title="telepathy-glib Reference Manual">
8
<link rel="up" href="ch-service-base.html" title="Service-side implementation">
9
<link rel="prev" href="telepathy-glib-add-dispatch-operation-context.html" title="TpAddDispatchOperationContext">
10
<link rel="next" href="telepathy-glib-simple-observer.html" title="TpSimpleObserver">
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
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="2">
17
<td><a accesskey="p" href="telepathy-glib-add-dispatch-operation-context.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="ch-service-base.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 Reference Manual</th>
21
<td><a accesskey="n" href="telepathy-glib-simple-observer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#telepathy-glib-handle-channels-context.synopsis" class="shortcut">Top</a>
26
<a href="#telepathy-glib-handle-channels-context.description" class="shortcut">Description</a>
28
<a href="#telepathy-glib-handle-channels-context.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#telepathy-glib-handle-channels-context.properties" class="shortcut">Properties</a>
32
<a href="#telepathy-glib-handle-channels-context.signals" class="shortcut">Signals</a>
35
<div class="refentry" title="TpHandleChannelsContext">
36
<a name="telepathy-glib-handle-channels-context"></a><div class="titlepage"></div>
37
<div class="refnamediv"><table width="100%"><tr>
39
<h2><span class="refentrytitle"><a name="telepathy-glib-handle-channels-context.top_of_page"></a>TpHandleChannelsContext</span></h2>
40
<p>TpHandleChannelsContext — context of a Handler.HandleChannels() call</p>
42
<td valign="top" align="right"></td>
44
<div class="refsynopsisdiv" title="Synopsis">
45
<a name="telepathy-glib-handle-channels-context.synopsis"></a><h2>Synopsis</h2>
46
<a name="TpHandleChannelsContext"></a><pre class="synopsis">
47
#include <telepathy-glib/handle-channels-context.h>
49
<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext-struct" title="TpHandleChannelsContext">TpHandleChannelsContext</a>;
50
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-handle-channels-context.html#tp-handle-channels-context-accept" title="tp_handle_channels_context_accept ()">tp_handle_channels_context_accept</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *self</code></em>);
51
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-handle-channels-context.html#tp-handle-channels-context-delay" title="tp_handle_channels_context_delay ()">tp_handle_channels_context_delay</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *self</code></em>);
52
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-handle-channels-context.html#tp-handle-channels-context-fail" title="tp_handle_channels_context_fail ()">tp_handle_channels_context_fail</a> (<em class="parameter"><code><a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *self</code></em>,
53
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
56
<div class="refsect1" title="Object Hierarchy">
57
<a name="telepathy-glib-handle-channels-context.object-hierarchy"></a><h2>Object Hierarchy</h2>
58
<pre class="synopsis">
59
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
60
+----TpHandleChannelsContext
63
<div class="refsect1" title="Properties">
64
<a name="telepathy-glib-handle-channels-context.properties"></a><h2>Properties</h2>
65
<pre class="synopsis">
66
"<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext--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
67
"<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext--channels" title='The "channels" property'>channels</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read / Write / Construct Only
68
"<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext--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
69
"<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext--dbus-context" title='The "dbus-context" property'>dbus-context</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Write / Construct Only
70
"<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext--handler-info" title='The "handler-info" property'>handler-info</a>" <span class="type">GHashTable_gchararray+GValue_*</span> : Read / Write / Construct Only
71
"<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext--requests-satisfied" title='The "requests-satisfied" property'>requests-satisfied</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read / Write / Construct Only
72
"<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext--user-action-time" title='The "user-action-time" property'>user-action-time</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read / Write / Construct Only
75
<div class="refsect1" title="Signals">
76
<a name="telepathy-glib-handle-channels-context.signals"></a><h2>Signals</h2>
77
<pre class="synopsis">
78
"<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext-done" title='The "done" signal'>done</a>" : Run Last / Has Details
81
<div class="refsect1" title="Description">
82
<a name="telepathy-glib-handle-channels-context.description"></a><h2>Description</h2>
84
Object used to represent the context of a Handler.HandleChannels()
85
D-Bus call on a <a class="link" href="telepathy-glib-base-client.html#TpBaseClient"><span class="type">TpBaseClient</span></a>.
88
<div class="refsect1" title="Details">
89
<a name="telepathy-glib-handle-channels-context.details"></a><h2>Details</h2>
90
<div class="refsect2" title="TpHandleChannelsContext">
91
<a name="TpHandleChannelsContext-struct"></a><h3>TpHandleChannelsContext</h3>
92
<pre class="programlisting">typedef struct _TpHandleChannelsContext TpHandleChannelsContext;</pre>
94
Data structure representing the context of a Handler.HandleChannels()
97
<p class="since">Since 0.11.6</p>
100
<div class="refsect2" title="tp_handle_channels_context_accept ()">
101
<a name="tp-handle-channels-context-accept"></a><h3>tp_handle_channels_context_accept ()</h3>
102
<pre class="programlisting"><span class="returnvalue">void</span> tp_handle_channels_context_accept (<em class="parameter"><code><a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *self</code></em>);</pre>
104
Called by <a class="link" href="telepathy-glib-base-client.html#TpBaseClientClassAddDispatchOperationImpl" title="TpBaseClientClassAddDispatchOperationImpl ()"><span class="type">TpBaseClientClassAddDispatchOperationImpl</span></a> when it's done so
105
the D-Bus method can return.
107
<div class="variablelist"><table border="0">
108
<col align="left" valign="top">
110
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
111
<td>a <a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a>
115
<p class="since">Since 0.11.6</p>
118
<div class="refsect2" title="tp_handle_channels_context_delay ()">
119
<a name="tp-handle-channels-context-delay"></a><h3>tp_handle_channels_context_delay ()</h3>
120
<pre class="programlisting"><span class="returnvalue">void</span> tp_handle_channels_context_delay (<em class="parameter"><code><a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *self</code></em>);</pre>
122
Called by <a class="link" href="telepathy-glib-base-client.html#TpBaseClientClassAddDispatchOperationImpl" title="TpBaseClientClassAddDispatchOperationImpl ()"><span class="type">TpBaseClientClassAddDispatchOperationImpl</span></a> to indicate that it
123
implements the method in an async way. The caller must take a reference
124
to the <a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> before calling this function, and
125
is responsible for calling either
126
<a class="link" href="telepathy-glib-handle-channels-context.html#tp-handle-channels-context-accept" title="tp_handle_channels_context_accept ()"><code class="function">tp_handle_channels_context_accept()</code></a> or
127
<a class="link" href="telepathy-glib-handle-channels-context.html#tp-handle-channels-context-fail" title="tp_handle_channels_context_fail ()"><code class="function">tp_handle_channels_context_fail()</code></a> later.
129
<div class="variablelist"><table border="0">
130
<col align="left" valign="top">
132
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
133
<td>a <a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a>
137
<p class="since">Since 0.11.6</p>
140
<div class="refsect2" title="tp_handle_channels_context_fail ()">
141
<a name="tp-handle-channels-context-fail"></a><h3>tp_handle_channels_context_fail ()</h3>
142
<pre class="programlisting"><span class="returnvalue">void</span> tp_handle_channels_context_fail (<em class="parameter"><code><a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *self</code></em>,
143
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
145
Called by <a class="link" href="telepathy-glib-base-client.html#TpBaseClientClassAddDispatchOperationImpl" title="TpBaseClientClassAddDispatchOperationImpl ()"><span class="type">TpBaseClientClassAddDispatchOperationImpl</span></a> to raise a D-Bus error.
147
<div class="variablelist"><table border="0">
148
<col align="left" valign="top">
151
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
152
<td>a <a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a>
156
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
157
<td>the error to return from the method
162
<p class="since">Since 0.11.6</p>
165
<div class="refsect1" title="Property Details">
166
<a name="telepathy-glib-handle-channels-context.property-details"></a><h2>Property Details</h2>
167
<div class="refsect2" title='The "account" property'>
168
<a name="TpHandleChannelsContext--account"></a><h3>The <code class="literal">"account"</code> property</h3>
169
<pre class="programlisting"> "account" <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a>* : Read / Write / Construct Only</pre>
171
A <a class="link" href="telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> object representing the Account of the DispatchOperation
172
that has been passed to HandleChannels.
173
Read-only except during construction.
176
This property can't be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
178
<p class="since">Since 0.11.6</p>
181
<div class="refsect2" title='The "channels" property'>
182
<a name="TpHandleChannelsContext--channels"></a><h3>The <code class="literal">"channels"</code> property</h3>
183
<pre class="programlisting"> "channels" <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read / Write / Construct Only</pre>
185
A <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> containing <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> objects representing the channels
186
that have been passed to HandleChannels.
187
Read-only except during construction.
190
This property can't be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
192
<p class="since">Since 0.11.6</p>
195
<div class="refsect2" title='The "connection" property'>
196
<a name="TpHandleChannelsContext--connection"></a><h3>The <code class="literal">"connection"</code> property</h3>
197
<pre class="programlisting"> "connection" <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a>* : Read / Write / Construct Only</pre>
199
A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> object representing the Connection of the DispatchOperation
200
that has been passed to HandleChannels.
201
Read-only except during construction.
204
This property can't be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
206
<p class="since">Since 0.11.6</p>
209
<div class="refsect2" title='The "dbus-context" property'>
210
<a name="TpHandleChannelsContext--dbus-context"></a><h3>The <code class="literal">"dbus-context"</code> property</h3>
211
<pre class="programlisting"> "dbus-context" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Write / Construct Only</pre>
213
The <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> representing the D-Bus context of the
215
Can only be written during construction.
217
<p class="since">Since 0.11.6</p>
220
<div class="refsect2" title='The "handler-info" property'>
221
<a name="TpHandleChannelsContext--handler-info"></a><h3>The <code class="literal">"handler-info"</code> property</h3>
222
<pre class="programlisting"> "handler-info" <span class="type">GHashTable_gchararray+GValue_*</span> : Read / Write / Construct Only</pre>
224
A <a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> where the keys are string and values are GValue instances.
225
It represents the Handler_info hash table that has been passed to
229
This property can't be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
231
<p class="since">Since 0.11.6</p>
234
<div class="refsect2" title='The "requests-satisfied" property'>
235
<a name="TpHandleChannelsContext--requests-satisfied"></a><h3>The <code class="literal">"requests-satisfied"</code> property</h3>
236
<pre class="programlisting"> "requests-satisfied" <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read / Write / Construct Only</pre>
238
A <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> containing <a class="link" href="telepathy-glib-channel-request.html#TpChannelRequest"><span class="type">TpChannelRequest</span></a> objects representing the
239
requests that have been passed to HandleChannels.
240
Read-only except during construction.
243
This property can't be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
245
<p class="since">Since 0.11.6</p>
248
<div class="refsect2" title='The "user-action-time" property'>
249
<a name="TpHandleChannelsContext--user-action-time"></a><h3>The <code class="literal">"user-action-time"</code> property</h3>
250
<pre class="programlisting"> "user-action-time" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read / Write / Construct Only</pre>
252
The User_Action_Time that have been passed to HandleChannels.
253
Read-only except during construction.
256
If 0, the action doesn't involve any user action. Clients
257
SHOULD avoid stealing focus when presenting the channel.
260
If <a href="/usr/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html#G-MAXINT64:CAPS"><span class="type">G_MAXINT64</span></a>: clients SHOULD behave as though the user
261
action happened at the current time, e.g. a client MAY
262
request that its window gains focus.
264
<p>Allowed values: >= 0</p>
265
<p>Default value: 0</p>
266
<p class="since">Since 0.11.6</p>
269
<div class="refsect1" title="Signal Details">
270
<a name="telepathy-glib-handle-channels-context.signal-details"></a><h2>Signal Details</h2>
271
<div class="refsect2" title='The "done" signal'>
272
<a name="TpHandleChannelsContext-done"></a><h3>The <code class="literal">"done"</code> signal</h3>
273
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *self,
274
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
276
Emitted when tp_handle_channels_context_accept has been called on <em class="parameter"><code>self</code></em>.
278
<div class="variablelist"><table border="0">
279
<col align="left" valign="top">
282
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
283
<td>a <a class="link" href="telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a>
287
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
288
<td>user data set when the signal handler was connected.</td>
292
<p class="since">Since 0.11.6</p>
298
Generated by GTK-Doc V1.15</div>
b'\\ No newline at end of file'