~ubuntu-branches/ubuntu/trusty/glibmm2.4/trusty

« back to all changes in this revision

Viewing changes to docs/reference/html/classGio_1_1DBus_1_1MethodInvocation.html

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-06-18 12:13:18 UTC
  • mfrom: (1.2.73)
  • Revision ID: package-import@ubuntu.com-20120618121318-88t4ppyo8lq7s4ph
Tags: 2.33.1-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglib2.0-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
 
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
5
<title>glibmm: Gio::DBus::MethodInvocation Class Reference</title>
7
6
 
8
7
<link href="tabs.css" rel="stylesheet" type="text/css"/>
23
22
  
24
23
  <td style="padding-left: 0.5em;">
25
24
   <div id="projectname">glibmm
26
 
   &#160;<span id="projectnumber">2.32.0</span>
 
25
   &#160;<span id="projectnumber">2.33.1</span>
27
26
   </div>
28
27
   
29
28
  </td>
35
34
</table>
36
35
</div>
37
36
 
38
 
<!-- Generated by Doxygen 1.7.6.1 -->
 
37
<!-- Generated by Doxygen 1.7.5 -->
39
38
  <div id="navrow1" class="tabs">
40
39
    <ul class="tablist">
41
40
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
68
67
<a href="#related">Related Functions</a> </div>
69
68
  <div class="headertitle">
70
69
<div class="title">Gio::DBus::MethodInvocation Class Reference<div class="ingroups"><a class="el" href="group__DBus.html">D-Bus API</a></div></div> </div>
71
 
</div><!--header-->
 
70
</div>
72
71
<div class="contents">
73
72
<!-- doxytag: class="Gio::DBus::MethodInvocation" --><!-- doxytag: inherits="Glib::Object" -->
74
73
<p>An <a class="el" href="classGio_1_1DBus_1_1Object.html" title="Object - Base type for D-Bus objects.">Object</a> for handling remote calls.  <a href="classGio_1_1DBus_1_1MethodInvocation.html#details">More...</a></p>
140
139
<div class="memproto">
141
140
      <table class="memname">
142
141
        <tr>
143
 
          <td class="memname">virtual <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a0c953c4b39385be7449b08479d6ddff2">Gio::DBus::MethodInvocation::~MethodInvocation</a> </td>
 
142
          <td class="memname">virtual Gio::DBus::MethodInvocation::~MethodInvocation </td>
144
143
          <td>(</td>
145
144
          <td class="paramname"></td><td>)</td>
146
145
          <td><code> [virtual]</code></td>
157
156
<div class="memproto">
158
157
      <table class="memname">
159
158
        <tr>
160
 
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Connection.html">Connection</a>&gt; <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a4030505610abdcd13811b0e6b6bf71f9">Gio::DBus::MethodInvocation::get_connection</a> </td>
 
159
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Connection.html">Connection</a>&gt; Gio::DBus::MethodInvocation::get_connection </td>
161
160
          <td>(</td>
162
161
          <td class="paramname"></td><td>)</td>
163
162
          <td></td>
177
176
<div class="memproto">
178
177
      <table class="memname">
179
178
        <tr>
180
 
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGio_1_1DBus_1_1Connection.html">Connection</a>&gt; <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a4030505610abdcd13811b0e6b6bf71f9">Gio::DBus::MethodInvocation::get_connection</a> </td>
 
179
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGio_1_1DBus_1_1Connection.html">Connection</a>&gt; Gio::DBus::MethodInvocation::get_connection </td>
181
180
          <td>(</td>
182
181
          <td class="paramname"></td><td>)</td>
183
182
          <td> const</td>
197
196
<div class="memproto">
198
197
      <table class="memname">
199
198
        <tr>
200
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a0e873c26948d8fcb0010bf3ac9f8ad5d">Gio::DBus::MethodInvocation::get_interface_name</a> </td>
 
199
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::DBus::MethodInvocation::get_interface_name </td>
201
200
          <td>(</td>
202
201
          <td class="paramname"></td><td>)</td>
203
202
          <td> const</td>
217
216
<div class="memproto">
218
217
      <table class="memname">
219
218
        <tr>
220
 
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Message.html">Message</a>&gt; <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#ac65a9d771a9ecb31ca93d0dbf26b3389">Gio::DBus::MethodInvocation::get_message</a> </td>
 
219
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Message.html">Message</a>&gt; Gio::DBus::MethodInvocation::get_message </td>
221
220
          <td>(</td>
222
221
          <td class="paramname"></td><td>)</td>
223
222
          <td></td>
239
238
<div class="memproto">
240
239
      <table class="memname">
241
240
        <tr>
242
 
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGio_1_1DBus_1_1Message.html">Message</a>&gt; <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#ac65a9d771a9ecb31ca93d0dbf26b3389">Gio::DBus::MethodInvocation::get_message</a> </td>
 
241
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGio_1_1DBus_1_1Message.html">Message</a>&gt; Gio::DBus::MethodInvocation::get_message </td>
243
242
          <td>(</td>
244
243
          <td class="paramname"></td><td>)</td>
245
244
          <td> const</td>
261
260
<div class="memproto">
262
261
      <table class="memname">
263
262
        <tr>
264
 
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGio_1_1DBus_1_1MethodInfo.html">MethodInfo</a>&gt; <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a01a5aa9c3ddfdc9ff25100fbee06ed74">Gio::DBus::MethodInvocation::get_method_info</a> </td>
 
263
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGio_1_1DBus_1_1MethodInfo.html">MethodInfo</a>&gt; Gio::DBus::MethodInvocation::get_method_info </td>
265
264
          <td>(</td>
266
265
          <td class="paramname"></td><td>)</td>
267
266
          <td> const</td>
281
280
<div class="memproto">
282
281
      <table class="memname">
283
282
        <tr>
284
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a93249b67ba41774673851388ea4f154f">Gio::DBus::MethodInvocation::get_method_name</a> </td>
 
283
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::DBus::MethodInvocation::get_method_name </td>
285
284
          <td>(</td>
286
285
          <td class="paramname"></td><td>)</td>
287
286
          <td> const</td>
301
300
<div class="memproto">
302
301
      <table class="memname">
303
302
        <tr>
304
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a1d11e61816a462cc24c2f9fda5d23fe3">Gio::DBus::MethodInvocation::get_object_path</a> </td>
 
303
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::DBus::MethodInvocation::get_object_path </td>
305
304
          <td>(</td>
306
305
          <td class="paramname"></td><td>)</td>
307
306
          <td> const</td>
321
320
<div class="memproto">
322
321
      <table class="memname">
323
322
        <tr>
324
 
          <td class="memname"><a class="el" href="classGlib_1_1VariantContainerBase.html">Glib::VariantContainerBase</a> <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a917a8c2e355a6a7647071979764f86c4">Gio::DBus::MethodInvocation::get_parameters</a> </td>
 
323
          <td class="memname"><a class="el" href="classGlib_1_1VariantContainerBase.html">Glib::VariantContainerBase</a> Gio::DBus::MethodInvocation::get_parameters </td>
325
324
          <td>(</td>
326
325
          <td class="paramname"></td><td>)</td>
327
326
          <td> const</td>
342
341
<div class="memproto">
343
342
      <table class="memname">
344
343
        <tr>
345
 
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a6c586cce63e858cb6998293640b6d357">Gio::DBus::MethodInvocation::get_sender</a> </td>
 
344
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::DBus::MethodInvocation::get_sender </td>
346
345
          <td>(</td>
347
346
          <td class="paramname"></td><td>)</td>
348
347
          <td> const</td>
362
361
<div class="memproto">
363
362
      <table class="memname">
364
363
        <tr>
365
 
          <td class="memname">GDBusMethodInvocation* <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a5170f94ecb1eea4b4bdfda7859683033">Gio::DBus::MethodInvocation::gobj</a> </td>
 
364
          <td class="memname">GDBusMethodInvocation* Gio::DBus::MethodInvocation::gobj </td>
366
365
          <td>(</td>
367
366
          <td class="paramname"></td><td>)</td>
368
367
          <td><code> [inline]</code></td>
382
381
<div class="memproto">
383
382
      <table class="memname">
384
383
        <tr>
385
 
          <td class="memname">const GDBusMethodInvocation* <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a5170f94ecb1eea4b4bdfda7859683033">Gio::DBus::MethodInvocation::gobj</a> </td>
 
384
          <td class="memname">const GDBusMethodInvocation* Gio::DBus::MethodInvocation::gobj </td>
386
385
          <td>(</td>
387
386
          <td class="paramname"></td><td>)</td>
388
387
          <td> const<code> [inline]</code></td>
402
401
<div class="memproto">
403
402
      <table class="memname">
404
403
        <tr>
405
 
          <td class="memname">GDBusMethodInvocation* <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a2b8b049e016e86c21f1a77613891d953">Gio::DBus::MethodInvocation::gobj_copy</a> </td>
 
404
          <td class="memname">GDBusMethodInvocation* Gio::DBus::MethodInvocation::gobj_copy </td>
406
405
          <td>(</td>
407
406
          <td class="paramname"></td><td>)</td>
408
407
          <td></td>
420
419
<div class="memproto">
421
420
      <table class="memname">
422
421
        <tr>
423
 
          <td class="memname">void <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a93574aa6f245792c9023dbd31b464a09">Gio::DBus::MethodInvocation::return_dbus_error</a> </td>
 
422
          <td class="memname">void Gio::DBus::MethodInvocation::return_dbus_error </td>
424
423
          <td>(</td>
425
424
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
426
425
          <td class="paramname"><em>error_name</em>, </td>
443
442
<p>Finishes handling a D-Bus method call by returning an error. </p>
444
443
<p>This method will free <em>invocation</em>, you cannot use it afterwards.</p>
445
444
<dl class="since_2_26"><dt><b><a class="el" href="since_2_26.html#_since_2_26000179">Since glibmm 2.26:</a></b></dt><dd></dd></dl>
446
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
445
<dl><dt><b>Parameters:</b></dt><dd>
447
446
  <table class="params">
448
447
    <tr><td class="paramname">error_name</td><td>A valid D-Bus error name. </td></tr>
449
448
    <tr><td class="paramname">error_message</td><td>A valid D-Bus error message. </td></tr>
458
457
<div class="memproto">
459
458
      <table class="memname">
460
459
        <tr>
461
 
          <td class="memname">void <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a3a8b3cc15c7a943d2af4d68b9ae6289d">Gio::DBus::MethodInvocation::return_error</a> </td>
 
460
          <td class="memname">void Gio::DBus::MethodInvocation::return_error </td>
462
461
          <td>(</td>
463
462
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
464
463
          <td class="paramname"><em>domain</em>, </td>
488
487
<p>This method is only available on UNIX.</p>
489
488
<p>This method will free <em>invocation</em>, you cannot use it afterwards.</p>
490
489
<dl class="since_2_30"><dt><b><a class="el" href="since_2_30.html#_since_2_30000011">Since glibmm 2.30:</a></b></dt><dd></dd></dl>
491
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
490
<dl><dt><b>Parameters:</b></dt><dd>
492
491
  <table class="params">
493
492
    <tr><td class="paramname">parameters</td><td>A Variant tuple with out parameters for the method or <code>0</code> if not passing any parameters. </td></tr>
494
493
    <tr><td class="paramname">fd_list</td><td>A <a class="el" href="classGio_1_1UnixFDList.html" title="UnixFDList - An object containing a set of UNIX file descriptors.">UnixFDList</a> or <code>0</code>. Like g_dbus_method_invocation_return_error() but without printf()-style formatting.</td></tr>
497
496
</dl>
498
497
<p>This method will free <em>invocation</em>, you cannot use it afterwards.</p>
499
498
<dl class="since_2_26"><dt><b><a class="el" href="since_2_26.html#_since_2_26000177">Since glibmm 2.26:</a></b></dt><dd></dd></dl>
500
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
499
<dl><dt><b>Parameters:</b></dt><dd>
501
500
  <table class="params">
502
501
    <tr><td class="paramname">domain</td><td>A Quark for the <a class="el" href="classGio_1_1DBus_1_1Error.html">Error</a> error domain. </td></tr>
503
502
    <tr><td class="paramname">code</td><td>The error code. </td></tr>
513
512
<div class="memproto">
514
513
      <table class="memname">
515
514
        <tr>
516
 
          <td class="memname">void <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a3a8b3cc15c7a943d2af4d68b9ae6289d">Gio::DBus::MethodInvocation::return_error</a> </td>
 
515
          <td class="memname">void Gio::DBus::MethodInvocation::return_error </td>
517
516
          <td>(</td>
518
517
          <td class="paramtype">const <a class="el" href="classGlib_1_1Error.html">Glib::Error</a>&amp;&#160;</td>
519
518
          <td class="paramname"><em>error</em></td><td>)</td>
534
533
<div class="memproto">
535
534
      <table class="memname">
536
535
        <tr>
537
 
          <td class="memname">void <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a2002577eaaaa2aaac68f8733ccb3fe70">Gio::DBus::MethodInvocation::return_value</a> </td>
 
536
          <td class="memname">void Gio::DBus::MethodInvocation::return_value </td>
538
537
          <td>(</td>
539
538
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantContainerBase.html">Glib::VariantContainerBase</a>&amp;&#160;</td>
540
539
          <td class="paramname"><em>parameters</em></td><td>)</td>
549
548
<p>It is an error if is not of the right format.</p>
550
549
<p>This method will free <em>invocation</em>, you cannot use it afterwards.</p>
551
550
<dl class="since_2_26"><dt><b><a class="el" href="since_2_26.html#_since_2_26000176">Since glibmm 2.26:</a></b></dt><dd></dd></dl>
552
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
551
<dl><dt><b>Parameters:</b></dt><dd>
553
552
  <table class="params">
554
553
    <tr><td class="paramname">parameters</td><td>A Variant tuple with out parameters for the method or <code>0</code> if not passing any parameters. </td></tr>
555
554
  </table>
564
563
<div class="memproto">
565
564
      <table class="memname">
566
565
        <tr>
567
 
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html">Gio::DBus::MethodInvocation</a> &gt; <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html#a4518a4ce2928aa3898bcbc56b8be7d65">wrap</a> </td>
 
566
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html">Gio::DBus::MethodInvocation</a> &gt; wrap </td>
568
567
          <td>(</td>
569
568
          <td class="paramtype">GDBusMethodInvocation *&#160;</td>
570
569
          <td class="paramname"><em>object</em>, </td>
585
584
<div class="memdoc">
586
585
 
587
586
<p>A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
588
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
587
<dl><dt><b>Parameters:</b></dt><dd>
589
588
  <table class="params">
590
589
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
591
590
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
596
595
 
597
596
</div>
598
597
</div>
599
 
</div><!-- contents -->
 
598
</div>
600
599
 
601
600
 
602
601
<hr class="footer"/><address class="footer"><small>
603
 
Generated on Tue Apr 10 2012 14:20:39 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
 
602
Generated on Tue Jun 12 2012 09:21:30 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
604
603
<img class="footer" src="doxygen.png" alt="doxygen"/>
605
 
</a> 1.7.6.1
 
604
</a> 1.7.5
606
605
</small></address>
607
606
 
608
607
</body>