37
31
<h2><span class="refentrytitle"><a name="GoaObjectManagerClient.top_of_page"></a>GoaObjectManagerClient</span></h2>
38
32
<p>GoaObjectManagerClient — Generated GDBusObjectManagerClient type</p>
40
<td valign="top" align="right"></td>
34
<td class="gallery_image" valign="top" align="right"></td>
41
35
</tr></table></div>
42
<div class="refsynopsisdiv">
43
<a name="GoaObjectManagerClient.synopsis"></a><h2>Synopsis</h2>
44
<pre class="synopsis">struct <a class="link" href="GoaObjectManagerClient.html#GoaObjectManagerClient-struct" title="struct GoaObjectManagerClient">GoaObjectManagerClient</a>;
45
struct <a class="link" href="GoaObjectManagerClient.html#GoaObjectManagerClientClass" title="struct GoaObjectManagerClientClass">GoaObjectManagerClientClass</a>;
46
<span class="returnvalue">GType</span> <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-get-proxy-type" title="goa_object_manager_client_get_proxy_type ()">goa_object_manager_client_get_proxy_type</a>
47
(<em class="parameter"><code><span class="type">GDBusObjectManagerClient</span> *manager</code></em>,
48
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
49
<em class="parameter"><code>const <span class="type">gchar</span> *interface_name</code></em>,
50
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
51
<span class="returnvalue">void</span> <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()">goa_object_manager_client_new</a> (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
52
<em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
53
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
54
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
55
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
56
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
57
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
58
<span class="returnvalue">GDBusObjectManager</span> * <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-finish" title="goa_object_manager_client_new_finish ()">goa_object_manager_client_new_finish</a>
59
(<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
60
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
61
<span class="returnvalue">void</span> <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus" title="goa_object_manager_client_new_for_bus ()">goa_object_manager_client_new_for_bus</a>
62
(<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
63
<em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
64
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
65
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
66
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
67
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
68
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
69
<span class="returnvalue">GDBusObjectManager</span> * <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus-finish" title="goa_object_manager_client_new_for_bus_finish ()">goa_object_manager_client_new_for_bus_finish</a>
70
(<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
71
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
72
<span class="returnvalue">GDBusObjectManager</span> * <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus-sync" title="goa_object_manager_client_new_for_bus_sync ()">goa_object_manager_client_new_for_bus_sync</a>
73
(<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
74
<em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
75
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
76
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
77
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
78
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
79
<span class="returnvalue">GDBusObjectManager</span> * <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-sync" title="goa_object_manager_client_new_sync ()">goa_object_manager_client_new_sync</a> (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
80
<em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
81
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
82
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
83
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
84
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
36
<div class="refsect1">
37
<a name="GoaObjectManagerClient.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="function_type">
46
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
48
<td class="function_name">
49
<a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-get-proxy-type" title="goa_object_manager_client_get_proxy_type ()">goa_object_manager_client_get_proxy_type</a> <span class="c_punctuation">()</span>
53
<td class="function_type">
54
<span class="returnvalue">void</span>
56
<td class="function_name">
57
<a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()">goa_object_manager_client_new</a> <span class="c_punctuation">()</span>
61
<td class="function_type">
62
<a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> *
64
<td class="function_name">
65
<a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-finish" title="goa_object_manager_client_new_finish ()">goa_object_manager_client_new_finish</a> <span class="c_punctuation">()</span>
69
<td class="function_type">
70
<span class="returnvalue">void</span>
72
<td class="function_name">
73
<a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus" title="goa_object_manager_client_new_for_bus ()">goa_object_manager_client_new_for_bus</a> <span class="c_punctuation">()</span>
77
<td class="function_type">
78
<a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> *
80
<td class="function_name">
81
<a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus-finish" title="goa_object_manager_client_new_for_bus_finish ()">goa_object_manager_client_new_for_bus_finish</a> <span class="c_punctuation">()</span>
85
<td class="function_type">
86
<a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> *
88
<td class="function_name">
89
<a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus-sync" title="goa_object_manager_client_new_for_bus_sync ()">goa_object_manager_client_new_for_bus_sync</a> <span class="c_punctuation">()</span>
93
<td class="function_type">
94
<a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> *
96
<td class="function_name">
97
<a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-sync" title="goa_object_manager_client_new_sync ()">goa_object_manager_client_new_sync</a> <span class="c_punctuation">()</span>
103
<div class="refsect1">
104
<a name="GoaObjectManagerClient.other"></a><h2>Types and Values</h2>
105
<div class="informaltable"><table width="100%" border="0">
107
<col width="150px" class="name">
108
<col class="description">
112
<td class="datatype_keyword">struct</td>
113
<td class="function_name"><a class="link" href="GoaObjectManagerClient.html#GoaObjectManagerClient-struct" title="struct GoaObjectManagerClient">GoaObjectManagerClient</a></td>
116
<td class="datatype_keyword">struct</td>
117
<td class="function_name"><a class="link" href="GoaObjectManagerClient.html#GoaObjectManagerClientClass" title="struct GoaObjectManagerClientClass">GoaObjectManagerClientClass</a></td>
87
122
<div class="refsect1">
88
123
<a name="GoaObjectManagerClient.object-hierarchy"></a><h2>Object Hierarchy</h2>
89
<pre class="synopsis">
91
+----GDBusObjectManagerClient
92
+----GoaObjectManagerClient
124
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
125
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html">GDBusObjectManagerClient</a>
126
<span class="lineart">╰──</span> GoaObjectManagerClient
95
129
<div class="refsect1">
96
130
<a name="GoaObjectManagerClient.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
98
132
GoaObjectManagerClient implements
99
GInitable, GAsyncInitable and GDBusObjectManager.</p>
133
<a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a>, <a href="http://library.gnome.org/devel/gio/unstable/GAsyncInitable.html">GAsyncInitable</a> and <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html">GDBusObjectManager</a>.</p>
101
135
<div class="refsect1">
102
136
<a name="GoaObjectManagerClient.description"></a><h2>Description</h2>
104
This section contains a <span class="type">GDBusObjectManagerClient</span> that uses <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-get-proxy-type" title="goa_object_manager_client_get_proxy_type ()"><code class="function">goa_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>.
107
<div class="refsect1">
108
<a name="GoaObjectManagerClient.details"></a><h2>Details</h2>
137
<p>This section contains a <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html"><span class="type">GDBusObjectManagerClient</span></a> that uses <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-get-proxy-type" title="goa_object_manager_client_get_proxy_type ()"><code class="function">goa_object_manager_client_get_proxy_type()</code></a> as the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusProxyTypeFunc"><span class="type">GDBusProxyTypeFunc</span></a>.</p>
139
<div class="refsect1">
140
<a name="GoaObjectManagerClient.functions_details"></a><h2>Functions</h2>
141
<div class="refsect2">
142
<a name="goa-object-manager-client-get-proxy-type"></a><h3>goa_object_manager_client_get_proxy_type ()</h3>
143
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
144
goa_object_manager_client_get_proxy_type
145
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html"><span class="type">GDBusObjectManagerClient</span></a> *manager</code></em>,
146
<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>,
147
<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> *interface_name</code></em>,
148
<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>
149
<p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusProxyTypeFunc"><span class="type">GDBusProxyTypeFunc</span></a> that maps <em class="parameter"><code>interface_name</code></em>
150
to the generated <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectProxy.html"><span class="type">GDBusObjectProxy</span></a>- and <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html"><span class="type">GDBusProxy</span></a>-derived types.</p>
151
<div class="refsect3">
152
<a name="id-1.4.5.3.8.2.5"></a><h4>Parameters</h4>
153
<div class="informaltable"><table width="100%" border="0">
155
<col width="150px" class="parameters_name">
156
<col class="parameters_description">
157
<col width="200px" class="parameters_annotations">
161
<td class="parameter_name"><p>manager</p></td>
162
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html"><span class="type">GDBusObjectManagerClient</span></a>.</p></td>
163
<td class="parameter_annotations"> </td>
166
<td class="parameter_name"><p>object_path</p></td>
167
<td class="parameter_description"><p>The object path of the remote object (unused).</p></td>
168
<td class="parameter_annotations"> </td>
171
<td class="parameter_name"><p>interface_name</p></td>
172
<td class="parameter_description"><p> Interface name of the remote object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to get the object proxy <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>. </p></td>
173
<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>
176
<td class="parameter_name"><p>user_data</p></td>
177
<td class="parameter_description"><p>User data (unused).</p></td>
178
<td class="parameter_annotations"> </td>
183
<div class="refsect3">
184
<a name="id-1.4.5.3.8.2.6"></a><h4>Returns</h4>
185
<p> A <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html"><span class="type">GDBusProxy</span></a>-derived <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> if <em class="parameter"><code>interface_name</code></em>
186
is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, otherwise the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> for <a class="link" href="GoaObject.html#GoaObjectProxy"><span class="type">GoaObjectProxy</span></a>.</p>
191
<div class="refsect2">
192
<a name="goa-object-manager-client-new"></a><h3>goa_object_manager_client_new ()</h3>
193
<pre class="programlisting"><span class="returnvalue">void</span>
194
goa_object_manager_client_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
195
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientFlags"><span class="type">GDBusObjectManagerClientFlags</span></a> flags</code></em>,
196
<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> *name</code></em>,
197
<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>,
198
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</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>);</pre>
201
<p>Asynchronously creates <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html"><span class="type">GDBusObjectManagerClient</span></a> using <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-get-proxy-type" title="goa_object_manager_client_get_proxy_type ()"><code class="function">goa_object_manager_client_get_proxy_type()</code></a> as the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusProxyTypeFunc"><span class="type">GDBusProxyTypeFunc</span></a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#g-dbus-object-manager-client-new"><code class="function">g_dbus_object_manager_client_new()</code></a> for more details.</p>
202
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
203
will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
204
You can then call <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-finish" title="goa_object_manager_client_new_finish ()"><code class="function">goa_object_manager_client_new_finish()</code></a> to get the result of the operation.</p>
205
<p>See <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-sync" title="goa_object_manager_client_new_sync ()"><code class="function">goa_object_manager_client_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
206
<div class="refsect3">
207
<a name="id-1.4.5.3.8.3.7"></a><h4>Parameters</h4>
208
<div class="informaltable"><table width="100%" border="0">
210
<col width="150px" class="parameters_name">
211
<col class="parameters_description">
212
<col width="200px" class="parameters_annotations">
216
<td class="parameter_name"><p>connection</p></td>
217
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p></td>
218
<td class="parameter_annotations"> </td>
221
<td class="parameter_name"><p>flags</p></td>
222
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientFlags"><span class="type">GDBusObjectManagerClientFlags</span></a> enumeration.</p></td>
223
<td class="parameter_annotations"> </td>
226
<td class="parameter_name"><p>name</p></td>
227
<td class="parameter_description"><p> A bus name (well-known or unique) or <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>connection</code></em>
228
is not a message bus connection. </p></td>
229
<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>
232
<td class="parameter_name"><p>object_path</p></td>
233
<td class="parameter_description"><p>An object path.</p></td>
234
<td class="parameter_annotations"> </td>
237
<td class="parameter_name"><p>cancellable</p></td>
238
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
239
<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>
242
<td class="parameter_name"><p>callback</p></td>
243
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</p></td>
244
<td class="parameter_annotations"> </td>
247
<td class="parameter_name"><p>user_data</p></td>
248
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
250
<td class="parameter_annotations"> </td>
257
<div class="refsect2">
258
<a name="goa-object-manager-client-new-finish"></a><h3>goa_object_manager_client_new_finish ()</h3>
259
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> *
260
goa_object_manager_client_new_finish (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
261
<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>
262
<p>Finishes an operation started with <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()"><code class="function">goa_object_manager_client_new()</code></a>.</p>
263
<div class="refsect3">
264
<a name="id-1.4.5.3.8.4.5"></a><h4>Parameters</h4>
265
<div class="informaltable"><table width="100%" border="0">
267
<col width="150px" class="parameters_name">
268
<col class="parameters_description">
269
<col width="200px" class="parameters_annotations">
273
<td class="parameter_name"><p>res</p></td>
274
<td class="parameter_description"><p>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()"><code class="function">goa_object_manager_client_new()</code></a>.</p></td>
275
<td class="parameter_annotations"> </td>
278
<td class="parameter_name"><p>error</p></td>
279
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
280
<td class="parameter_annotations"> </td>
285
<div class="refsect3">
286
<a name="id-1.4.5.3.8.4.6"></a><h4>Returns</h4>
287
<p> The constructed object manager client or <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>error</code></em>
289
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaObjectManagerClient]</span></p>
293
<div class="refsect2">
294
<a name="goa-object-manager-client-new-for-bus"></a><h3>goa_object_manager_client_new_for_bus ()</h3>
295
<pre class="programlisting"><span class="returnvalue">void</span>
296
goa_object_manager_client_new_for_bus (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
297
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientFlags"><span class="type">GDBusObjectManagerClientFlags</span></a> flags</code></em>,
298
<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> *name</code></em>,
299
<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>,
300
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
301
<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>,
302
<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>
303
<p>Like <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()"><code class="function">goa_object_manager_client_new()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p>
304
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
305
will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
306
You can then call <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus-finish" title="goa_object_manager_client_new_for_bus_finish ()"><code class="function">goa_object_manager_client_new_for_bus_finish()</code></a> to get the result of the operation.</p>
307
<p>See <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus-sync" title="goa_object_manager_client_new_for_bus_sync ()"><code class="function">goa_object_manager_client_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
308
<div class="refsect3">
309
<a name="id-1.4.5.3.8.5.7"></a><h4>Parameters</h4>
310
<div class="informaltable"><table width="100%" border="0">
312
<col width="150px" class="parameters_name">
313
<col class="parameters_description">
314
<col width="200px" class="parameters_annotations">
318
<td class="parameter_name"><p>bus_type</p></td>
319
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</p></td>
320
<td class="parameter_annotations"> </td>
323
<td class="parameter_name"><p>flags</p></td>
324
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientFlags"><span class="type">GDBusObjectManagerClientFlags</span></a> enumeration.</p></td>
325
<td class="parameter_annotations"> </td>
328
<td class="parameter_name"><p>name</p></td>
329
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
330
<td class="parameter_annotations"> </td>
333
<td class="parameter_name"><p>object_path</p></td>
334
<td class="parameter_description"><p>An object path.</p></td>
335
<td class="parameter_annotations"> </td>
338
<td class="parameter_name"><p>cancellable</p></td>
339
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
340
<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>
343
<td class="parameter_name"><p>callback</p></td>
344
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</p></td>
345
<td class="parameter_annotations"> </td>
348
<td class="parameter_name"><p>user_data</p></td>
349
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
351
<td class="parameter_annotations"> </td>
358
<div class="refsect2">
359
<a name="goa-object-manager-client-new-for-bus-finish"></a><h3>goa_object_manager_client_new_for_bus_finish ()</h3>
360
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> *
361
goa_object_manager_client_new_for_bus_finish
362
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
363
<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>
364
<p>Finishes an operation started with <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus" title="goa_object_manager_client_new_for_bus ()"><code class="function">goa_object_manager_client_new_for_bus()</code></a>.</p>
365
<div class="refsect3">
366
<a name="id-1.4.5.3.8.6.5"></a><h4>Parameters</h4>
367
<div class="informaltable"><table width="100%" border="0">
369
<col width="150px" class="parameters_name">
370
<col class="parameters_description">
371
<col width="200px" class="parameters_annotations">
375
<td class="parameter_name"><p>res</p></td>
376
<td class="parameter_description"><p>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus" title="goa_object_manager_client_new_for_bus ()"><code class="function">goa_object_manager_client_new_for_bus()</code></a>.</p></td>
377
<td class="parameter_annotations"> </td>
380
<td class="parameter_name"><p>error</p></td>
381
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
382
<td class="parameter_annotations"> </td>
387
<div class="refsect3">
388
<a name="id-1.4.5.3.8.6.6"></a><h4>Returns</h4>
389
<p> The constructed object manager client or <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>error</code></em>
391
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaObjectManagerClient]</span></p>
395
<div class="refsect2">
396
<a name="goa-object-manager-client-new-for-bus-sync"></a><h3>goa_object_manager_client_new_for_bus_sync ()</h3>
397
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> *
398
goa_object_manager_client_new_for_bus_sync
399
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
400
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientFlags"><span class="type">GDBusObjectManagerClientFlags</span></a> flags</code></em>,
401
<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> *name</code></em>,
402
<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>,
403
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
404
<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>
405
<p>Like <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-sync" title="goa_object_manager_client_new_sync ()"><code class="function">goa_object_manager_client_new_sync()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p>
406
<p>The calling thread is blocked until a reply is received.</p>
407
<p>See <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus" title="goa_object_manager_client_new_for_bus ()"><code class="function">goa_object_manager_client_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
408
<div class="refsect3">
409
<a name="id-1.4.5.3.8.7.7"></a><h4>Parameters</h4>
410
<div class="informaltable"><table width="100%" border="0">
412
<col width="150px" class="parameters_name">
413
<col class="parameters_description">
414
<col width="200px" class="parameters_annotations">
418
<td class="parameter_name"><p>bus_type</p></td>
419
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</p></td>
420
<td class="parameter_annotations"> </td>
423
<td class="parameter_name"><p>flags</p></td>
424
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientFlags"><span class="type">GDBusObjectManagerClientFlags</span></a> enumeration.</p></td>
425
<td class="parameter_annotations"> </td>
428
<td class="parameter_name"><p>name</p></td>
429
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
430
<td class="parameter_annotations"> </td>
433
<td class="parameter_name"><p>object_path</p></td>
434
<td class="parameter_description"><p>An object path.</p></td>
435
<td class="parameter_annotations"> </td>
438
<td class="parameter_name"><p>cancellable</p></td>
439
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
440
<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>
443
<td class="parameter_name"><p>error</p></td>
444
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
445
<td class="parameter_annotations"> </td>
450
<div class="refsect3">
451
<a name="id-1.4.5.3.8.7.8"></a><h4>Returns</h4>
452
<p> The constructed object manager client or <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>error</code></em>
454
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaObjectManagerClient]</span></p>
458
<div class="refsect2">
459
<a name="goa-object-manager-client-new-sync"></a><h3>goa_object_manager_client_new_sync ()</h3>
460
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> *
461
goa_object_manager_client_new_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
462
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientFlags"><span class="type">GDBusObjectManagerClientFlags</span></a> flags</code></em>,
463
<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> *name</code></em>,
464
<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>,
465
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
466
<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>
467
<p>Synchronously creates <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html"><span class="type">GDBusObjectManagerClient</span></a> using <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-get-proxy-type" title="goa_object_manager_client_get_proxy_type ()"><code class="function">goa_object_manager_client_get_proxy_type()</code></a> as the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusProxyTypeFunc"><span class="type">GDBusProxyTypeFunc</span></a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#g-dbus-object-manager-client-new-sync"><code class="function">g_dbus_object_manager_client_new_sync()</code></a> for more details.</p>
468
<p>The calling thread is blocked until a reply is received.</p>
469
<p>See <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()"><code class="function">goa_object_manager_client_new()</code></a> for the asynchronous version of this constructor.</p>
470
<div class="refsect3">
471
<a name="id-1.4.5.3.8.8.7"></a><h4>Parameters</h4>
472
<div class="informaltable"><table width="100%" border="0">
474
<col width="150px" class="parameters_name">
475
<col class="parameters_description">
476
<col width="200px" class="parameters_annotations">
480
<td class="parameter_name"><p>connection</p></td>
481
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p></td>
482
<td class="parameter_annotations"> </td>
485
<td class="parameter_name"><p>flags</p></td>
486
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientFlags"><span class="type">GDBusObjectManagerClientFlags</span></a> enumeration.</p></td>
487
<td class="parameter_annotations"> </td>
490
<td class="parameter_name"><p>name</p></td>
491
<td class="parameter_description"><p> A bus name (well-known or unique) or <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>connection</code></em>
492
is not a message bus connection. </p></td>
493
<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>
496
<td class="parameter_name"><p>object_path</p></td>
497
<td class="parameter_description"><p>An object path.</p></td>
498
<td class="parameter_annotations"> </td>
501
<td class="parameter_name"><p>cancellable</p></td>
502
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
503
<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>
506
<td class="parameter_name"><p>error</p></td>
507
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
508
<td class="parameter_annotations"> </td>
513
<div class="refsect3">
514
<a name="id-1.4.5.3.8.8.8"></a><h4>Returns</h4>
515
<p> The constructed object manager client or <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>error</code></em>
517
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaObjectManagerClient]</span></p>
521
<div class="refsect1">
522
<a name="GoaObjectManagerClient.other_details"></a><h2>Types and Values</h2>
109
523
<div class="refsect2">
110
524
<a name="GoaObjectManagerClient-struct"></a><h3>struct GoaObjectManagerClient</h3>
111
525
<pre class="programlisting">struct GoaObjectManagerClient;</pre>
113
The <a class="link" href="GoaObjectManagerClient.html" title="GoaObjectManagerClient"><span class="type">GoaObjectManagerClient</span></a> structure contains only private data and should only be accessed using the provided API.
526
<p>The <a class="link" href="GoaObjectManagerClient.html" title="GoaObjectManagerClient"><span class="type">GoaObjectManagerClient</span></a> structure contains only private data and should only be accessed using the provided API.</p>
117
529
<div class="refsect2">
120
532
GDBusObjectManagerClientClass parent_class;
124
Class structure for <a class="link" href="GoaObjectManagerClient.html" title="GoaObjectManagerClient"><span class="type">GoaObjectManagerClient</span></a>.
126
<div class="variablelist"><table border="0" class="variablelist">
535
<p>Class structure for <a class="link" href="GoaObjectManagerClient.html" title="GoaObjectManagerClient"><span class="type">GoaObjectManagerClient</span></a>.</p>
536
<div class="refsect3">
537
<a name="id-1.4.5.3.9.3.5"></a><h4>Members</h4>
538
<div class="informaltable"><table width="100%" border="0">
128
<col align="left" valign="top">
540
<col width="300px" class="struct_members_name">
541
<col class="struct_members_description">
542
<col width="200px" class="struct_members_annotations">
132
<td><p><span class="term"><span class="type">GDBusObjectManagerClientClass</span> <em class="structfield"><code><a name="GoaObjectManagerClientClass.parent-class"></a>parent_class</code></em>;</span></p></td>
133
<td>The parent class.</td>
545
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManagerClient.html#GDBusObjectManagerClientClass"><span class="type">GDBusObjectManagerClientClass</span></a> <em class="structfield"><code><a name="GoaObjectManagerClientClass.parent-class"></a>parent_class</code></em>;</p></td>
546
<td class="struct_member_description"><p>The parent class.</p></td>
547
<td class="struct_member_annotations"> </td>
138
<div class="refsect2">
139
<a name="goa-object-manager-client-get-proxy-type"></a><h3>goa_object_manager_client_get_proxy_type ()</h3>
140
<pre class="programlisting"><span class="returnvalue">GType</span> goa_object_manager_client_get_proxy_type
141
(<em class="parameter"><code><span class="type">GDBusObjectManagerClient</span> *manager</code></em>,
142
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
143
<em class="parameter"><code>const <span class="type">gchar</span> *interface_name</code></em>,
144
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
146
A <span class="type">GDBusProxyTypeFunc</span> that maps <em class="parameter"><code>interface_name</code></em> to the generated <span class="type">GDBusObjectProxy</span>- and <span class="type">GDBusProxy</span>-derived types.
148
<div class="variablelist"><table border="0" class="variablelist">
150
<col align="left" valign="top">
155
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
156
<td>A <span class="type">GDBusObjectManagerClient</span>.</td>
159
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
160
<td>The object path of the remote object (unused).</td>
163
<td><p><span class="term"><em class="parameter"><code>interface_name</code></em> :</span></p></td>
164
<td>Interface name of the remote object or <code class="literal">NULL</code> to get the object proxy <span class="type">GType</span>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
168
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
169
<td>User data (unused).</td>
172
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
173
<td>A <span class="type">GDBusProxy</span>-derived <span class="type">GType</span> if <em class="parameter"><code>interface_name</code></em> is not <code class="literal">NULL</code>, otherwise the <span class="type">GType</span> for <a class="link" href="GoaObject.html#GoaObjectProxy"><span class="type">GoaObjectProxy</span></a>.</td>
179
<div class="refsect2">
180
<a name="goa-object-manager-client-new"></a><h3>goa_object_manager_client_new ()</h3>
181
<pre class="programlisting"><span class="returnvalue">void</span> goa_object_manager_client_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
182
<em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
183
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
184
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
185
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
186
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
187
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
189
Asynchronously creates <span class="type">GDBusObjectManagerClient</span> using <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-get-proxy-type" title="goa_object_manager_client_get_proxy_type ()"><code class="function">goa_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>. See <code class="function">g_dbus_object_manager_client_new()</code> for more details.
192
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the thread-default main loop of the thread you are calling this method from.
193
You can then call <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-finish" title="goa_object_manager_client_new_finish ()"><code class="function">goa_object_manager_client_new_finish()</code></a> to get the result of the operation.
196
See <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-sync" title="goa_object_manager_client_new_sync ()"><code class="function">goa_object_manager_client_new_sync()</code></a> for the synchronous, blocking version of this constructor.
198
<div class="variablelist"><table border="0" class="variablelist">
200
<col align="left" valign="top">
205
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
206
<td>A <span class="type">GDBusConnection</span>.</td>
209
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
210
<td>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</td>
213
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
214
<td>A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
218
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
219
<td>An object path.</td>
222
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
223
<td>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
227
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
228
<td>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</td>
231
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
232
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
238
<div class="refsect2">
239
<a name="goa-object-manager-client-new-finish"></a><h3>goa_object_manager_client_new_finish ()</h3>
240
<pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> * goa_object_manager_client_new_finish
241
(<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
242
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
244
Finishes an operation started with <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()"><code class="function">goa_object_manager_client_new()</code></a>.
246
<div class="variablelist"><table border="0" class="variablelist">
248
<col align="left" valign="top">
253
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
254
<td>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()"><code class="function">goa_object_manager_client_new()</code></a>.</td>
257
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
258
<td>Return location for error or <code class="literal">NULL</code>
262
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
263
<td>The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaObjectManagerClient]</span>
270
<div class="refsect2">
271
<a name="goa-object-manager-client-new-for-bus"></a><h3>goa_object_manager_client_new_for_bus ()</h3>
272
<pre class="programlisting"><span class="returnvalue">void</span> goa_object_manager_client_new_for_bus
273
(<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
274
<em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
275
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
276
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
277
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
278
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
279
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
281
Like <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()"><code class="function">goa_object_manager_client_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.
284
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the thread-default main loop of the thread you are calling this method from.
285
You can then call <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus-finish" title="goa_object_manager_client_new_for_bus_finish ()"><code class="function">goa_object_manager_client_new_for_bus_finish()</code></a> to get the result of the operation.
288
See <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus-sync" title="goa_object_manager_client_new_for_bus_sync ()"><code class="function">goa_object_manager_client_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.
290
<div class="variablelist"><table border="0" class="variablelist">
292
<col align="left" valign="top">
297
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
298
<td>A <span class="type">GBusType</span>.</td>
301
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
302
<td>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</td>
305
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
306
<td>A bus name (well-known or unique).</td>
309
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
310
<td>An object path.</td>
313
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
314
<td>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
318
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
319
<td>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</td>
322
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
323
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
329
<div class="refsect2">
330
<a name="goa-object-manager-client-new-for-bus-finish"></a><h3>goa_object_manager_client_new_for_bus_finish ()</h3>
331
<pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> * goa_object_manager_client_new_for_bus_finish
332
(<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
333
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
335
Finishes an operation started with <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus" title="goa_object_manager_client_new_for_bus ()"><code class="function">goa_object_manager_client_new_for_bus()</code></a>.
337
<div class="variablelist"><table border="0" class="variablelist">
339
<col align="left" valign="top">
344
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
345
<td>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus" title="goa_object_manager_client_new_for_bus ()"><code class="function">goa_object_manager_client_new_for_bus()</code></a>.</td>
348
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
349
<td>Return location for error or <code class="literal">NULL</code>
353
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
354
<td>The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaObjectManagerClient]</span>
361
<div class="refsect2">
362
<a name="goa-object-manager-client-new-for-bus-sync"></a><h3>goa_object_manager_client_new_for_bus_sync ()</h3>
363
<pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> * goa_object_manager_client_new_for_bus_sync
364
(<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
365
<em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
366
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
367
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
368
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
369
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
371
Like <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-sync" title="goa_object_manager_client_new_sync ()"><code class="function">goa_object_manager_client_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.
374
The calling thread is blocked until a reply is received.
377
See <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new-for-bus" title="goa_object_manager_client_new_for_bus ()"><code class="function">goa_object_manager_client_new_for_bus()</code></a> for the asynchronous version of this constructor.
379
<div class="variablelist"><table border="0" class="variablelist">
381
<col align="left" valign="top">
386
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
387
<td>A <span class="type">GBusType</span>.</td>
390
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
391
<td>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</td>
394
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
395
<td>A bus name (well-known or unique).</td>
398
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
399
<td>An object path.</td>
402
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
403
<td>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
407
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
408
<td>Return location for error or <code class="literal">NULL</code>
412
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
413
<td>The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaObjectManagerClient]</span>
420
<div class="refsect2">
421
<a name="goa-object-manager-client-new-sync"></a><h3>goa_object_manager_client_new_sync ()</h3>
422
<pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> * goa_object_manager_client_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
423
<em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
424
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
425
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
426
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
427
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
429
Synchronously creates <span class="type">GDBusObjectManagerClient</span> using <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-get-proxy-type" title="goa_object_manager_client_get_proxy_type ()"><code class="function">goa_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>. See <code class="function">g_dbus_object_manager_client_new_sync()</code> for more details.
432
The calling thread is blocked until a reply is received.
435
See <a class="link" href="GoaObjectManagerClient.html#goa-object-manager-client-new" title="goa_object_manager_client_new ()"><code class="function">goa_object_manager_client_new()</code></a> for the asynchronous version of this constructor.
437
<div class="variablelist"><table border="0" class="variablelist">
439
<col align="left" valign="top">
444
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
445
<td>A <span class="type">GDBusConnection</span>.</td>
448
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
449
<td>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</td>
452
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
453
<td>A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
457
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
458
<td>An object path.</td>
461
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
462
<td>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
466
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
467
<td>Return location for error or <code class="literal">NULL</code>
471
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
472
<td>The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaObjectManagerClient]</span>
480
554
<div class="footer">
482
Generated by GTK-Doc V1.19</div>
556
Generated by GTK-Doc V1.20</div>
b'\\ No newline at end of file'