1.2.1
by Mathieu Trudel-Lapierre
Import upstream version 0.7.991 |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|
5 |
<title>MmGdbusModemCdmaProxy</title> |
|
6 |
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> |
|
7 |
<link rel="home" href="index.html" title="libmm-glib Reference Manual"> |
|
8 |
<link rel="up" href="pt02.html" title="Part II. Low level API"> |
|
9 |
<link rel="prev" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"> |
|
10 |
<link rel="next" href="MmGdbusModemCdmaSkeleton.html" title="MmGdbusModemCdmaSkeleton"> |
|
1.2.3
by Michael Biebl
Import upstream version 1.2.0 |
11 |
<meta name="generator" content="GTK-Doc V1.19 (XML mode)"> |
1.2.1
by Mathieu Trudel-Lapierre
Import upstream version 0.7.991 |
12 |
<link rel="stylesheet" href="style.css" type="text/css"> |
13 |
</head> |
|
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"> |
|
16 |
<tr valign="middle"> |
|
17 |
<td><a accesskey="p" href="MmGdbusModemCdma.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> |
|
18 |
<td><a accesskey="u" href="pt02.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">libmm-glib Reference Manual</th> |
|
21 |
<td><a accesskey="n" href="MmGdbusModemCdmaSkeleton.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="#MmGdbusModemCdmaProxy.synopsis" class="shortcut">Top</a> |
|
25 |
| |
|
26 |
<a href="#MmGdbusModemCdmaProxy.description" class="shortcut">Description</a> |
|
27 |
| |
|
28 |
<a href="#MmGdbusModemCdmaProxy.object-hierarchy" class="shortcut">Object Hierarchy</a> |
|
29 |
| |
|
30 |
<a href="#MmGdbusModemCdmaProxy.implemented-interfaces" class="shortcut">Implemented Interfaces</a> |
|
31 |
</td></tr> |
|
32 |
</table> |
|
33 |
<div class="refentry"> |
|
34 |
<a name="MmGdbusModemCdmaProxy"></a><div class="titlepage"></div> |
|
35 |
<div class="refnamediv"><table width="100%"><tr> |
|
36 |
<td valign="top"> |
|
37 |
<h2><span class="refentrytitle"><a name="MmGdbusModemCdmaProxy.top_of_page"></a>MmGdbusModemCdmaProxy</span></h2> |
|
38 |
<p>MmGdbusModemCdmaProxy</p> |
|
39 |
</td> |
|
40 |
<td valign="top" align="right"></td> |
|
41 |
</tr></table></div> |
|
42 |
<div class="refsynopsisdiv"> |
|
43 |
<a name="MmGdbusModemCdmaProxy.synopsis"></a><h2>Synopsis</h2> |
|
44 |
<pre class="synopsis">struct <a class="link" href="MmGdbusModemCdmaProxy.html#MmGdbusModemCdmaProxy-struct" title="struct MmGdbusModemCdmaProxy">MmGdbusModemCdmaProxy</a>; |
|
45 |
||
46 |
<span class="returnvalue">void</span> <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new" title="mm_gdbus_modem_cdma_proxy_new ()">mm_gdbus_modem_cdma_proxy_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>, |
|
47 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>, |
|
48 |
<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>, |
|
49 |
<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>, |
|
50 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
51 |
<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>, |
|
52 |
<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>); |
|
53 |
<a class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"><span class="returnvalue">MmGdbusModemCdma</span></a> * <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-finish" title="mm_gdbus_modem_cdma_proxy_new_finish ()">mm_gdbus_modem_cdma_proxy_new_finish</a> |
|
54 |
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>, |
|
55 |
<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>); |
|
56 |
<span class="returnvalue">void</span> <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-for-bus" title="mm_gdbus_modem_cdma_proxy_new_for_bus ()">mm_gdbus_modem_cdma_proxy_new_for_bus</a> |
|
57 |
(<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>, |
|
58 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>, |
|
59 |
<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>, |
|
60 |
<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>, |
|
61 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
62 |
<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>, |
|
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 |
<a class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"><span class="returnvalue">MmGdbusModemCdma</span></a> * <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-for-bus-finish" title="mm_gdbus_modem_cdma_proxy_new_for_bus_finish ()">mm_gdbus_modem_cdma_proxy_new_for_bus_finish</a> |
|
65 |
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>, |
|
66 |
<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>); |
|
67 |
<a class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"><span class="returnvalue">MmGdbusModemCdma</span></a> * <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-for-bus-sync" title="mm_gdbus_modem_cdma_proxy_new_for_bus_sync ()">mm_gdbus_modem_cdma_proxy_new_for_bus_sync</a> |
|
68 |
(<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>, |
|
69 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>, |
|
70 |
<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>, |
|
71 |
<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>, |
|
72 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
73 |
<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>); |
|
74 |
<a class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"><span class="returnvalue">MmGdbusModemCdma</span></a> * <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-sync" title="mm_gdbus_modem_cdma_proxy_new_sync ()">mm_gdbus_modem_cdma_proxy_new_sync</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>, |
|
75 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>, |
|
76 |
<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>, |
|
77 |
<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>, |
|
78 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
79 |
<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>); |
|
80 |
</pre> |
|
81 |
</div> |
|
82 |
<div class="refsect1"> |
|
83 |
<a name="MmGdbusModemCdmaProxy.object-hierarchy"></a><h2>Object Hierarchy</h2> |
|
84 |
<pre class="synopsis"> |
|
85 |
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> |
|
86 |
+----<a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html">GDBusProxy</a> |
|
87 |
+----MmGdbusModemCdmaProxy |
|
88 |
+----<a class="link" href="MMModemCdma.html" title="MMModemCdma">MMModemCdma</a> |
|
89 |
</pre> |
|
90 |
</div> |
|
91 |
<div class="refsect1"> |
|
92 |
<a name="MmGdbusModemCdmaProxy.implemented-interfaces"></a><h2>Implemented Interfaces</h2> |
|
93 |
<p> |
|
94 |
MmGdbusModemCdmaProxy implements |
|
95 |
<a href="http://library.gnome.org/devel/gio/unstable/GDBusInterface.html">GDBusInterface</a>, <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 class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma">MmGdbusModemCdma</a>.</p> |
|
96 |
</div> |
|
97 |
<div class="refsect1"> |
|
98 |
<a name="MmGdbusModemCdmaProxy.description"></a><h2>Description</h2> |
|
99 |
<p> |
|
100 |
</p> |
|
101 |
</div> |
|
102 |
<div class="refsect1"> |
|
103 |
<a name="MmGdbusModemCdmaProxy.details"></a><h2>Details</h2> |
|
104 |
<div class="refsect2"> |
|
105 |
<a name="MmGdbusModemCdmaProxy-struct"></a><h3>struct MmGdbusModemCdmaProxy</h3> |
|
106 |
<pre class="programlisting">struct MmGdbusModemCdmaProxy;</pre> |
|
107 |
<p> |
|
108 |
The <a class="link" href="MmGdbusModemCdmaProxy.html" title="MmGdbusModemCdmaProxy"><span class="type">MmGdbusModemCdmaProxy</span></a> structure contains only private data and should only be accessed using the provided API. |
|
109 |
</p> |
|
110 |
</div> |
|
111 |
<hr> |
|
112 |
<div class="refsect2"> |
|
113 |
<a name="mm-gdbus-modem-cdma-proxy-new"></a><h3>mm_gdbus_modem_cdma_proxy_new ()</h3> |
|
114 |
<pre class="programlisting"><span class="returnvalue">void</span> mm_gdbus_modem_cdma_proxy_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>, |
|
115 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>, |
|
116 |
<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>, |
|
117 |
<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>, |
|
118 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
119 |
<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>, |
|
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>);</pre> |
|
121 |
<p> |
|
122 |
Asynchronously creates a proxy for the D-Bus interface org.freedesktop.ModemManager1.Modem.ModemCdma. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new"><code class="function">g_dbus_proxy_new()</code></a> for more details. |
|
123 |
</p> |
|
124 |
<p> |
|
125 |
When the operation is finished, <em class="parameter"><code>callback</code></em> 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. |
|
126 |
You can then call <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-finish" title="mm_gdbus_modem_cdma_proxy_new_finish ()"><code class="function">mm_gdbus_modem_cdma_proxy_new_finish()</code></a> to get the result of the operation. |
|
127 |
</p> |
|
128 |
<p> |
|
129 |
See <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-sync" title="mm_gdbus_modem_cdma_proxy_new_sync ()"><code class="function">mm_gdbus_modem_cdma_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor. |
|
130 |
</p> |
|
131 |
<div class="variablelist"><table border="0" class="variablelist"> |
|
132 |
<colgroup> |
|
133 |
<col align="left" valign="top"> |
|
134 |
<col> |
|
135 |
</colgroup> |
|
136 |
<tbody> |
|
137 |
<tr> |
|
138 |
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td> |
|
139 |
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td> |
|
140 |
</tr> |
|
141 |
<tr> |
|
142 |
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
|
143 |
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td> |
|
144 |
</tr> |
|
145 |
<tr> |
|
146 |
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> |
|
147 |
<td>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> 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> |
|
148 |
</td> |
|
149 |
</tr> |
|
150 |
<tr> |
|
151 |
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td> |
|
152 |
<td>An object path.</td> |
|
153 |
</tr> |
|
154 |
<tr> |
|
155 |
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td> |
|
156 |
<td>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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> |
|
157 |
</td> |
|
158 |
</tr> |
|
159 |
<tr> |
|
160 |
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td> |
|
161 |
<td>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.</td> |
|
162 |
</tr> |
|
163 |
<tr> |
|
164 |
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
|
165 |
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td> |
|
166 |
</tr> |
|
167 |
</tbody> |
|
168 |
</table></div> |
|
169 |
</div> |
|
170 |
<hr> |
|
171 |
<div class="refsect2"> |
|
172 |
<a name="mm-gdbus-modem-cdma-proxy-new-finish"></a><h3>mm_gdbus_modem_cdma_proxy_new_finish ()</h3> |
|
173 |
<pre class="programlisting"><a class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"><span class="returnvalue">MmGdbusModemCdma</span></a> * mm_gdbus_modem_cdma_proxy_new_finish |
|
174 |
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>, |
|
175 |
<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> |
|
176 |
<p> |
|
177 |
Finishes an operation started with <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new" title="mm_gdbus_modem_cdma_proxy_new ()"><code class="function">mm_gdbus_modem_cdma_proxy_new()</code></a>. |
|
178 |
</p> |
|
179 |
<div class="variablelist"><table border="0" class="variablelist"> |
|
180 |
<colgroup> |
|
181 |
<col align="left" valign="top"> |
|
182 |
<col> |
|
183 |
</colgroup> |
|
184 |
<tbody> |
|
185 |
<tr> |
|
186 |
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td> |
|
187 |
<td>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="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new" title="mm_gdbus_modem_cdma_proxy_new ()"><code class="function">mm_gdbus_modem_cdma_proxy_new()</code></a>.</td> |
|
188 |
</tr> |
|
189 |
<tr> |
|
190 |
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> |
|
191 |
<td>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> |
|
192 |
</td> |
|
193 |
</tr> |
|
194 |
<tr> |
|
195 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
196 |
<td>The constructed proxy object 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> 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> MmGdbusModemCdmaProxy]</span> |
|
197 |
</td> |
|
198 |
</tr> |
|
199 |
</tbody> |
|
200 |
</table></div> |
|
201 |
</div> |
|
202 |
<hr> |
|
203 |
<div class="refsect2"> |
|
204 |
<a name="mm-gdbus-modem-cdma-proxy-new-for-bus"></a><h3>mm_gdbus_modem_cdma_proxy_new_for_bus ()</h3> |
|
205 |
<pre class="programlisting"><span class="returnvalue">void</span> mm_gdbus_modem_cdma_proxy_new_for_bus |
|
206 |
(<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>, |
|
207 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>, |
|
208 |
<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>, |
|
209 |
<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>, |
|
210 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
211 |
<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>, |
|
212 |
<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> |
|
213 |
<p> |
|
214 |
Like <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new" title="mm_gdbus_modem_cdma_proxy_new ()"><code class="function">mm_gdbus_modem_cdma_proxy_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>. |
|
215 |
</p> |
|
216 |
<p> |
|
217 |
When the operation is finished, <em class="parameter"><code>callback</code></em> 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. |
|
218 |
You can then call <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-for-bus-finish" title="mm_gdbus_modem_cdma_proxy_new_for_bus_finish ()"><code class="function">mm_gdbus_modem_cdma_proxy_new_for_bus_finish()</code></a> to get the result of the operation. |
|
219 |
</p> |
|
220 |
<p> |
|
221 |
See <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-for-bus-sync" title="mm_gdbus_modem_cdma_proxy_new_for_bus_sync ()"><code class="function">mm_gdbus_modem_cdma_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor. |
|
222 |
</p> |
|
223 |
<div class="variablelist"><table border="0" class="variablelist"> |
|
224 |
<colgroup> |
|
225 |
<col align="left" valign="top"> |
|
226 |
<col> |
|
227 |
</colgroup> |
|
228 |
<tbody> |
|
229 |
<tr> |
|
230 |
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td> |
|
231 |
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</td> |
|
232 |
</tr> |
|
233 |
<tr> |
|
234 |
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
|
235 |
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td> |
|
236 |
</tr> |
|
237 |
<tr> |
|
238 |
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> |
|
239 |
<td>A bus name (well-known or unique).</td> |
|
240 |
</tr> |
|
241 |
<tr> |
|
242 |
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td> |
|
243 |
<td>An object path.</td> |
|
244 |
</tr> |
|
245 |
<tr> |
|
246 |
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td> |
|
247 |
<td>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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> |
|
248 |
</td> |
|
249 |
</tr> |
|
250 |
<tr> |
|
251 |
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td> |
|
252 |
<td>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.</td> |
|
253 |
</tr> |
|
254 |
<tr> |
|
255 |
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
|
256 |
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td> |
|
257 |
</tr> |
|
258 |
</tbody> |
|
259 |
</table></div> |
|
260 |
</div> |
|
261 |
<hr> |
|
262 |
<div class="refsect2"> |
|
263 |
<a name="mm-gdbus-modem-cdma-proxy-new-for-bus-finish"></a><h3>mm_gdbus_modem_cdma_proxy_new_for_bus_finish ()</h3> |
|
264 |
<pre class="programlisting"><a class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"><span class="returnvalue">MmGdbusModemCdma</span></a> * mm_gdbus_modem_cdma_proxy_new_for_bus_finish |
|
265 |
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>, |
|
266 |
<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> |
|
267 |
<p> |
|
268 |
Finishes an operation started with <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-for-bus" title="mm_gdbus_modem_cdma_proxy_new_for_bus ()"><code class="function">mm_gdbus_modem_cdma_proxy_new_for_bus()</code></a>. |
|
269 |
</p> |
|
270 |
<div class="variablelist"><table border="0" class="variablelist"> |
|
271 |
<colgroup> |
|
272 |
<col align="left" valign="top"> |
|
273 |
<col> |
|
274 |
</colgroup> |
|
275 |
<tbody> |
|
276 |
<tr> |
|
277 |
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td> |
|
278 |
<td>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="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-for-bus" title="mm_gdbus_modem_cdma_proxy_new_for_bus ()"><code class="function">mm_gdbus_modem_cdma_proxy_new_for_bus()</code></a>.</td> |
|
279 |
</tr> |
|
280 |
<tr> |
|
281 |
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> |
|
282 |
<td>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> |
|
283 |
</td> |
|
284 |
</tr> |
|
285 |
<tr> |
|
286 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
287 |
<td>The constructed proxy object 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> 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> MmGdbusModemCdmaProxy]</span> |
|
288 |
</td> |
|
289 |
</tr> |
|
290 |
</tbody> |
|
291 |
</table></div> |
|
292 |
</div> |
|
293 |
<hr> |
|
294 |
<div class="refsect2"> |
|
295 |
<a name="mm-gdbus-modem-cdma-proxy-new-for-bus-sync"></a><h3>mm_gdbus_modem_cdma_proxy_new_for_bus_sync ()</h3> |
|
296 |
<pre class="programlisting"><a class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"><span class="returnvalue">MmGdbusModemCdma</span></a> * mm_gdbus_modem_cdma_proxy_new_for_bus_sync |
|
297 |
(<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>, |
|
298 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</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> *name</code></em>, |
|
300 |
<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>, |
|
301 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
302 |
<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> |
|
303 |
<p> |
|
304 |
Like <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-sync" title="mm_gdbus_modem_cdma_proxy_new_sync ()"><code class="function">mm_gdbus_modem_cdma_proxy_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>. |
|
305 |
</p> |
|
306 |
<p> |
|
307 |
The calling thread is blocked until a reply is received. |
|
308 |
</p> |
|
309 |
<p> |
|
310 |
See <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new-for-bus" title="mm_gdbus_modem_cdma_proxy_new_for_bus ()"><code class="function">mm_gdbus_modem_cdma_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor. |
|
311 |
</p> |
|
312 |
<div class="variablelist"><table border="0" class="variablelist"> |
|
313 |
<colgroup> |
|
314 |
<col align="left" valign="top"> |
|
315 |
<col> |
|
316 |
</colgroup> |
|
317 |
<tbody> |
|
318 |
<tr> |
|
319 |
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td> |
|
320 |
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</td> |
|
321 |
</tr> |
|
322 |
<tr> |
|
323 |
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
|
324 |
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td> |
|
325 |
</tr> |
|
326 |
<tr> |
|
327 |
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> |
|
328 |
<td>A bus name (well-known or unique).</td> |
|
329 |
</tr> |
|
330 |
<tr> |
|
331 |
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td> |
|
332 |
<td>An object path.</td> |
|
333 |
</tr> |
|
334 |
<tr> |
|
335 |
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td> |
|
336 |
<td>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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> |
|
337 |
</td> |
|
338 |
</tr> |
|
339 |
<tr> |
|
340 |
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> |
|
341 |
<td>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> |
|
342 |
</td> |
|
343 |
</tr> |
|
344 |
<tr> |
|
345 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
346 |
<td>The constructed proxy object 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> 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> MmGdbusModemCdmaProxy]</span> |
|
347 |
</td> |
|
348 |
</tr> |
|
349 |
</tbody> |
|
350 |
</table></div> |
|
351 |
</div> |
|
352 |
<hr> |
|
353 |
<div class="refsect2"> |
|
354 |
<a name="mm-gdbus-modem-cdma-proxy-new-sync"></a><h3>mm_gdbus_modem_cdma_proxy_new_sync ()</h3> |
|
355 |
<pre class="programlisting"><a class="link" href="MmGdbusModemCdma.html" title="MmGdbusModemCdma"><span class="returnvalue">MmGdbusModemCdma</span></a> * mm_gdbus_modem_cdma_proxy_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>, |
|
356 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>, |
|
357 |
<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>, |
|
358 |
<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>, |
|
359 |
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
360 |
<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> |
|
361 |
<p> |
|
362 |
Synchronously creates a proxy for the D-Bus interface org.freedesktop.ModemManager1.Modem.ModemCdma. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new-sync"><code class="function">g_dbus_proxy_new_sync()</code></a> for more details. |
|
363 |
</p> |
|
364 |
<p> |
|
365 |
The calling thread is blocked until a reply is received. |
|
366 |
</p> |
|
367 |
<p> |
|
368 |
See <a class="link" href="MmGdbusModemCdmaProxy.html#mm-gdbus-modem-cdma-proxy-new" title="mm_gdbus_modem_cdma_proxy_new ()"><code class="function">mm_gdbus_modem_cdma_proxy_new()</code></a> for the asynchronous version of this constructor. |
|
369 |
</p> |
|
370 |
<div class="variablelist"><table border="0" class="variablelist"> |
|
371 |
<colgroup> |
|
372 |
<col align="left" valign="top"> |
|
373 |
<col> |
|
374 |
</colgroup> |
|
375 |
<tbody> |
|
376 |
<tr> |
|
377 |
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td> |
|
378 |
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td> |
|
379 |
</tr> |
|
380 |
<tr> |
|
381 |
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> |
|
382 |
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td> |
|
383 |
</tr> |
|
384 |
<tr> |
|
385 |
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> |
|
386 |
<td>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> 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> |
|
387 |
</td> |
|
388 |
</tr> |
|
389 |
<tr> |
|
390 |
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td> |
|
391 |
<td>An object path.</td> |
|
392 |
</tr> |
|
393 |
<tr> |
|
394 |
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td> |
|
395 |
<td>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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> |
|
396 |
</td> |
|
397 |
</tr> |
|
398 |
<tr> |
|
399 |
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> |
|
400 |
<td>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> |
|
401 |
</td> |
|
402 |
</tr> |
|
403 |
<tr> |
|
404 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
405 |
<td>The constructed proxy object 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> 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> MmGdbusModemCdmaProxy]</span> |
|
406 |
</td> |
|
407 |
</tr> |
|
408 |
</tbody> |
|
409 |
</table></div> |
|
410 |
</div> |
|
411 |
</div> |
|
412 |
</div> |
|
413 |
<div class="footer"> |
|
414 |
<hr> |
|
1.2.3
by Michael Biebl
Import upstream version 1.2.0 |
415 |
Generated by GTK-Doc V1.19</div> |
1.2.1
by Mathieu Trudel-Lapierre
Import upstream version 0.7.991 |
416 |
</body> |
417 |
</html> |