File: group__DBus.html

package info (click to toggle)
glibmm2.4 2.42.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 53,308 kB
  • ctags: 14,868
  • sloc: xml: 108,462; cpp: 15,282; sh: 11,421; perl: 5,139; python: 1,626; makefile: 304
file content (1062 lines) | stat: -rw-r--r-- 90,369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>glibmm: D-Bus API</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">glibmm
   &#160;<span id="projectnumber">2.42.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">D-Bus API</div>  </div>
</div><!--header-->
<div class="contents">

<p>API to use D-Bus services as a client or to implement a D-Bus service.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1AuthObserver.html">Gio::DBus::AuthObserver</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGio_1_1DBus_1_1AuthObserver.html" title="AuthObserver - An object used for authenticating connections. ">AuthObserver</a> - An object used for authenticating connections.  <a href="classGio_1_1DBus_1_1AuthObserver.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A D-Bus <a class="el" href="classGio_1_1DBus_1_1Connection.html" title="A D-Bus Connection. ">Connection</a>.  <a href="classGio_1_1DBus_1_1Connection.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1InterfaceVTable.html">Gio::DBus::InterfaceVTable</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This represents a virtual table for handling properties and method calls for a D-Bus interface.  <a href="classGio_1_1DBus_1_1InterfaceVTable.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1AnnotationInfo.html">Gio::DBus::AnnotationInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores information about an annotation.  <a href="classGio_1_1DBus_1_1AnnotationInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1ArgInfo.html">Gio::DBus::ArgInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGio_1_1DBus_1_1ArgInfo.html" title="ArgInfo - Stores information about an argument for a method or a signal. ">ArgInfo</a> - Stores information about an argument for a method or a signal.  <a href="classGio_1_1DBus_1_1ArgInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInfo.html">Gio::DBus::MethodInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores information about a method on an D-Bus interface.  <a href="classGio_1_1DBus_1_1MethodInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1SignalInfo.html">Gio::DBus::SignalInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores information about a signal on a D-Bus interface.  <a href="classGio_1_1DBus_1_1SignalInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1PropertyInfo.html">Gio::DBus::PropertyInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores information about a property on a D-Bus interface.  <a href="classGio_1_1DBus_1_1PropertyInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1InterfaceInfo.html">Gio::DBus::InterfaceInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores information about a D-Bus interface.  <a href="classGio_1_1DBus_1_1InterfaceInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1NodeInfo.html">Gio::DBus::NodeInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGio_1_1DBus_1_1NodeInfo.html" title="NodeInfo - Stores information about nodes in a remote object hierarchy. ">NodeInfo</a> - Stores information about nodes in a remote object hierarchy.  <a href="classGio_1_1DBus_1_1NodeInfo.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1Message.html">Gio::DBus::Message</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A type for representing D-Bus messages that can be sent or received on a <a class="el" href="classGio_1_1DBus_1_1Connection.html" title="A D-Bus Connection. ">Connection</a>.  <a href="classGio_1_1DBus_1_1Message.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1MethodInvocation.html">Gio::DBus::MethodInvocation</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">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><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1Proxy.html">Gio::DBus::Proxy</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A client-side proxy.  <a href="classGio_1_1DBus_1_1Proxy.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1Server.html">Gio::DBus::Server</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a helper for listening to and accepting D-Bus connections.  <a href="classGio_1_1DBus_1_1Server.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1DBus_1_1SubtreeVTable.html">Gio::DBus::SubtreeVTable</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This represents a virtual table for subtrees registered with <a class="el" href="classGio_1_1DBus_1_1Connection.html#ade98c63ff3e2ce7906ca4a2f63849e07" title="Registers a whole subtree of “dynamic” objects. ">Gio::DBus::Connection::register_subtree()</a>.  <a href="classGio_1_1DBus_1_1SubtreeVTable.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga92ddf71b4fad230b88f53f0bd51cf9ce"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" />
&lt; <a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a> &gt;<br class="typebreak" />
&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga92ddf71b4fad230b88f53f0bd51cf9ce">Gio::DBus::SlotBusAcquired</a></td></tr>
<tr class="memdesc:ga92ddf71b4fad230b88f53f0bd51cf9ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, void on_bus_acquired(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name);.  <a href="#ga92ddf71b4fad230b88f53f0bd51cf9ce">More...</a><br /></td></tr>
<tr class="separator:ga92ddf71b4fad230b88f53f0bd51cf9ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa9752b9e34e82802372d543be19e835d"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" />
&lt; <a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a> &gt;<br class="typebreak" />
&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gaa9752b9e34e82802372d543be19e835d">Gio::DBus::SlotNameAcquired</a></td></tr>
<tr class="memdesc:gaa9752b9e34e82802372d543be19e835d"><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, void on_name_acquired(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name);.  <a href="#gaa9752b9e34e82802372d543be19e835d">More...</a><br /></td></tr>
<tr class="separator:gaa9752b9e34e82802372d543be19e835d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6191db7ad78e8398c1193b9e78b9a9e8"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" />
&lt; <a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a> &gt;<br class="typebreak" />
&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga6191db7ad78e8398c1193b9e78b9a9e8">Gio::DBus::SlotNameLost</a></td></tr>
<tr class="memdesc:ga6191db7ad78e8398c1193b9e78b9a9e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, void on_name_lost(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name);.  <a href="#ga6191db7ad78e8398c1193b9e78b9a9e8">More...</a><br /></td></tr>
<tr class="separator:ga6191db7ad78e8398c1193b9e78b9a9e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga86bd32cfdf2b9f3ef20ed287c8fc58b7"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" />
&lt; <a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a> &gt;<br class="typebreak" />
&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>, const <br class="typebreak" />
<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga86bd32cfdf2b9f3ef20ed287c8fc58b7">Gio::DBus::SlotNameAppeared</a></td></tr>
<tr class="memdesc:ga86bd32cfdf2b9f3ef20ed287c8fc58b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, void on_name_appeared(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name_owner);.  <a href="#ga86bd32cfdf2b9f3ef20ed287c8fc58b7">More...</a><br /></td></tr>
<tr class="separator:ga86bd32cfdf2b9f3ef20ed287c8fc58b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb9a09c6a42e777238421f74c82a631b"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" />
&lt; <a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a> &gt;<br class="typebreak" />
&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gadb9a09c6a42e777238421f74c82a631b">Gio::DBus::SlotNameVanished</a></td></tr>
<tr class="memdesc:gadb9a09c6a42e777238421f74c82a631b"><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, void on_name_vanished(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name);.  <a href="#gadb9a09c6a42e777238421f74c82a631b">More...</a><br /></td></tr>
<tr class="separator:gadb9a09c6a42e777238421f74c82a631b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gab2c056ac3cce34b4a58df19166d48fae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gab2c056ac3cce34b4a58df19166d48fae">Gio::DBus::Address::is_address</a> (const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp;<a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">string</a>)</td></tr>
<tr class="memdesc:gab2c056ac3cce34b4a58df19166d48fae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>string</em> is a D-Bus address.  <a href="#gab2c056ac3cce34b4a58df19166d48fae">More...</a><br /></td></tr>
<tr class="separator:gab2c056ac3cce34b4a58df19166d48fae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f8d4a3d5bda1d3fcc4f4f3c8cc0c214"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga2f8d4a3d5bda1d3fcc4f4f3c8cc0c214">Gio::DBus::Address::is_supported</a> (const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; address)</td></tr>
<tr class="memdesc:ga2f8d4a3d5bda1d3fcc4f4f3c8cc0c214"><td class="mdescLeft">&#160;</td><td class="mdescRight">Like <a class="el" href="group__DBus.html#gab2c056ac3cce34b4a58df19166d48fae" title="Checks if string is a D-Bus address. ">is_address()</a> but also checks if the library supports the transports in <em>address</em> and that key/value pairs for each transport are valid.  <a href="#ga2f8d4a3d5bda1d3fcc4f4f3c8cc0c214">More...</a><br /></td></tr>
<tr class="separator:ga2f8d4a3d5bda1d3fcc4f4f3c8cc0c214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d53e540686789c834cef9a3ac447bf4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4">Gio::DBus::Address::get_stream</a> (const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; address, const SlotAsyncReady slot, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Cancellable &gt;&amp; cancellable)</td></tr>
<tr class="memdesc:ga2d53e540686789c834cef9a3ac447bf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Asynchronously connects to an endpoint specified by <em>address</em> and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation.  <a href="#ga2d53e540686789c834cef9a3ac447bf4">More...</a><br /></td></tr>
<tr class="separator:ga2d53e540686789c834cef9a3ac447bf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8fa5586dec918dfa553dab97f0f8e342"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; IOStream &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga8fa5586dec918dfa553dab97f0f8e342">Gio::DBus::Address::get_stream_finish</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; AsyncResult &gt;&amp; res, <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; out_guid)</td></tr>
<tr class="memdesc:ga8fa5586dec918dfa553dab97f0f8e342"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes an operation started with <a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4" title="Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a ...">get_stream()</a>.  <a href="#ga8fa5586dec918dfa553dab97f0f8e342">More...</a><br /></td></tr>
<tr class="separator:ga8fa5586dec918dfa553dab97f0f8e342"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7da9ac3910fa800a6a42b2667b1a0135"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; IOStream &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga7da9ac3910fa800a6a42b2667b1a0135">Gio::DBus::Address::get_stream_finish</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; AsyncResult &gt;&amp; res)</td></tr>
<tr class="memdesc:ga7da9ac3910fa800a6a42b2667b1a0135"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes an operation started with <a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4" title="Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a ...">get_stream()</a>.  <a href="#ga7da9ac3910fa800a6a42b2667b1a0135">More...</a><br /></td></tr>
<tr class="separator:ga7da9ac3910fa800a6a42b2667b1a0135"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga95b08ddb9dedf51b585fa7a5da4f4233"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; IOStream &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga95b08ddb9dedf51b585fa7a5da4f4233">Gio::DBus::Address::get_stream_sync</a> (const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; address, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Cancellable &gt;&amp; cancellable, <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; out_guid)</td></tr>
<tr class="memdesc:ga95b08ddb9dedf51b585fa7a5da4f4233"><td class="mdescLeft">&#160;</td><td class="mdescRight">Synchronously connects to an endpoint specified by <em>address</em> and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation.  <a href="#ga95b08ddb9dedf51b585fa7a5da4f4233">More...</a><br /></td></tr>
<tr class="separator:ga95b08ddb9dedf51b585fa7a5da4f4233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec661c3dff45b4a5626b9dc1bc586b3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; IOStream &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gaec661c3dff45b4a5626b9dc1bc586b3d">Gio::DBus::Address::get_stream_sync</a> (const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; address, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Cancellable &gt;&amp; cancellable)</td></tr>
<tr class="memdesc:gaec661c3dff45b4a5626b9dc1bc586b3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Synchronously connects to an endpoint specified by <em>address</em> and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation.  <a href="#gaec661c3dff45b4a5626b9dc1bc586b3d">More...</a><br /></td></tr>
<tr class="separator:gaec661c3dff45b4a5626b9dc1bc586b3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3acef7d113b30124fe11e88c2d2a60a4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga3acef7d113b30124fe11e88c2d2a60a4">Gio::DBus::Address::get_for_bus_sync</a> (BusType bus_type, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Cancellable &gt;&amp; cancellable)</td></tr>
<tr class="memdesc:ga3acef7d113b30124fe11e88c2d2a60a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Synchronously looks up the D-Bus address for the well-known message bus instance specified by <em>bus_type</em>.  <a href="#ga3acef7d113b30124fe11e88c2d2a60a4">More...</a><br /></td></tr>
<tr class="separator:ga3acef7d113b30124fe11e88c2d2a60a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b6d40f35340690128b06b289388d120"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga2b6d40f35340690128b06b289388d120">Gio::DBus::ErrorUtils::is_remote_error</a> (const <a class="el" href="classGlib_1_1Error.html">Glib::Error</a>&amp; error)</td></tr>
<tr class="memdesc:ga2b6d40f35340690128b06b289388d120"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>error</em> represents an error received via D-Bus from a remote peer.  <a href="#ga2b6d40f35340690128b06b289388d120">More...</a><br /></td></tr>
<tr class="separator:ga2b6d40f35340690128b06b289388d120"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94461b5c18260b017f3404d82ad5321a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga94461b5c18260b017f3404d82ad5321a">Gio::DBus::ErrorUtils::get_remote_error</a> (const <a class="el" href="classGlib_1_1Error.html">Glib::Error</a>&amp; error)</td></tr>
<tr class="memdesc:ga94461b5c18260b017f3404d82ad5321a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the D-Bus error name used for <em>error</em>, if any.  <a href="#ga94461b5c18260b017f3404d82ad5321a">More...</a><br /></td></tr>
<tr class="separator:ga94461b5c18260b017f3404d82ad5321a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f38119e0765fd1654363fcdee6e4c76"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga2f38119e0765fd1654363fcdee6e4c76">Gio::DBus::ErrorUtils::strip_remote_error</a> (<a class="el" href="classGlib_1_1Error.html">Glib::Error</a>&amp; error)</td></tr>
<tr class="memdesc:ga2f38119e0765fd1654363fcdee6e4c76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks for extra information in the error message used to recover the D-Bus error name and strips it if found.  <a href="#ga2f38119e0765fd1654363fcdee6e4c76">More...</a><br /></td></tr>
<tr class="separator:ga2f38119e0765fd1654363fcdee6e4c76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e63011eb298f04364d38d44ae51d1e5"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga6e63011eb298f04364d38d44ae51d1e5">Gio::DBus::own_name</a> (BusType bus_type, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const SlotBusAcquired&amp; bus_acquired_slot=SlotBusAcquired(), const SlotNameAcquired&amp; name_acquired_slot=SlotNameAcquired(), const SlotNameLost&amp; name_lost_slot=SlotNameLost(), BusNameOwnerFlags flags=<a class="el" href="namespaceGio_1_1DBus.html#ga90e13b67fdf97528695baa4a6a18b051a900fa7dcd6f4b5263dc9b42969439140">Gio::DBus::BUS_NAME_OWNER_FLAGS_NONE</a>)</td></tr>
<tr class="memdesc:ga6e63011eb298f04364d38d44ae51d1e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts acquiring <em>name</em> on the bus specified by <em>bus_type</em> and calls <em>name_acquired_slot</em> and name_<em>lost_slot</em> when the name is acquired respectively lost.  <a href="#ga6e63011eb298f04364d38d44ae51d1e5">More...</a><br /></td></tr>
<tr class="separator:ga6e63011eb298f04364d38d44ae51d1e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f11b499bbff8835c429c0fd534df4b0"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga1f11b499bbff8835c429c0fd534df4b0">Gio::DBus::generate_guid</a> ()</td></tr>
<tr class="memdesc:ga1f11b499bbff8835c429c0fd534df4b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generate a D-Bus GUID that can be used with e.g.  <a href="#ga1f11b499bbff8835c429c0fd534df4b0">More...</a><br /></td></tr>
<tr class="separator:ga1f11b499bbff8835c429c0fd534df4b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf95791c56c136194a67f3855a4416966"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gaf95791c56c136194a67f3855a4416966">Gio::DBus::is_guid</a> (const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp;<a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">string</a>)</td></tr>
<tr class="memdesc:gaf95791c56c136194a67f3855a4416966"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>string</em> is a D-Bus GUID.  <a href="#gaf95791c56c136194a67f3855a4416966">More...</a><br /></td></tr>
<tr class="separator:gaf95791c56c136194a67f3855a4416966"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05c67dee67b2ccccdcb0c19714abd5e1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga05c67dee67b2ccccdcb0c19714abd5e1">Gio::DBus::is_name</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">string</a>)</td></tr>
<tr class="memdesc:ga05c67dee67b2ccccdcb0c19714abd5e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>string</em> is a valid D-Bus bus name (either unique or well-known).  <a href="#ga05c67dee67b2ccccdcb0c19714abd5e1">More...</a><br /></td></tr>
<tr class="separator:ga05c67dee67b2ccccdcb0c19714abd5e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04c3f3efa55c252ce9299a934f3bc9ed"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga04c3f3efa55c252ce9299a934f3bc9ed">Gio::DBus::is_unique_name</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">string</a>)</td></tr>
<tr class="memdesc:ga04c3f3efa55c252ce9299a934f3bc9ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>string</em> is a valid D-Bus unique bus name.  <a href="#ga04c3f3efa55c252ce9299a934f3bc9ed">More...</a><br /></td></tr>
<tr class="separator:ga04c3f3efa55c252ce9299a934f3bc9ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2383c7d151a59adc91e4fbfbd1e4652a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#ga2383c7d151a59adc91e4fbfbd1e4652a">Gio::DBus::is_member_name</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">string</a>)</td></tr>
<tr class="memdesc:ga2383c7d151a59adc91e4fbfbd1e4652a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>string</em> is a valid D-Bus member (e.g.  <a href="#ga2383c7d151a59adc91e4fbfbd1e4652a">More...</a><br /></td></tr>
<tr class="separator:ga2383c7d151a59adc91e4fbfbd1e4652a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8f12ce74f2521c357d814a0105359ea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gaf8f12ce74f2521c357d814a0105359ea">Gio::DBus::is_interface_name</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">string</a>)</td></tr>
<tr class="memdesc:gaf8f12ce74f2521c357d814a0105359ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if <em>string</em> is a valid D-Bus interface name.  <a href="#gaf8f12ce74f2521c357d814a0105359ea">More...</a><br /></td></tr>
<tr class="separator:gaf8f12ce74f2521c357d814a0105359ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa202af27755f2ea8d0736f8ab3a75dba"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gaa202af27755f2ea8d0736f8ab3a75dba">Gio::DBus::watch_name</a> (BusType bus_type, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const SlotNameAppeared&amp; name_appeared_slot=SlotNameAppeared(), const SlotNameVanished&amp; name_vanished_slot=SlotNameVanished(), BusNameWatcherFlags flags=<a class="el" href="namespaceGio_1_1DBus.html#ga724a510e53ed4df47411bcdbaf680c85a23e333ede42826b165a4d40b0f55ad22">Gio::DBus::BUS_NAME_WATCHER_FLAGS_NONE</a>)</td></tr>
<tr class="memdesc:gaa202af27755f2ea8d0736f8ab3a75dba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts watching <em>name</em> on the bus specified by <em>bus_type</em> and calls <em>name_appeared_slot</em> and <em>name_vanished_slot</em> when the name is known to have a owner respectively known to lose its owner.  <a href="#gaa202af27755f2ea8d0736f8ab3a75dba">More...</a><br /></td></tr>
<tr class="separator:gaa202af27755f2ea8d0736f8ab3a75dba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf07c31497172ba813b9322dad4570927"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gaf07c31497172ba813b9322dad4570927">Gio::DBus::watch_name</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Connection &gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const SlotNameAppeared&amp; name_appeared_slot=SlotNameAppeared(), const SlotNameVanished&amp; name_vanished_slot=SlotNameVanished(), BusNameWatcherFlags flags=<a class="el" href="namespaceGio_1_1DBus.html#ga724a510e53ed4df47411bcdbaf680c85a23e333ede42826b165a4d40b0f55ad22">Gio::DBus::BUS_NAME_WATCHER_FLAGS_NONE</a>)</td></tr>
<tr class="memdesc:gaf07c31497172ba813b9322dad4570927"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="group__DBus.html#gaa202af27755f2ea8d0736f8ab3a75dba" title="Starts watching name on the bus specified by bus_type and calls name_appeared_slot and name_vanished_...">watch_name()</a> function that takes a <a class="el" href="classGio_1_1DBus_1_1Connection.html" title="A D-Bus Connection. ">Connection</a> instead of a BusType.  <a href="#gaf07c31497172ba813b9322dad4570927">More...</a><br /></td></tr>
<tr class="separator:gaf07c31497172ba813b9322dad4570927"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5106315b09d6fc5ad019ecfcc8d5342"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBus.html#gaa5106315b09d6fc5ad019ecfcc8d5342">Gio::DBus::unwatch_name</a> (guint watcher_id)</td></tr>
<tr class="memdesc:gaa5106315b09d6fc5ad019ecfcc8d5342"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops watching a name.  <a href="#gaa5106315b09d6fc5ad019ecfcc8d5342">More...</a><br /></td></tr>
<tr class="separator:gaa5106315b09d6fc5ad019ecfcc8d5342"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>API to use D-Bus services as a client or to implement a D-Bus service. </p>
<p>To write client code, see <a class="el" href="classGio_1_1DBus_1_1Proxy.html" title="A client-side proxy. ">Gio::DBus::Proxy</a>. To export objects on the bus for other clients, see <a class="el" href="group__DBus.html#ga6e63011eb298f04364d38d44ae51d1e5" title="Starts acquiring name on the bus specified by bus_type and calls name_acquired_slot and name_lost_slo...">Gio::DBus::own_name()</a>, for instance. </p>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga92ddf71b4fad230b88f53f0bd51cf9ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a>&gt;&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&gt; <a class="el" href="group__DBus.html#ga92ddf71b4fad230b88f53f0bd51cf9ce">Gio::DBus::SlotBusAcquired</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For example, void on_bus_acquired(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name);. </p>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000151">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="gaa9752b9e34e82802372d543be19e835d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a>&gt;&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&gt; <a class="el" href="group__DBus.html#gaa9752b9e34e82802372d543be19e835d">Gio::DBus::SlotNameAcquired</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For example, void on_name_acquired(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name);. </p>

</div>
</div>
<a class="anchor" id="ga86bd32cfdf2b9f3ef20ed287c8fc58b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a>&gt;&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&gt; <a class="el" href="group__DBus.html#ga86bd32cfdf2b9f3ef20ed287c8fc58b7">Gio::DBus::SlotNameAppeared</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For example, void on_name_appeared(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name_owner);. </p>

</div>
</div>
<a class="anchor" id="ga6191db7ad78e8398c1193b9e78b9a9e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a>&gt;&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&gt; <a class="el" href="group__DBus.html#ga6191db7ad78e8398c1193b9e78b9a9e8">Gio::DBus::SlotNameLost</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For example, void on_name_lost(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name);. </p>

</div>
</div>
<a class="anchor" id="gadb9a09c6a42e777238421f74c82a631b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" doxygen="/opt/gnome/share/doc/libsigc++-2.0/reference/libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1DBus_1_1Connection.html">Gio::DBus::Connection</a>&gt;&amp;, <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&gt; <a class="el" href="group__DBus.html#gadb9a09c6a42e777238421f74c82a631b">Gio::DBus::SlotNameVanished</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For example, void on_name_vanished(const Glib::RefPtr&lt;Gio::DBus::Connection&gt;&amp; connection, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>&amp; name);. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga1f11b499bbff8835c429c0fd534df4b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gio::DBus::generate_guid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generate a D-Bus GUID that can be used with e.g. </p>
<p><a class="el" href="classGio_1_1DBus_1_1Connection.html#ab8be27670e0620aad315dfc0c1622ab6" title="Asynchronously sets up a D-Bus connection for exchanging D-Bus messages with the end represented by s...">Gio::DBus::Connection::create()</a>.</p>
<p>See the D-Bus specification regarding what strings are valid D-Bus GUID (for example, D-Bus GUIDs are not RFC-4122 compliant).</p>
<dl class="section return"><dt>Returns</dt><dd>A valid D-Bus GUID. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000157">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga3acef7d113b30124fe11e88c2d2a60a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gio::DBus::Address::get_for_bus_sync </td>
          <td>(</td>
          <td class="paramtype">BusType&#160;</td>
          <td class="paramname"><em>bus_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Cancellable &gt;&amp;&#160;</td>
          <td class="paramname"><em>cancellable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Synchronously looks up the D-Bus address for the well-known message bus instance specified by <em>bus_type</em>. </p>
<p>This may involve using various platform specific mechanisms.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bus_type</td><td>A BusType. </td></tr>
    <tr><td class="paramname">cancellable</td><td>A <a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled. ">Cancellable</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A valid D-Bus address string for <em>bus_type</em>. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Glib::Error.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000117">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga94461b5c18260b017f3404d82ad5321a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gio::DBus::ErrorUtils::get_remote_error </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1Error.html">Glib::Error</a>&amp;&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the D-Bus error name used for <em>error</em>, if any. </p>
<p>This function is guaranteed to return a D-Bus error name for all <a class="el" href="classGlib_1_1Error.html">Glib::Error</a> instances returned from functions handling remote method calls (e.g. <a class="el" href="classGio_1_1DBus_1_1Connection.html#a230fbe18c49f2fe73857db0919b14edb" title="Finishes an operation started with call(). ">Gio::DBus::Connection::call_finish()</a>) unless <a class="el" href="group__DBus.html#ga2f38119e0765fd1654363fcdee6e4c76" title="Looks for extra information in the error message used to recover the D-Bus error name and strips it i...">strip_remote_error()</a> has been used on <em>error</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">error</td><td>A <a class="el" href="classGlib_1_1Error.html">Glib::Error</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An allocated string or <code>0</code> if the D-Bus error name could not be found. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000139">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga2d53e540686789c834cef9a3ac447bf4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::DBus::Address::get_stream </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>address</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SlotAsyncReady&#160;</td>
          <td class="paramname"><em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Cancellable &gt;&amp;&#160;</td>
          <td class="paramname"><em>cancellable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Asynchronously connects to an endpoint specified by <em>address</em> and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. </p>
<p>When the operation is finished, <em>slot</em> will be invoked. You can then call <a class="el" href="group__DBus.html#ga8fa5586dec918dfa553dab97f0f8e342" title="Finishes an operation started with get_stream(). ">get_stream_finish()</a> to get the result of the operation.</p>
<p>This is an asynchronous failable function. See <a class="el" href="group__DBus.html#ga95b08ddb9dedf51b585fa7a5da4f4233" title="Synchronously connects to an endpoint specified by address and sets up the connection so it is in a s...">get_stream_sync()</a> for the synchronous version.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">address</td><td>A valid D-Bus address. </td></tr>
    <tr><td class="paramname">cancellable</td><td>A <a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled. ">Cancellable</a>. </td></tr>
    <tr><td class="paramname">slot</td><td>A SlotAsyncReady to call when the request is satisfied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000112">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga8fa5586dec918dfa553dab97f0f8e342"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;IOStream&gt; Gio::DBus::Address::get_stream_finish </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; AsyncResult &gt;&amp;&#160;</td>
          <td class="paramname"><em>res</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>out_guid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finishes an operation started with <a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4" title="Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a ...">get_stream()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">res</td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results. ">AsyncResult</a> obtained from the SlotAsyncReady passed to <a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4" title="Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a ...">get_stream()</a>. </td></tr>
    <tr><td class="paramname">out_guid</td><td>Return location to store the GUID extracted from address, if any. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGio_1_1IOStream.html" title="IOStream - Base class for implementing read/write streams. ">IOStream</a>. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Glib::Error.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000113">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga7da9ac3910fa800a6a42b2667b1a0135"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;IOStream&gt; Gio::DBus::Address::get_stream_finish </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; AsyncResult &gt;&amp;&#160;</td>
          <td class="paramname"><em>res</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finishes an operation started with <a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4" title="Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a ...">get_stream()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">res</td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results. ">AsyncResult</a> obtained from the SlotAsyncReady passed to <a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4" title="Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a ...">get_stream()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGio_1_1IOStream.html" title="IOStream - Base class for implementing read/write streams. ">IOStream</a>. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Glib::Error.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000114">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga95b08ddb9dedf51b585fa7a5da4f4233"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;IOStream&gt; Gio::DBus::Address::get_stream_sync </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>address</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Cancellable &gt;&amp;&#160;</td>
          <td class="paramname"><em>cancellable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>out_guid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Synchronously connects to an endpoint specified by <em>address</em> and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. </p>
<p>This is a synchronous failable function. See <a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4" title="Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a ...">get_stream()</a> for the asynchronous version.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">address</td><td>A valid D-Bus address. </td></tr>
    <tr><td class="paramname">cancellable</td><td>A <a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled. ">Cancellable</a>. </td></tr>
    <tr><td class="paramname">out_guid</td><td>A return location to store the GUID extracted from address, if any. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGio_1_1IOStream.html" title="IOStream - Base class for implementing read/write streams. ">IOStream</a>. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Glib::Error.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000115">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="gaec661c3dff45b4a5626b9dc1bc586b3d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;IOStream&gt; Gio::DBus::Address::get_stream_sync </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>address</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Cancellable &gt;&amp;&#160;</td>
          <td class="paramname"><em>cancellable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Synchronously connects to an endpoint specified by <em>address</em> and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. </p>
<p>This is a synchronous failable function. See <a class="el" href="group__DBus.html#ga2d53e540686789c834cef9a3ac447bf4" title="Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a ...">get_stream()</a> for the asynchronous version.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">address</td><td>A valid D-Bus address. </td></tr>
    <tr><td class="paramname">cancellable</td><td>A <a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled. ">Cancellable</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGio_1_1IOStream.html" title="IOStream - Base class for implementing read/write streams. ">IOStream</a>. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Glib::Error.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000116">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="gab2c056ac3cce34b4a58df19166d48fae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::Address::is_address </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>string</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if <em>string</em> is a D-Bus address. </p>
<p>This doesn't check if <em>string</em> is actually supported by BusServer or BusConnection - use is_supported_address() to do more checks.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>A string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>string</em> is a valid D-Bus address, <code>false</code> otherwise. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000110">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="gaf95791c56c136194a67f3855a4416966"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::is_guid </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>string</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if <em>string</em> is a D-Bus GUID. </p>
<p>See the D-Bus specification regarding what strings are valid D-Bus GUID (for example, D-Bus GUIDs are not RFC-4122 compliant).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>The string to check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if string is a guid, <code>false</code> otherwise. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000158">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="gaf8f12ce74f2521c357d814a0105359ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::is_interface_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>string</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if <em>string</em> is a valid D-Bus interface name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>The string to check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if valid, <code>false</code> otherwise. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000162">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga2383c7d151a59adc91e4fbfbd1e4652a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::is_member_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>string</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if <em>string</em> is a valid D-Bus member (e.g. </p>
<p>signal or method) name.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>The string to check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if valid, <code>false</code> otherwise. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000161">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga05c67dee67b2ccccdcb0c19714abd5e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::is_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>string</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if <em>string</em> is a valid D-Bus bus name (either unique or well-known). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>The string to check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if valid, <code>false</code> otherwise. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000159">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga2b6d40f35340690128b06b289388d120"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::ErrorUtils::is_remote_error </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1Error.html">Glib::Error</a>&amp;&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if <em>error</em> represents an error received via D-Bus from a remote peer. </p>
<p>If so, use <a class="el" href="group__DBus.html#ga94461b5c18260b017f3404d82ad5321a" title="Gets the D-Bus error name used for error, if any. ">get_remote_error()</a> to get the name of the error.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">error</td><td>A <a class="el" href="classGlib_1_1Error.html">Glib::Error</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if error represents an error from a remote peer, <code>false</code> otherwise. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000138">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga2f8d4a3d5bda1d3fcc4f4f3c8cc0c214"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::Address::is_supported </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>address</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Like <a class="el" href="group__DBus.html#gab2c056ac3cce34b4a58df19166d48fae" title="Checks if string is a D-Bus address. ">is_address()</a> but also checks if the library supports the transports in <em>address</em> and that key/value pairs for each transport are valid. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">address</td><td>A supposed address. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>address</em> is a valid D-Bus address that is supported by this library, <code>false</code> otherwise. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Glib::Error.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000111">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga04c3f3efa55c252ce9299a934f3bc9ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::is_unique_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>string</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if <em>string</em> is a valid D-Bus unique bus name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>The string to check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if valid, <code>false</code> otherwise. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000160">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga6e63011eb298f04364d38d44ae51d1e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Gio::DBus::own_name </td>
          <td>(</td>
          <td class="paramtype">BusType&#160;</td>
          <td class="paramname"><em>bus_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SlotBusAcquired &amp;&#160;</td>
          <td class="paramname"><em>bus_acquired_slot</em> = <code>SlotBusAcquired()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SlotNameAcquired &amp;&#160;</td>
          <td class="paramname"><em>name_acquired_slot</em> = <code>SlotNameAcquired()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SlotNameLost &amp;&#160;</td>
          <td class="paramname"><em>name_lost_slot</em> = <code>SlotNameLost()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BusNameOwnerFlags&#160;</td>
          <td class="paramname"><em>flags</em> = <code><a class="el" href="namespaceGio_1_1DBus.html#ga90e13b67fdf97528695baa4a6a18b051a900fa7dcd6f4b5263dc9b42969439140">Gio::DBus::BUS_NAME_OWNER_FLAGS_NONE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts acquiring <em>name</em> on the bus specified by <em>bus_type</em> and calls <em>name_acquired_slot</em> and name_<em>lost_slot</em> when the name is acquired respectively lost. </p>
<p>Slots will be invoked in the thread-default main loop of the thread you are calling this function from.</p>
<p>You are guaranteed that one of the <em>name_acquired_slot</em> and <em>name_lost_slot</em> slots will be invoked after calling this function - there are three possible cases:</p>
<ul>
<li><em>name_lost_slot</em> with a NULL connection (if a connection to the bus can't be made).</li>
<li><em>bus_acquired_slot</em> then <em>name_lost_slot</em> (if the name can't be obtained)</li>
<li><em>bus_acquired_slot</em> then <em>name_acquired_slot</em> (if the name was obtained).</li>
</ul>
<p>When you are done owning the name, just call <a class="el" href="namespaceGio_1_1DBus.html#a56eb716650330a147b033d7aec56e0ed" title="Stops owning a name. ">unown_name()</a> with the owner id this function returns.</p>
<p>If the name is acquired or lost (for example another application could acquire the name if you allow replacement or the application currently owning the name exits), the slots are also invoked. If the <a class="el" href="classGio_1_1DBus_1_1Connection.html" title="A D-Bus Connection. ">Connection</a> that is used for attempting to own the name closes, then <em>name_lost_slot</em> is invoked since it is no longer possible for other processes to access the process.</p>
<p>You cannot use <a class="el" href="group__DBus.html#ga6e63011eb298f04364d38d44ae51d1e5" title="Starts acquiring name on the bus specified by bus_type and calls name_acquired_slot and name_lost_slo...">own_name()</a> several times for the same name (unless interleaved with calls to <a class="el" href="namespaceGio_1_1DBus.html#a56eb716650330a147b033d7aec56e0ed" title="Stops owning a name. ">unown_name()</a>) - only the first call will work.</p>
<p>Another guarantee is that invocations of name_<em>acquired_slot</em> and <em>name_lost_slot</em> are guaranteed to alternate; that is, if <em>name_acquired_slot</em> is invoked then you are guaranteed that the next time one of the slots is invoked, it will be <em>name_lost_slot</em>. The reverse is also true.</p>
<p>If you plan on exporting objects (using e.g. Gio::DbusConnection::register_object()), note that it is generally too late to export the objects in <em>name_acquired_slot</em>. Instead, you can do this in <em>bus_acquired_slot</em> since you are guaranteed that this will run before name is requested from the bus.</p>
<p>This behavior makes it very simple to write applications that wants to own names and export objects.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bus_type</td><td>The type of bus to own a name on. </td></tr>
    <tr><td class="paramname">name</td><td>The well-known name to own. </td></tr>
    <tr><td class="paramname">bus_acquired_slot</td><td>Slot to invoke when connected to the bus of type bus_type. </td></tr>
    <tr><td class="paramname">name_acquired_slot</td><td>Slot to invoke when name is acquired. </td></tr>
    <tr><td class="paramname">name_lost_slot</td><td>Slot to invoke when name is lost. </td></tr>
    <tr><td class="paramname">flags</td><td>A set of flags from the BusNameOwnerFlags enumeration. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An identifier (never 0) that an be used with <a class="el" href="namespaceGio_1_1DBus.html#a56eb716650330a147b033d7aec56e0ed" title="Stops owning a name. ">unown_name()</a> to stop owning the name.</dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000152">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ga2f38119e0765fd1654363fcdee6e4c76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gio::DBus::ErrorUtils::strip_remote_error </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGlib_1_1Error.html">Glib::Error</a>&amp;&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Looks for extra information in the error message used to recover the D-Bus error name and strips it if found. </p>
<p>If stripped, the message field in <em>error</em> will correspond exactly to what was received on the wire.</p>
<p>This is typically used when presenting errors to the end user.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">error</td><td>A <a class="el" href="classGlib_1_1Error.html">Glib::Error</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if information was stripped, <code>false</code> otherwise. </dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000140">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="gaa5106315b09d6fc5ad019ecfcc8d5342"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::DBus::unwatch_name </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>watcher_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops watching a name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">watcher_id</td><td>An identifier obtained from <a class="el" href="group__DBus.html#gaa202af27755f2ea8d0736f8ab3a75dba" title="Starts watching name on the bus specified by bus_type and calls name_appeared_slot and name_vanished_...">watch_name()</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaa202af27755f2ea8d0736f8ab3a75dba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Gio::DBus::watch_name </td>
          <td>(</td>
          <td class="paramtype">BusType&#160;</td>
          <td class="paramname"><em>bus_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SlotNameAppeared &amp;&#160;</td>
          <td class="paramname"><em>name_appeared_slot</em> = <code>SlotNameAppeared()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SlotNameVanished &amp;&#160;</td>
          <td class="paramname"><em>name_vanished_slot</em> = <code>SlotNameVanished()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BusNameWatcherFlags&#160;</td>
          <td class="paramname"><em>flags</em> = <code><a class="el" href="namespaceGio_1_1DBus.html#ga724a510e53ed4df47411bcdbaf680c85a23e333ede42826b165a4d40b0f55ad22">Gio::DBus::BUS_NAME_WATCHER_FLAGS_NONE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts watching <em>name</em> on the bus specified by <em>bus_type</em> and calls <em>name_appeared_slot</em> and <em>name_vanished_slot</em> when the name is known to have a owner respectively known to lose its owner. </p>
<p>Callbacks will be invoked in the thread-default main loop of the thread you are calling this function from.</p>
<p>You are guaranteed that one of the slot will be invoked after calling this function. When you are done watching the name, just call <a class="el" href="group__DBus.html#gaa5106315b09d6fc5ad019ecfcc8d5342" title="Stops watching a name. ">unwatch_name()</a> with the watcher id this function returns.</p>
<p>If the name vanishes or appears (for example the application owning the name could restart), the slot are also invoked. If the <a class="el" href="classGio_1_1DBus_1_1Connection.html" title="A D-Bus Connection. ">Connection</a> that is used for watching the name disconnects, then <em>name_vanished_slot</em> is invoked since it is no longer possible to access the name.</p>
<p>Another guarantee is that invocations of <em>name_appeared_slot</em> and <em>name_vanished_slot</em> are guaranteed to alternate; that is, if <em>name_appeared_slot</em> is invoked then you are guaranteed that the next time one of the slot is invoked, it will be <em>name_vanished_slot</em>. The reverse is also true.</p>
<p>This behavior makes it very simple to write applications that wants to take action when a certain name exists, see the C API's Example 9, “Simple application watching a name” for more information. Basically, the application should create object proxies in <em>name_appeared_slot</em> and destroy them again (if any) in <em>name_vanished_slot</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bus_type</td><td>The type of bus to watch a name on. </td></tr>
    <tr><td class="paramname">name</td><td>The name (well-known or unique) to watch. </td></tr>
    <tr><td class="paramname">name_appeared_slot</td><td>Slot to invoke when name is known to exist. </td></tr>
    <tr><td class="paramname">name_vanished_slot</td><td>Slot to invoke when name is known to not exist. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags from the BusNameWatcherFlags enumeration. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An identifier (never 0) that can be used with <a class="el" href="group__DBus.html#gaa5106315b09d6fc5ad019ecfcc8d5342" title="Stops watching a name. ">unwatch_name()</a> to stop watching the name.</dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000163">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="gaf07c31497172ba813b9322dad4570927"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Gio::DBus::watch_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; Connection &gt;&amp;&#160;</td>
          <td class="paramname"><em>connection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SlotNameAppeared &amp;&#160;</td>
          <td class="paramname"><em>name_appeared_slot</em> = <code>SlotNameAppeared()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SlotNameVanished &amp;&#160;</td>
          <td class="paramname"><em>name_vanished_slot</em> = <code>SlotNameVanished()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BusNameWatcherFlags&#160;</td>
          <td class="paramname"><em>flags</em> = <code><a class="el" href="namespaceGio_1_1DBus.html#ga724a510e53ed4df47411bcdbaf680c85a23e333ede42826b165a4d40b0f55ad22">Gio::DBus::BUS_NAME_WATCHER_FLAGS_NONE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A <a class="el" href="group__DBus.html#gaa202af27755f2ea8d0736f8ab3a75dba" title="Starts watching name on the bus specified by bus_type and calls name_appeared_slot and name_vanished_...">watch_name()</a> function that takes a <a class="el" href="classGio_1_1DBus_1_1Connection.html" title="A D-Bus Connection. ">Connection</a> instead of a BusType. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">connection</td><td>A <a class="el" href="classGio_1_1DBus_1_1Connection.html" title="A D-Bus Connection. ">Connection</a>. </td></tr>
    <tr><td class="paramname">name</td><td>The name (well-known or unique) to watch. </td></tr>
    <tr><td class="paramname">name_appeared_slot</td><td>Slot to invoke when name is known to exist. </td></tr>
    <tr><td class="paramname">name_vanished_slot</td><td>Slot to invoke when name is known to not exist. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags from the BusNameWatcherFlags enumeration. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An identifier (never 0) that can be used with <a class="el" href="group__DBus.html#gaa5106315b09d6fc5ad019ecfcc8d5342" title="Stops watching a name. ">unwatch_name()</a> to stop watching the name.</dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000164">Since glibmm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Sep 22 2014 21:38:30 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>