This file is indexed.

/usr/share/doc/libtelepathy-glib-doc/telepathy-glib/telepathy-glib-channel-dispatcher.html is in libtelepathy-glib-doc 0.24.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>telepathy-glib API Reference Manual: TpChannelDispatcher</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
<link rel="up" href="ch-client.html" title="Client-side proxies">
<link rel="prev" href="telepathy-glib-account-request.html" title="TpAccountRequest">
<link rel="next" href="telepathy-glib-channel-dispatch-operation.html" title="TpChannelDispatchOperation">
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#telepathy-glib-channel-dispatcher.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#telepathy-glib-channel-dispatcher.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch-client.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="telepathy-glib-account-request.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="telepathy-glib-channel-dispatch-operation.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="telepathy-glib-channel-dispatcher"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="telepathy-glib-channel-dispatcher.top_of_page"></a>TpChannelDispatcher</span></h2>
<p>TpChannelDispatcher — proxy object for the Telepathy channel dispatcher</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="telepathy-glib-channel-dispatcher.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="returnvalue">TpChannelDispatcher</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-channel-dispatcher-new" title="tp_channel_dispatcher_new ()">tp_channel_dispatcher_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-channel-dispatcher-init-known-interfaces" title="tp_channel_dispatcher_init_known_interfaces ()">tp_channel_dispatcher_init_known_interfaces</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-create-channel" title="tp_cli_channel_dispatcher_callback_for_create_channel ()">*tp_cli_channel_dispatcher_callback_for_create_channel</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-call-create-channel" title="tp_cli_channel_dispatcher_call_create_channel ()">tp_cli_channel_dispatcher_call_create_channel</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-create-channel-with-hints" title="tp_cli_channel_dispatcher_callback_for_create_channel_with_hints ()">*tp_cli_channel_dispatcher_callback_for_create_channel_with_hints</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-call-create-channel-with-hints" title="tp_cli_channel_dispatcher_call_create_channel_with_hints ()">tp_cli_channel_dispatcher_call_create_channel_with_hints</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-ensure-channel" title="tp_cli_channel_dispatcher_callback_for_ensure_channel ()">*tp_cli_channel_dispatcher_callback_for_ensure_channel</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-call-ensure-channel" title="tp_cli_channel_dispatcher_call_ensure_channel ()">tp_cli_channel_dispatcher_call_ensure_channel</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-ensure-channel-with-hints" title="tp_cli_channel_dispatcher_callback_for_ensure_channel_with_hints ()">*tp_cli_channel_dispatcher_callback_for_ensure_channel_with_hints</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-call-ensure-channel-with-hints" title="tp_cli_channel_dispatcher_call_ensure_channel_with_hints ()">tp_cli_channel_dispatcher_call_ensure_channel_with_hints</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-call-delegate-channels" title="tp_cli_channel_dispatcher_call_delegate_channels ()">tp_cli_channel_dispatcher_call_delegate_channels</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-call-present-channel" title="tp_cli_channel_dispatcher_call_present_channel ()">tp_cli_channel_dispatcher_call_present_channel</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-delegate-channels" title="tp_cli_channel_dispatcher_callback_for_delegate_channels ()">*tp_cli_channel_dispatcher_callback_for_delegate_channels</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-present-channel" title="tp_cli_channel_dispatcher_callback_for_present_channel ()">*tp_cli_channel_dispatcher_callback_for_present_channel</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-messages1-call-send-message" title="tp_cli_channel_dispatcher_interface_messages1_call_send_message ()">tp_cli_channel_dispatcher_interface_messages1_call_send_message</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-messages1-callback-for-send-message" title="tp_cli_channel_dispatcher_interface_messages1_callback_for_send_message ()">*tp_cli_channel_dispatcher_interface_messages1_callback_for_send_message</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-operation-list-signal-callback-dispatch-operation-finished" title="tp_cli_channel_dispatcher_interface_operation_list_signal_callback_dispatch_operation_finished ()">*tp_cli_channel_dispatcher_interface_operation_list_signal_callback_dispatch_operation_finished</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-operation-list-connect-to-dispatch-operation-finished" title="tp_cli_channel_dispatcher_interface_operation_list_connect_to_dispatch_operation_finished ()">tp_cli_channel_dispatcher_interface_operation_list_connect_to_dispatch_operation_finished</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-operation-list-signal-callback-new-dispatch-operation" title="tp_cli_channel_dispatcher_interface_operation_list_signal_callback_new_dispatch_operation ()">*tp_cli_channel_dispatcher_interface_operation_list_signal_callback_new_dispatch_operation</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
</td>
<td class="function_name">
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-operation-list-connect-to-new-dispatch-operation" title="tp_cli_channel_dispatcher_interface_operation_list_connect_to_new_dispatch_operation ()">tp_cli_channel_dispatcher_interface_operation_list_connect_to_new_dispatch_operation</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<a name="TpChannelDispatcher"></a><div class="refsect1">
<a name="telepathy-glib-channel-dispatcher.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher-struct" title="struct TpChannelDispatcher">TpChannelDispatcher</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcherClass" title="struct TpChannelDispatcherClass">TpChannelDispatcherClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="telepathy-glib-channel-dispatcher.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> <a class="link" href="telepathy-glib-proxy.html#TpProxy">TpProxy</a>
        <span class="lineart">╰──</span> TpChannelDispatcher
</pre>
</div>
<div class="refsect1">
<a name="telepathy-glib-channel-dispatcher.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;telepathy-glib/telepathy-glib.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="telepathy-glib-channel-dispatcher.description"></a><h2>Description</h2>
<p>The <a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> object can be used to communicate with any
implementation of the Telepathy ChannelDispatcher service to request
new channels.</p>
</div>
<div class="refsect1">
<a name="telepathy-glib-channel-dispatcher.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="tp-channel-dispatcher-new"></a><h3>tp_channel_dispatcher_new ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="returnvalue">TpChannelDispatcher</span></a> *
tp_channel_dispatcher_new (<em class="parameter"><code><a class="link" href="telepathy-glib-dbus.html#TpDBusDaemon"><span class="type">TpDBusDaemon</span></a> *bus_daemon</code></em>);</pre>
<p>Convenience function to create a new channel dispatcher proxy.</p>
<div class="refsect3">
<a name="id-1.4.48.9.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>bus_daemon</p></td>
<td class="parameter_description"><p>Proxy for the D-Bus daemon</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.2.6"></a><h4>Returns</h4>
<p> a new reference to a channel dispatcher proxy</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-dispatcher-init-known-interfaces"></a><h3>tp_channel_dispatcher_init_known_interfaces ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
tp_channel_dispatcher_init_known_interfaces
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Ensure that the known interfaces for TpChannelDispatcher have been set up.
This is done automatically when necessary, but for correct
overriding of library interfaces by local extensions, you should
call this function before calling
<a class="link" href="telepathy-glib-proxy-subclass.html#tp-proxy-or-subclass-hook-on-interface-add" title="tp_proxy_or_subclass_hook_on_interface_add ()"><code class="function">tp_proxy_or_subclass_hook_on_interface_add()</code></a> with first argument
<code class="literal">TP_TYPE_CHANNEL_DISPATCHER</code>.</p>
<p class="since">Since 0.7.32</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-callback-for-create-channel"></a><h3>tp_cli_channel_dispatcher_callback_for_create_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_callback_for_create_channel<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *out_Request</code></em>,
                                <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Signature of the callback called when a CreateChannel method call
succeeds or fails.</p>
<div class="refsect3">
<a name="id-1.4.48.9.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_Request</p></td>
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
is <code class="literal">NULL</code>: A           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest&lt;/tp:dbus-ref&gt;           object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code> on success, or an error on failure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>user-supplied object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-call-create-channel"></a><h3>tp_cli_channel_dispatcher_call_create_channel ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
tp_cli_channel_dispatcher_call_create_channel
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><span class="type">gint</span> timeout_ms</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Account</code></em>,
                                <em class="parameter"><code><span class="type">GHashTable</span> *in_Requested_Properties</code></em>,
                                <em class="parameter"><code><span class="type">gint64</span> in_User_Action_Time</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Preferred_Handler</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-create-channel" title="tp_cli_channel_dispatcher_callback_for_create_channel ()"><span class="type">tp_cli_channel_dispatcher_callback_for_create_channel</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Start a CreateChannel method call.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Equivalent to calling           &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt; with an empty           &lt;var&gt;Hints&lt;/var&gt; parameter.&lt;/p&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout_ms</p></td>
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
default</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Account</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: The             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Account&lt;/tp:dbus-ref&gt;           for which the new channel is to be created.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Requested_Properties</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;A dictionary containing desirable properties.&lt;/p&gt;            &lt;p&gt;This parameter is used in the same way as the corresponding             parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_User_Action_Time</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The time at which user action occurred, or 0 if this channel             request is for some reason not involving user action.&lt;/p&gt;            &lt;p&gt;This parameter is used in the same way as the corresponding             parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Preferred_Handler</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Either the well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;)             of the preferred handler for this             channel, or an empty string to indicate that any handler would be             acceptable.&lt;/p&gt;            &lt;p&gt;This parameter is used in the same way as the corresponding             parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>called when the method call succeeds or fails;
may be <code class="literal">NULL</code> to make a "fire and forget" call with no
reply tracking</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data passed to the callback;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>called with the user_data as argument, after the
call has succeeded, failed or been cancelled;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, a <span class="type">GObject</span> which will be
weakly referenced; if it is destroyed, this call
will automatically be cancelled. Must be <code class="literal">NULL</code> if
<em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.5.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
progress. It is borrowed from the object, and will become
invalid when the callback is called, the call is
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-callback-for-create-channel-with-hints"></a><h3>tp_cli_channel_dispatcher_callback_for_create_channel_with_hints ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_callback_for_create_channel_with_hints<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *out_Request</code></em>,
                                <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Signature of the callback called when a CreateChannelWithHints method call
succeeds or fails.</p>
<div class="refsect3">
<a name="id-1.4.48.9.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_Request</p></td>
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
is <code class="literal">NULL</code>: A           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest&lt;/tp:dbus-ref&gt;           object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code> on success, or an error on failure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>user-supplied object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-call-create-channel-with-hints"></a><h3>tp_cli_channel_dispatcher_call_create_channel_with_hints ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
tp_cli_channel_dispatcher_call_create_channel_with_hints
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><span class="type">gint</span> timeout_ms</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Account</code></em>,
                                <em class="parameter"><code><span class="type">GHashTable</span> *in_Requested_Properties</code></em>,
                                <em class="parameter"><code><span class="type">gint64</span> in_User_Action_Time</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Preferred_Handler</code></em>,
                                <em class="parameter"><code><span class="type">GHashTable</span> *in_Hints</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-create-channel-with-hints" title="tp_cli_channel_dispatcher_callback_for_create_channel_with_hints ()"><span class="type">tp_cli_channel_dispatcher_callback_for_create_channel_with_hints</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Start a CreateChannelWithHints method call.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Start a request to create a channel. This initially just creates a           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest&lt;/tp:dbus-ref&gt;           object, which can be used to continue the request and track its           success or failure.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The request can take a long time - in the worst case, the             channel dispatcher has to ask the account manager to put the             account online, the account manager has to ask the operating             system to obtain an Internet connection, and the operating             system has to ask the user whether to activate an Internet             connection using an on-demand mechanism like dialup.&lt;/p&gt;            &lt;p&gt;This means that using a single D-Bus method call and response             to represent the whole request will tend to lead to that call             timing out, which is not the behaviour we want.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;If this method is called for an Account that is disabled, invalid           or otherwise unusable, no error is signalled until           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest.Proceed&lt;/tp:dbus-ref&gt;           is called, at which point           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest.Failed&lt;/tp:dbus-ref&gt;           is emitted with an appropriate error.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;This means there's only one code path for errors, apart from             InvalidArgument for &amp;quot;that request makes no sense&amp;quot;.&lt;/p&gt;            &lt;p&gt;It also means that the request will proceed if the account is             enabled after calling CreateChannel, but before calling             Proceed.&lt;/p&gt;         &lt;/tp:rationale&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout_ms</p></td>
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
default</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Account</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: The             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Account&lt;/tp:dbus-ref&gt;           for which the new channel is to be created.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Requested_Properties</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;A dictionary containing desirable properties. This has the same             semantics as the corresponding parameter to             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.Interface.Requests.CreateChannel&lt;/tp:dbus-ref&gt;.           &lt;/p&gt;            &lt;p&gt;Certain properties will not necessarily make sense in this             dictionary: for instance,             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Channel"&gt;TargetHandle&lt;/tp:dbus-ref&gt;             can only be given if the requester is able to interact with a             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection&lt;/tp:dbus-ref&gt;             to the desired account.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_User_Action_Time</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The time at which user action occurred, or 0 if this channel             request is for some reason not involving user action.             The &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelRequest"&gt;UserActionTime&lt;/tp:dbus-ref&gt;             property will be set to this value, and it will eventually be             passed as the &lt;code&gt;User_Action_Time&lt;/code&gt; parameter of &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Preferred_Handler</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Either the well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;)             of the preferred handler for this             channel, or an empty string to indicate that any handler would be             acceptable. The channel dispatcher SHOULD dispatch as many as             possible of the resulting channels (ideally, all of them)             to that handler—irrespective of whether that handler's &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandlerChannelFilter&lt;/tp:dbus-ref&gt;             matches the channel—and SHOULD remember the preferred handler             so it can try to dispatch subsequent channels in the same bundle             to the same handler.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This must be the well-known bus name, not the unique name,               to ensure that all handlers do indeed have the Client API,               and the Client object on the handler can be located easily.&lt;/p&gt;              &lt;p&gt;This is partly so the channel dispatcher can call               &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;               on it, and partly so the channel dispatcher               can recover state if it crashes and is restarted.&lt;/p&gt;              &lt;p&gt;The filter should be disregarded for ease of use of this               interface: clients will usually use this argument to request               channels be sent to themself, and this should trump the filter               not matching. This also allows a client to become the handler               for a channel produced by one of its own requests, while not               being a candidate to handle other channels of that type.&lt;/p&gt;           &lt;/tp:rationale&gt;            &lt;p&gt;If this is a well-known bus name and the handler has the             Requests interface, the channel dispatcher SHOULD             call &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client.Interface.Requests"&gt;AddRequest&lt;/tp:dbus-ref&gt;             on that Handler after this method has returned.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This ordering allows a Handler which calls CreateChannel with               itself as the preferred handler to associate the call to               AddRequest with that call.&lt;/p&gt;           &lt;/tp:rationale&gt;            &lt;p&gt;This is copied to the ChannelRequest that is returned,             as the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelRequest"&gt;PreferredHandler&lt;/tp:dbus-ref&gt;             property.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Hints</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;p&gt;Additional information about the channel request, which will be             used as the value for the resulting request's &lt;tp:dbus-ref namespace="ofdT.ChannelRequest"&gt;Hints&lt;/tp:dbus-ref&gt;             property.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;See the Hints property's documentation for rationale.&lt;/p&gt;           &lt;/tp:rationale&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>called when the method call succeeds or fails;
may be <code class="literal">NULL</code> to make a "fire and forget" call with no
reply tracking</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data passed to the callback;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>called with the user_data as argument, after the
call has succeeded, failed or been cancelled;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, a <span class="type">GObject</span> which will be
weakly referenced; if it is destroyed, this call
will automatically be cancelled. Must be <code class="literal">NULL</code> if
<em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.7.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
progress. It is borrowed from the object, and will become
invalid when the callback is called, the call is
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-callback-for-ensure-channel"></a><h3>tp_cli_channel_dispatcher_callback_for_ensure_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_callback_for_ensure_channel<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *out_Request</code></em>,
                                <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Signature of the callback called when a EnsureChannel method call
succeeds or fails.</p>
<div class="refsect3">
<a name="id-1.4.48.9.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_Request</p></td>
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
is <code class="literal">NULL</code>: A           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest&lt;/tp:dbus-ref&gt;           object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code> on success, or an error on failure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>user-supplied object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-call-ensure-channel"></a><h3>tp_cli_channel_dispatcher_call_ensure_channel ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
tp_cli_channel_dispatcher_call_ensure_channel
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><span class="type">gint</span> timeout_ms</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Account</code></em>,
                                <em class="parameter"><code><span class="type">GHashTable</span> *in_Requested_Properties</code></em>,
                                <em class="parameter"><code><span class="type">gint64</span> in_User_Action_Time</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Preferred_Handler</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-ensure-channel" title="tp_cli_channel_dispatcher_callback_for_ensure_channel ()"><span class="type">tp_cli_channel_dispatcher_callback_for_ensure_channel</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Start a EnsureChannel method call.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Equivalent to calling           &lt;tp:member-ref&gt;EnsureChannelWithHints&lt;/tp:member-ref&gt; with an empty           &lt;var&gt;Hints&lt;/var&gt; parameter.&lt;/p&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout_ms</p></td>
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
default</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Account</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: The             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Account&lt;/tp:dbus-ref&gt;           for which the new channel is to be created.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Requested_Properties</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;A dictionary containing desirable properties.&lt;/p&gt;            &lt;p&gt;This parameter is used in the same way as the corresponding             parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_User_Action_Time</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The time at which user action occurred, or 0 if this channel             request is for some reason not involving user action.&lt;/p&gt;            &lt;p&gt;This parameter is used in the same way as the corresponding             parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Preferred_Handler</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Either the well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;)             of the preferred handler for this             channel, or an empty string to indicate that any handler would be             acceptable. The behaviour and rationale are the same as for the             corresponding parameter to             &lt;tp:member-ref&gt;EnsureChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>called when the method call succeeds or fails;
may be <code class="literal">NULL</code> to make a "fire and forget" call with no
reply tracking</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data passed to the callback;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>called with the user_data as argument, after the
call has succeeded, failed or been cancelled;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, a <span class="type">GObject</span> which will be
weakly referenced; if it is destroyed, this call
will automatically be cancelled. Must be <code class="literal">NULL</code> if
<em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.9.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
progress. It is borrowed from the object, and will become
invalid when the callback is called, the call is
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-callback-for-ensure-channel-with-hints"></a><h3>tp_cli_channel_dispatcher_callback_for_ensure_channel_with_hints ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_callback_for_ensure_channel_with_hints<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *out_Request</code></em>,
                                <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Signature of the callback called when a EnsureChannelWithHints method call
succeeds or fails.</p>
<div class="refsect3">
<a name="id-1.4.48.9.10.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_Request</p></td>
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
is <code class="literal">NULL</code>: A           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest&lt;/tp:dbus-ref&gt;           object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code> on success, or an error on failure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>user-supplied object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-call-ensure-channel-with-hints"></a><h3>tp_cli_channel_dispatcher_call_ensure_channel_with_hints ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
tp_cli_channel_dispatcher_call_ensure_channel_with_hints
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><span class="type">gint</span> timeout_ms</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Account</code></em>,
                                <em class="parameter"><code><span class="type">GHashTable</span> *in_Requested_Properties</code></em>,
                                <em class="parameter"><code><span class="type">gint64</span> in_User_Action_Time</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Preferred_Handler</code></em>,
                                <em class="parameter"><code><span class="type">GHashTable</span> *in_Hints</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-ensure-channel-with-hints" title="tp_cli_channel_dispatcher_callback_for_ensure_channel_with_hints ()"><span class="type">tp_cli_channel_dispatcher_callback_for_ensure_channel_with_hints</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Start a EnsureChannelWithHints method call.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Start a request to ensure that a channel exists, creating it if           necessary.  This initially just creates a &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest&lt;/tp:dbus-ref&gt;           object, which can be used to continue the request and track its           success or failure.&lt;/p&gt;          &lt;p&gt;If this method is called for an Account that is disabled, invalid           or otherwise unusable, no error is signalled until           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest.Proceed&lt;/tp:dbus-ref&gt;           is called, at which point           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelRequest.Failed&lt;/tp:dbus-ref&gt;           is emitted with an appropriate error.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The rationale is as for &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatcher"&gt;CreateChannelWithHints&lt;/tp:dbus-ref&gt;.&lt;/p&gt;         &lt;/tp:rationale&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout_ms</p></td>
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
default</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Account</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: The             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Account&lt;/tp:dbus-ref&gt;           for which the new channel is to be created.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Requested_Properties</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;A dictionary containing desirable properties. This has the same             semantics as the corresponding parameter to             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.Interface.Requests.EnsureChannel&lt;/tp:dbus-ref&gt;.           &lt;/p&gt;            &lt;p&gt;Certain properties will not necessarily make sense in this             dictionary: for instance,             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Channel"&gt;TargetHandle&lt;/tp:dbus-ref&gt;             can only be given if the requester is able to interact with a             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection&lt;/tp:dbus-ref&gt;             to the desired account.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_User_Action_Time</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The time at which user action occurred, or 0 if this channel             request is for some reason not involving user action.&lt;/p&gt;            &lt;p&gt;This parameter is used in the same way as the corresponding             parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Preferred_Handler</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Either the well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;)             of the preferred handler for this             channel, or an empty string to indicate that any handler would be             acceptable. The behaviour and rationale are the same as for the             corresponding parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;, except             as noted here.&lt;/p&gt;            &lt;p&gt;If any new channels are created in response to this             request, the channel dispatcher SHOULD dispatch as many as             possible of the resulting channels (ideally, all of them)             to that handler, and SHOULD remember the preferred handler             so it can try to dispatch subsequent channels in the same bundle             to the same handler. If the requested channel already exists (that             is, &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.Interface.Requests.EnsureChannel&lt;/tp:dbus-ref&gt;             returns &lt;code&gt;Yours=False&lt;/code&gt;) then the channel dispatcher             SHOULD re-dispatch the channel to its existing handler, and MUST             NOT dispatch it to this client (unless it is the existing handler);             the request is still deemed to have succeeded in this case.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;An address book application, for example, might call &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatcher"&gt;EnsureChannel&lt;/tp:dbus-ref&gt;               to ensure that a text channel with a particular contact is               displayed to the user; it does not care whether a new channel was               made. An IM client might call &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatcher"&gt;EnsureChannel&lt;/tp:dbus-ref&gt;               in response to the user double-clicking an entry in the contact               list, with itself as the &lt;code&gt;Preferred_Handler&lt;/code&gt;; if the               user already has a conversation with that contact in another               application, they would expect the existing window to be               presented, rather than their double-click leading to an error               message.  So the request should succeed, even if its               &lt;code&gt;Preferred_Handler&lt;/code&gt; is not used.&lt;/p&gt;           &lt;/tp:rationale&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Hints</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: Additional information about the channel request, which will be used           as the value for the resulting request's &lt;tp:dbus-ref namespace="ofdT.ChannelRequest"&gt;Hints&lt;/tp:dbus-ref&gt;           property.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>called when the method call succeeds or fails;
may be <code class="literal">NULL</code> to make a "fire and forget" call with no
reply tracking</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data passed to the callback;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>called with the user_data as argument, after the
call has succeeded, failed or been cancelled;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, a <span class="type">GObject</span> which will be
weakly referenced; if it is destroyed, this call
will automatically be cancelled. Must be <code class="literal">NULL</code> if
<em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.11.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
progress. It is borrowed from the object, and will become
invalid when the callback is called, the call is
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-call-delegate-channels"></a><h3>tp_cli_channel_dispatcher_call_delegate_channels ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
tp_cli_channel_dispatcher_call_delegate_channels
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><span class="type">gint</span> timeout_ms</code></em>,
                                <em class="parameter"><code>const <span class="type">GPtrArray</span> *in_Channels</code></em>,
                                <em class="parameter"><code><span class="type">gint64</span> in_User_Action_Time</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Preferred_Handler</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-delegate-channels" title="tp_cli_channel_dispatcher_callback_for_delegate_channels ()"><span class="type">tp_cli_channel_dispatcher_callback_for_delegate_channels</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Start a DelegateChannels method call.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Called by a         &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client"&gt;Handler&lt;/tp:dbus-ref&gt;           to redispatch a bunch of channels it is currently handling.&lt;/p&gt;          &lt;p&gt;For each &lt;var&gt;Channel&lt;/var&gt; in &lt;var&gt;Channels&lt;/var&gt;, if another           &lt;tp:dbus-ref namespace="ofdT.Client"&gt;Handler&lt;/tp:dbus-ref&gt;           can be found,           &lt;tp:dbus-ref namespace="ofdT.Client.Handler"&gt;HandleChannels&lt;/tp:dbus-ref&gt;           will be called on it until a           &lt;tp:dbus-ref namespace="ofdT.Client"&gt;Handler&lt;/tp:dbus-ref&gt;           accepts it.&lt;/p&gt;          &lt;p&gt;This method returns once all the &lt;var&gt;Channels&lt;/var&gt; have either           been accepted or rejected by Handlers.&lt;/p&gt;          &lt;p&gt;If this method fails, the original           &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client"&gt;Handler&lt;/tp:dbus-ref&gt;           is still handling the channels.&lt;/p&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.12.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout_ms</p></td>
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
default</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Channels</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The list of channels to redispatch. The caller has to be the current             &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Client"&gt;Handler&lt;/tp:dbus-ref&gt;             of all of these channels           &lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_User_Action_Time</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The time at which user action occurred, or 0 if this channels             delegation is for some reason not involving user action.&lt;/p&gt;            &lt;p&gt;This parameter is used in the same way as the corresponding             parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Preferred_Handler</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;Either the well-known bus name (starting with             &lt;code&gt;org.freedesktop.Telepathy.Client.&lt;/code&gt;)             of the preferred new handler for these             channels, or an empty string to indicate that any handler would be             acceptable. The behaviour and rationale are the same as for the             corresponding parameter to             &lt;tp:member-ref&gt;CreateChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>called when the method call succeeds or fails;
may be <code class="literal">NULL</code> to make a "fire and forget" call with no
reply tracking</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data passed to the callback;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>called with the user_data as argument, after the
call has succeeded, failed or been cancelled;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, a <span class="type">GObject</span> which will be
weakly referenced; if it is destroyed, this call
will automatically be cancelled. Must be <code class="literal">NULL</code> if
<em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.12.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
progress. It is borrowed from the object, and will become
invalid when the callback is called, the call is
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-call-present-channel"></a><h3>tp_cli_channel_dispatcher_call_present_channel ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
tp_cli_channel_dispatcher_call_present_channel
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><span class="type">gint</span> timeout_ms</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Channel</code></em>,
                                <em class="parameter"><code><span class="type">gint64</span> in_User_Action_Time</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-callback-for-present-channel" title="tp_cli_channel_dispatcher_callback_for_present_channel ()"><span class="type">tp_cli_channel_dispatcher_callback_for_present_channel</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Start a PresentChannel method call.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Equivalent of calling         &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.ChannelDispatcher"&gt;EnsureChannel&lt;/tp:dbus-ref&gt;         with a &lt;var&gt;Requested_Properties&lt;/var&gt; which would result in ensuring         &lt;var&gt;Channel&lt;/var&gt;.&lt;/p&gt;           &lt;p&gt;If &lt;var&gt;Channel&lt;/var&gt; is handled, its handler will be asked to present it the user          (e.g. bring it into the foreground).&lt;/p&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.13.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout_ms</p></td>
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
default</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Channel</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The channel to present.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_User_Action_Time</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The time at which user action occurred, or 0 if this channel             request is for some reason not involving user action.&lt;/p&gt;            &lt;p&gt;This parameter is used in the same way as the corresponding             parameter to             &lt;tp:member-ref&gt;EnsureChannelWithHints&lt;/tp:member-ref&gt;.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>called when the method call succeeds or fails;
may be <code class="literal">NULL</code> to make a "fire and forget" call with no
reply tracking</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data passed to the callback;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>called with the user_data as argument, after the
call has succeeded, failed or been cancelled;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, a <span class="type">GObject</span> which will be
weakly referenced; if it is destroyed, this call
will automatically be cancelled. Must be <code class="literal">NULL</code> if
<em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.13.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
progress. It is borrowed from the object, and will become
invalid when the callback is called, the call is
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-callback-for-delegate-channels"></a><h3>tp_cli_channel_dispatcher_callback_for_delegate_channels ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_callback_for_delegate_channels<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">GPtrArray</span> *out_Delegated</code></em>,
                                <em class="parameter"><code><span class="type">GHashTable</span> *out_Not_Delegated</code></em>,
                                <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Signature of the callback called when a DelegateChannels method call
succeeds or fails.</p>
<div class="refsect3">
<a name="id-1.4.48.9.14.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_Delegated</p></td>
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
is <code class="literal">NULL</code>: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The list of channels which have been delegated; the caller is no           longer handling these channels.&lt;/p&gt;            &lt;p&gt;The client should remove these channels from its           &lt;tp:dbus-ref namespace="ofdT.Client.Handler"&gt;HandledChannels&lt;/tp:dbus-ref&gt;           property.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_Not_Delegated</p></td>
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
is <code class="literal">NULL</code>: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;The list of channels which have NOT been delegated; the caller is still           handling these channels.&lt;/p&gt;</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code> on success, or an error on failure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>user-supplied object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-callback-for-present-channel"></a><h3>tp_cli_channel_dispatcher_callback_for_present_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_callback_for_present_channel<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Signature of the callback called when a PresentChannel method call
succeeds or fails.</p>
<div class="refsect3">
<a name="id-1.4.48.9.15.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code> on success, or an error on failure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>user-supplied object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-interface-messages1-call-send-message"></a><h3>tp_cli_channel_dispatcher_interface_messages1_call_send_message ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
tp_cli_channel_dispatcher_interface_messages1_call_send_message
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><span class="type">gint</span> timeout_ms</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Account</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *in_Target_ID</code></em>,
                                <em class="parameter"><code>const <span class="type">GPtrArray</span> *in_Message</code></em>,
                                <em class="parameter"><code><span class="type">guint</span> in_Flags</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-messages1-callback-for-send-message" title="tp_cli_channel_dispatcher_interface_messages1_callback_for_send_message ()"><span class="type">tp_cli_channel_dispatcher_interface_messages1_callback_for_send_message</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Start a SendMessage method call.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Submit a message to the server for sending, like the           &lt;tp:dbus-ref namespace="ofdT.Channel.Interface"&gt;Messages.SendMessage&lt;/tp:dbus-ref&gt;           method.&lt;/p&gt;          &lt;p&gt;If the &lt;var&gt;Account&lt;/var&gt; is connected and a Text channel to the           &lt;var&gt;Target_ID&lt;/var&gt; already exists, this method is equivalent to           sending the same message via that channel.&lt;/p&gt;          &lt;p&gt;Otherwise, this method creates a channel (connecting the           Account if appropriate), sends the desired message, and           closes the channel as if via &lt;tp:dbus-ref namespace="ofdT"&gt;Channel.Close&lt;/tp:dbus-ref&gt;, without           acknowledging any messages received on that channel           during that time.&lt;/p&gt;          &lt;p&gt;If any messages are received on that channel before it is           closed, a correct connection manager implementation will reopen           the channel when it is closed, resulting in those &amp;quot;rescued&amp;quot; messages           being processed by the system's normal &lt;tp:dbus-ref namespace="ofdT.Client"&gt;Handler&lt;/tp:dbus-ref&gt; for text           channels. In particular, this deals with the situation where           a successful or failed delivery report is received           before the channel is closed.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;Expecting a trivial client (perhaps a send-only IRC bot,             or a simple SMS-sending API) to go through all those steps to             send a message seems somewhat unreasonable. Having this as a             method in the ChannelDispatcher lets it take some short-cuts if             required, and centralizes the implementation to reduce the risk of             mistakes that cause message loss.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;The ChannelDispatcher SHOULD support this method for any           connection manager that would accept channel requests of this           form:&lt;/p&gt;          &lt;pre&gt;  {     …&lt;tp:dbus-ref namespace="ofdT"&gt;Channel.ChannelType&lt;/tp:dbus-ref&gt;:         …&lt;tp:dbus-ref namespace="ofdT"&gt;Channel.Type.Text&lt;/tp:dbus-ref&gt;,     …&lt;tp:dbus-ref namespace="ofdT"&gt;Channel.TargetHandleType&lt;/tp:dbus-ref&gt;:         &lt;tp:value-ref type="Handle_Type"&gt;Contact&lt;/tp:value-ref&gt;,     …&lt;tp:dbus-ref namespace="ofdT"&gt;Channel.TargetID&lt;/tp:dbus-ref&gt;:     &lt;var&gt;Target_ID&lt;/var&gt;   }&lt;/pre&gt;          &lt;p&gt;However, if the connection manager provides additional APIs           (such as a way to open &amp;quot;send-only&amp;quot; channels), the           ChannelDispatcher MAY use those: it is not required to use           those exact request parameters.&lt;/p&gt;          &lt;p&gt;This method may raise any error that would be raised by the           &lt;tp:dbus-ref namespace="ofdT.Connection.Interface"&gt;Requests.EnsureChannel&lt;/tp:dbus-ref&gt;           or &lt;tp:dbus-ref namespace="ofdT.Channel.Interface"&gt;Messages.SendMessage&lt;/tp:dbus-ref&gt;           methods, or signalled by the &lt;tp:dbus-ref namespace="ofdT.ChannelRequest"&gt;Failed&lt;/tp:dbus-ref&gt;           signal.&lt;/p&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.16.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout_ms</p></td>
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
default</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Account</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: The &lt;tp:dbus-ref namespace="ofdT"&gt;Account&lt;/tp:dbus-ref&gt;           through which to communicate.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Target_ID</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: The contact to send the message to.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Message</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: The parts of the message, the same as for &lt;tp:dbus-ref namespace="ofdT.Channel.Interface"&gt;Messages.SendMessage&lt;/tp:dbus-ref&gt;.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_Flags</p></td>
<td class="parameter_description"><p>Used to pass an 'in' argument: Flags influencing how to send the message, the same as for &lt;tp:dbus-ref namespace="ofdT.Channel.Interface"&gt;Messages.SendMessage&lt;/tp:dbus-ref&gt;.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>called when the method call succeeds or fails;
may be <code class="literal">NULL</code> to make a "fire and forget" call with no
reply tracking</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data passed to the callback;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>called with the user_data as argument, after the
call has succeeded, failed or been cancelled;
must be <code class="literal">NULL</code> if <em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, a <span class="type">GObject</span> which will be
weakly referenced; if it is destroyed, this call
will automatically be cancelled. Must be <code class="literal">NULL</code> if
<em class="parameter"><code>callback</code></em>
is <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.16.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
progress. It is borrowed from the object, and will become
invalid when the callback is called, the call is
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-interface-messages1-callback-for-send-message"></a><h3>tp_cli_channel_dispatcher_interface_messages1_callback_for_send_message ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_interface_messages1_callback_for_send_message<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *out_Token</code></em>,
                                <em class="parameter"><code>const <span class="type">GError</span> *error</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Signature of the callback called when a SendMessage method call
succeeds or fails.</p>
<div class="refsect3">
<a name="id-1.4.48.9.17.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_Token</p></td>
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
is <code class="literal">NULL</code>: An opaque token equivalent to the one returned by &lt;tp:dbus-ref namespace="ofdT.Channel.Interface"&gt;Messages.SendMessage&lt;/tp:dbus-ref&gt;.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code> on success, or an error on failure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>user-supplied object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-interface-operation-list-signal-callback-dispatch-operation-finished"></a><h3>tp_cli_channel_dispatcher_interface_operation_list_signal_callback_dispatch_operation_finished ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_interface_operation_list_signal_callback_dispatch_operation_finished<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *arg_Dispatch_Operation</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Represents the signature of a callback for the signal DispatchOperationFinished.</p>
<div class="refsect3">
<a name="id-1.4.48.9.18.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>The proxy on which <a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-operation-list-connect-to-dispatch-operation-finished" title="tp_cli_channel_dispatcher_interface_operation_list_connect_to_dispatch_operation_finished ()"><code class="function">tp_cli_channel_dispatcher_interface_operation_list_connect_to_dispatch_operation_finished()</code></a>
was called</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>arg_Dispatch_Operation</p></td>
<td class="parameter_description"><p>The dispatch operation that was closed.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>User-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>User-supplied weakly referenced object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-interface-operation-list-connect-to-dispatch-operation-finished"></a><h3>tp_cli_channel_dispatcher_interface_operation_list_connect_to_dispatch_operation_finished ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
tp_cli_channel_dispatcher_interface_operation_list_connect_to_dispatch_operation_finished
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-operation-list-signal-callback-dispatch-operation-finished" title="tp_cli_channel_dispatcher_interface_operation_list_signal_callback_dispatch_operation_finished ()"><span class="type">tp_cli_channel_dispatcher_interface_operation_list_signal_callback_dispatch_operation_finished</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>,
                                <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Connect a handler to the signal DispatchOperationFinished.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         Emitted when a dispatch operation finishes (i.e. exactly once per         emission of &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatchOperation.Finished&lt;/tp:dbus-ref&gt;).          &lt;tp:rationale&gt;           Strictly speaking this is redundant with           ChannelDispatchOperation.Finished, but it provides full           change-notification for the           &lt;tp:member-ref&gt;DispatchOperations&lt;/tp:member-ref&gt; property.         &lt;/tp:rationale&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.19.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> or subclass</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>Callback to be called when the signal is
received</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>Destructor for the user-supplied data, which
will be called when this signal is disconnected, or
before this function returns <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>A <span class="type">GObject</span> which will be weakly referenced;
if it is destroyed, this callback will automatically be
disconnected</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, used to raise an error if <code class="literal">NULL</code> is
returned</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.19.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
above, which can be used to disconnect the signal; or
<code class="literal">NULL</code> if the proxy does not have the desired interface
or has become invalid.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-interface-operation-list-signal-callback-new-dispatch-operation"></a><h3>tp_cli_channel_dispatcher_interface_operation_list_signal_callback_new_dispatch_operation ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*tp_cli_channel_dispatcher_interface_operation_list_signal_callback_new_dispatch_operation<span class="c_punctuation">)</span>
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *arg_Dispatch_Operation</code></em>,
                                <em class="parameter"><code><span class="type">GHashTable</span> *arg_Properties</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>);</pre>
<p>Represents the signature of a callback for the signal NewDispatchOperation.</p>
<div class="refsect3">
<a name="id-1.4.48.9.20.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>The proxy on which <a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-operation-list-connect-to-new-dispatch-operation" title="tp_cli_channel_dispatcher_interface_operation_list_connect_to_new_dispatch_operation ()"><code class="function">tp_cli_channel_dispatcher_interface_operation_list_connect_to_new_dispatch_operation()</code></a>
was called</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>arg_Dispatch_Operation</p></td>
<td class="parameter_description"><p>The dispatch operation that was created.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>arg_Properties</p></td>
<td class="parameter_description"><p>The same properties that would appear in the Properties member of           &lt;tp:type&gt;Dispatch_Operation_Details&lt;/tp:type&gt;.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>User-supplied data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>User-supplied weakly referenced object</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="tp-cli-channel-dispatcher-interface-operation-list-connect-to-new-dispatch-operation"></a><h3>tp_cli_channel_dispatcher_interface_operation_list_connect_to_new_dispatch_operation ()</h3>
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
tp_cli_channel_dispatcher_interface_operation_list_connect_to_new_dispatch_operation
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> *proxy</code></em>,
                                <em class="parameter"><code><a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-interface-operation-list-signal-callback-new-dispatch-operation" title="tp_cli_channel_dispatcher_interface_operation_list_signal_callback_new_dispatch_operation ()"><span class="type">tp_cli_channel_dispatcher_interface_operation_list_signal_callback_new_dispatch_operation</span></a> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
                                <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
                                <em class="parameter"><code><span class="type">GObject</span> *weak_object</code></em>,
                                <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Connect a handler to the signal NewDispatchOperation.</p>
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Emitted when a dispatch operation is added to           &lt;tp:member-ref&gt;DispatchOperations&lt;/tp:member-ref&gt;.&lt;/p&gt;</p>
<div class="refsect3">
<a name="id-1.4.48.9.21.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a> or subclass</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>Callback to be called when the signal is
received</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>Destructor for the user-supplied data, which
will be called when this signal is disconnected, or
before this function returns <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>weak_object</p></td>
<td class="parameter_description"><p>A <span class="type">GObject</span> which will be weakly referenced;
if it is destroyed, this callback will automatically be
disconnected</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>If not <code class="literal">NULL</code>, used to raise an error if <code class="literal">NULL</code> is
returned</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.48.9.21.7"></a><h4>Returns</h4>
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
above, which can be used to disconnect the signal; or
<code class="literal">NULL</code> if the proxy does not have the desired interface
or has become invalid.</p>
<p></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="telepathy-glib-channel-dispatcher.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="TpChannelDispatcher-struct"></a><h3>struct TpChannelDispatcher</h3>
<pre class="programlisting">struct TpChannelDispatcher;</pre>
<p>The Channel Dispatcher's main D-Bus API is used to request channels,
which is done by calling <a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-call-create-channel" title="tp_cli_channel_dispatcher_call_create_channel ()"><code class="function">tp_cli_channel_dispatcher_call_create_channel()</code></a> or
<a class="link" href="telepathy-glib-channel-dispatcher.html#tp-cli-channel-dispatcher-call-ensure-channel" title="tp_cli_channel_dispatcher_call_ensure_channel ()"><code class="function">tp_cli_channel_dispatcher_call_ensure_channel()</code></a> as appropriate.</p>
<p>The Telepathy Channel Dispatcher is also responsible for responding to new
channels and launching client processes to handle them. However, clients
that can work with incoming channels do not have to call methods
on the channel dispatcher: instead, they must register with the channel
dispatcher passively, by taking a bus name starting with
<a class="link" href="telepathy-glib-defs.html#TP-CLIENT-BUS-NAME-BASE:CAPS" title="TP_CLIENT_BUS_NAME_BASE"><code class="literal">TP_CLIENT_BUS_NAME_BASE</code></a> and implementing the <a class="link" href="telepathy-glib-svc-client.html#TpSvcClient"><span class="type">TpSvcClient</span></a> interface.
See the Telepathy D-Bus Interface Specification for details.</p>
<p>This proxy is usable but incomplete: convenience methods will be added in
a later version of telepathy-glib, along with a mechanism similar to
<a class="link" href="telepathy-glib-connection.html#tp-connection-call-when-ready" title="tp_connection_call_when_ready ()"><code class="function">tp_connection_call_when_ready()</code></a>.</p>
<p class="since">Since 0.7.32</p>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelDispatcherClass"></a><h3>struct TpChannelDispatcherClass</h3>
<pre class="programlisting">struct TpChannelDispatcherClass {
};
</pre>
<p>The class of a <a class="link" href="telepathy-glib-channel-dispatcher.html#TpChannelDispatcher"><span class="type">TpChannelDispatcher</span></a>.</p>
</div>
</div>
<div class="refsect1">
<a name="telepathy-glib-channel-dispatcher.see-also"></a><h2>See Also</h2>
<p><a class="link" href="telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a>, <a class="link" href="telepathy-glib-channel-request.html#TpChannelRequest"><span class="type">TpChannelRequest</span></a></p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.21</div>
</body>
</html>