/usr/share/proton-0.10/docs/api-c/a00044.html is in libqpid-proton2-dev-doc 0.10-2.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>proton: Connection</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">proton
 <span id="projectnumber">0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li class="current"><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#groups">Modules</a> |
<a href="#define-members">Macros</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Connection<div class="ingroups"><a class="el" href="a00048.html">Engine</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:a00043"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00043.html">Condition</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gac83dd8123b992813be86fe0f7eaf8f61"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gac83dd8123b992813be86fe0f7eaf8f61">PN_LOCAL_UNINIT</a>   (1)</td></tr>
<tr class="memdesc:gac83dd8123b992813be86fe0f7eaf8f61"><td class="mdescLeft"> </td><td class="mdescRight">The local <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is uninitialized. <a href="#gac83dd8123b992813be86fe0f7eaf8f61">More...</a><br /></td></tr>
<tr class="separator:gac83dd8123b992813be86fe0f7eaf8f61"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0c3bf54f0991944a2f6eea36b561fa2b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga0c3bf54f0991944a2f6eea36b561fa2b">PN_LOCAL_ACTIVE</a>   (2)</td></tr>
<tr class="memdesc:ga0c3bf54f0991944a2f6eea36b561fa2b"><td class="mdescLeft"> </td><td class="mdescRight">The local <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is active. <a href="#ga0c3bf54f0991944a2f6eea36b561fa2b">More...</a><br /></td></tr>
<tr class="separator:ga0c3bf54f0991944a2f6eea36b561fa2b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga602c2c870ebed1d9bfe100876909225b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga602c2c870ebed1d9bfe100876909225b">PN_LOCAL_CLOSED</a>   (4)</td></tr>
<tr class="memdesc:ga602c2c870ebed1d9bfe100876909225b"><td class="mdescLeft"> </td><td class="mdescRight">The local <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is closed. <a href="#ga602c2c870ebed1d9bfe100876909225b">More...</a><br /></td></tr>
<tr class="separator:ga602c2c870ebed1d9bfe100876909225b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga4c35fcb0aacd254d586df8594ee770d3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga4c35fcb0aacd254d586df8594ee770d3">PN_REMOTE_UNINIT</a>   (8)</td></tr>
<tr class="memdesc:ga4c35fcb0aacd254d586df8594ee770d3"><td class="mdescLeft"> </td><td class="mdescRight">The remote <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is uninitialized. <a href="#ga4c35fcb0aacd254d586df8594ee770d3">More...</a><br /></td></tr>
<tr class="separator:ga4c35fcb0aacd254d586df8594ee770d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad96220f2886c21a4f2eebc9487f53a87"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87">PN_REMOTE_ACTIVE</a>   (16)</td></tr>
<tr class="memdesc:gad96220f2886c21a4f2eebc9487f53a87"><td class="mdescLeft"> </td><td class="mdescRight">The remote <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is active. <a href="#gad96220f2886c21a4f2eebc9487f53a87">More...</a><br /></td></tr>
<tr class="separator:gad96220f2886c21a4f2eebc9487f53a87"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga764c602a20457f9aa8862825b6d13a8d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga764c602a20457f9aa8862825b6d13a8d">PN_REMOTE_CLOSED</a>   (32)</td></tr>
<tr class="memdesc:ga764c602a20457f9aa8862825b6d13a8d"><td class="mdescLeft"> </td><td class="mdescRight">The remote <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is closed. <a href="#ga764c602a20457f9aa8862825b6d13a8d">More...</a><br /></td></tr>
<tr class="separator:ga764c602a20457f9aa8862825b6d13a8d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga32329c4bb3e23607a243cd8100c01264"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga32329c4bb3e23607a243cd8100c01264">PN_LOCAL_MASK</a>   (<a class="el" href="a00044.html#gac83dd8123b992813be86fe0f7eaf8f61">PN_LOCAL_UNINIT</a> | <a class="el" href="a00044.html#ga0c3bf54f0991944a2f6eea36b561fa2b">PN_LOCAL_ACTIVE</a> | <a class="el" href="a00044.html#ga602c2c870ebed1d9bfe100876909225b">PN_LOCAL_CLOSED</a>)</td></tr>
<tr class="memdesc:ga32329c4bb3e23607a243cd8100c01264"><td class="mdescLeft"> </td><td class="mdescRight">A mask for values of <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233" title="Holds the state flags for an AMQP endpoint. ">pn_state_t</a> that preserves only the local bits of an endpoint's state. <a href="#ga32329c4bb3e23607a243cd8100c01264">More...</a><br /></td></tr>
<tr class="separator:ga32329c4bb3e23607a243cd8100c01264"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga695af0c2d90d50f4baf403ea60710fa3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga695af0c2d90d50f4baf403ea60710fa3">PN_REMOTE_MASK</a>   (<a class="el" href="a00044.html#ga4c35fcb0aacd254d586df8594ee770d3">PN_REMOTE_UNINIT</a> | <a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87">PN_REMOTE_ACTIVE</a> | <a class="el" href="a00044.html#ga764c602a20457f9aa8862825b6d13a8d">PN_REMOTE_CLOSED</a>)</td></tr>
<tr class="memdesc:ga695af0c2d90d50f4baf403ea60710fa3"><td class="mdescLeft"> </td><td class="mdescRight">A mask for values of <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233" title="Holds the state flags for an AMQP endpoint. ">pn_state_t</a> that preserves only the remote bits of an endpoint's state. <a href="#ga695af0c2d90d50f4baf403ea60710fa3">More...</a><br /></td></tr>
<tr class="separator:ga695af0c2d90d50f4baf403ea60710fa3"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gaa83193a655e32bffc18624acc2c39233"><td class="memItemLeft" align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a></td></tr>
<tr class="memdesc:gaa83193a655e32bffc18624acc2c39233"><td class="mdescLeft"> </td><td class="mdescRight">Holds the state flags for an AMQP endpoint. <a href="#gaa83193a655e32bffc18624acc2c39233">More...</a><br /></td></tr>
<tr class="separator:gaa83193a655e32bffc18624acc2c39233"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga886351d81ff3a977a284a206526c5aff"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a></td></tr>
<tr class="memdesc:ga886351d81ff3a977a284a206526c5aff"><td class="mdescLeft"> </td><td class="mdescRight">An AMQP Connection object. <a href="#ga886351d81ff3a977a284a206526c5aff">More...</a><br /></td></tr>
<tr class="separator:ga886351d81ff3a977a284a206526c5aff"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7ad02932efd7fd54938813852f7b61dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga7ad02932efd7fd54938813852f7b61dc">pn_connection</a> (void)</td></tr>
<tr class="memdesc:ga7ad02932efd7fd54938813852f7b61dc"><td class="mdescLeft"> </td><td class="mdescRight">Factory to construct a new Connection. <a href="#ga7ad02932efd7fd54938813852f7b61dc">More...</a><br /></td></tr>
<tr class="separator:ga7ad02932efd7fd54938813852f7b61dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga94b0ff0015b3d2c2325fb24cc0e65bf2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga94b0ff0015b3d2c2325fb24cc0e65bf2">pn_connection_free</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga94b0ff0015b3d2c2325fb24cc0e65bf2"><td class="mdescLeft"> </td><td class="mdescRight">Free a connection object. <a href="#ga94b0ff0015b3d2c2325fb24cc0e65bf2">More...</a><br /></td></tr>
<tr class="separator:ga94b0ff0015b3d2c2325fb24cc0e65bf2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa373c1fb55103e273944f49cc8b0edf5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gaa373c1fb55103e273944f49cc8b0edf5">pn_connection_release</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:gaa373c1fb55103e273944f49cc8b0edf5"><td class="mdescLeft"> </td><td class="mdescRight">Release a connection object. <a href="#gaa373c1fb55103e273944f49cc8b0edf5">More...</a><br /></td></tr>
<tr class="separator:gaa373c1fb55103e273944f49cc8b0edf5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6ee261d6544bd80c8db1c00861e6847b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00019.html#a24a289d5b32c9bd8a775600a5af83d52">pn_error_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga6ee261d6544bd80c8db1c00861e6847b">pn_connection_error</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga6ee261d6544bd80c8db1c00861e6847b"><td class="mdescLeft"> </td><td class="mdescRight">Get additional error information associated with the connection. <a href="#ga6ee261d6544bd80c8db1c00861e6847b">More...</a><br /></td></tr>
<tr class="separator:ga6ee261d6544bd80c8db1c00861e6847b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7943e7721ab30776cb79d4799d628164"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga7943e7721ab30776cb79d4799d628164">pn_connection_collect</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection, <a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:ga7943e7721ab30776cb79d4799d628164"><td class="mdescLeft"> </td><td class="mdescRight">Associate a connection object with an event collector. <a href="#ga7943e7721ab30776cb79d4799d628164">More...</a><br /></td></tr>
<tr class="separator:ga7943e7721ab30776cb79d4799d628164"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf304c011df5e00160f49297ba172149c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gaf304c011df5e00160f49297ba172149c">pn_connection_get_context</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="separator:gaf304c011df5e00160f49297ba172149c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3f6cdab1871250511beef56402a4f7f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga3f6cdab1871250511beef56402a4f7f7">pn_connection_set_context</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection, void *context)</td></tr>
<tr class="separator:ga3f6cdab1871250511beef56402a4f7f7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8510314b8226658d14ee20253bde5853"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00028.html#a70655c422210ccf8f4616e4c28a8b1d4">pn_record_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga8510314b8226658d14ee20253bde5853">pn_connection_attachments</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga8510314b8226658d14ee20253bde5853"><td class="mdescLeft"> </td><td class="mdescRight">Get the attachments that are associated with a connection object. <a href="#ga8510314b8226658d14ee20253bde5853">More...</a><br /></td></tr>
<tr class="separator:ga8510314b8226658d14ee20253bde5853"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab2f0a1503fa22e705dcad9056054a18a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gab2f0a1503fa22e705dcad9056054a18a">pn_connection_state</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:gab2f0a1503fa22e705dcad9056054a18a"><td class="mdescLeft"> </td><td class="mdescRight">Get the endpoint state flags for a connection. <a href="#gab2f0a1503fa22e705dcad9056054a18a">More...</a><br /></td></tr>
<tr class="separator:gab2f0a1503fa22e705dcad9056054a18a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7458674f4779b1e863494a991c923c0e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga7458674f4779b1e863494a991c923c0e">pn_connection_open</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga7458674f4779b1e863494a991c923c0e"><td class="mdescLeft"> </td><td class="mdescRight">Open a connection. <a href="#ga7458674f4779b1e863494a991c923c0e">More...</a><br /></td></tr>
<tr class="separator:ga7458674f4779b1e863494a991c923c0e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacc8f6e4fd7c886c084212852918bd8cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gacc8f6e4fd7c886c084212852918bd8cf">pn_connection_close</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:gacc8f6e4fd7c886c084212852918bd8cf"><td class="mdescLeft"> </td><td class="mdescRight">Close a connection. <a href="#gacc8f6e4fd7c886c084212852918bd8cf">More...</a><br /></td></tr>
<tr class="separator:gacc8f6e4fd7c886c084212852918bd8cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5da6d9f55883af5f996d45828a7034a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga5da6d9f55883af5f996d45828a7034a7">pn_connection_reset</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga5da6d9f55883af5f996d45828a7034a7"><td class="mdescLeft"> </td><td class="mdescRight">Reset a connection object back to the uninitialized state. <a href="#ga5da6d9f55883af5f996d45828a7034a7">More...</a><br /></td></tr>
<tr class="separator:ga5da6d9f55883af5f996d45828a7034a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf9b7a7f1b127151a1cb35dcb86bcbe6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5">pn_condition_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gaf9b7a7f1b127151a1cb35dcb86bcbe6d">pn_connection_condition</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:gaf9b7a7f1b127151a1cb35dcb86bcbe6d"><td class="mdescLeft"> </td><td class="mdescRight">Get the local condition associated with the connection endpoint. <a href="#gaf9b7a7f1b127151a1cb35dcb86bcbe6d">More...</a><br /></td></tr>
<tr class="separator:gaf9b7a7f1b127151a1cb35dcb86bcbe6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6a8f4087f792e701e01a572b8ac84dd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5">pn_condition_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga6a8f4087f792e701e01a572b8ac84dd0">pn_connection_remote_condition</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga6a8f4087f792e701e01a572b8ac84dd0"><td class="mdescLeft"> </td><td class="mdescRight">Get the remote condition associated with the connection endpoint. <a href="#ga6a8f4087f792e701e01a572b8ac84dd0">More...</a><br /></td></tr>
<tr class="separator:ga6a8f4087f792e701e01a572b8ac84dd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1ae9f5d1b693ed734384241100564c60"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga1ae9f5d1b693ed734384241100564c60">pn_connection_get_container</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga1ae9f5d1b693ed734384241100564c60"><td class="mdescLeft"> </td><td class="mdescRight">Get the AMQP Container name advertised by a connection object. <a href="#ga1ae9f5d1b693ed734384241100564c60">More...</a><br /></td></tr>
<tr class="separator:ga1ae9f5d1b693ed734384241100564c60"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga26407d58547c672d64858e07375e0965"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga26407d58547c672d64858e07375e0965">pn_connection_set_container</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection, const char *container)</td></tr>
<tr class="memdesc:ga26407d58547c672d64858e07375e0965"><td class="mdescLeft"> </td><td class="mdescRight">Set the AMQP Container name advertised by a connection object. <a href="#ga26407d58547c672d64858e07375e0965">More...</a><br /></td></tr>
<tr class="separator:ga26407d58547c672d64858e07375e0965"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga167a317ed0316c37e28a11e4e97d6a53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga167a317ed0316c37e28a11e4e97d6a53">pn_connection_set_user</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection, const char *user)</td></tr>
<tr class="memdesc:ga167a317ed0316c37e28a11e4e97d6a53"><td class="mdescLeft"> </td><td class="mdescRight">Set the authentication username for a client connection. <a href="#ga167a317ed0316c37e28a11e4e97d6a53">More...</a><br /></td></tr>
<tr class="separator:ga167a317ed0316c37e28a11e4e97d6a53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacaaee6956135f36d9bd6ef4d9f300a2c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gacaaee6956135f36d9bd6ef4d9f300a2c">pn_connection_set_password</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection, const char *password)</td></tr>
<tr class="memdesc:gacaaee6956135f36d9bd6ef4d9f300a2c"><td class="mdescLeft"> </td><td class="mdescRight">Set the authentication password for a client connection. <a href="#gacaaee6956135f36d9bd6ef4d9f300a2c">More...</a><br /></td></tr>
<tr class="separator:gacaaee6956135f36d9bd6ef4d9f300a2c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaeb5426c33775c4d668d1653426e65d95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gaeb5426c33775c4d668d1653426e65d95">pn_connection_get_user</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:gaeb5426c33775c4d668d1653426e65d95"><td class="mdescLeft"> </td><td class="mdescRight">Get the authentication username for a client connection. <a href="#gaeb5426c33775c4d668d1653426e65d95">More...</a><br /></td></tr>
<tr class="separator:gaeb5426c33775c4d668d1653426e65d95"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac1df3c6f6d31bbc1a0e0e7e4ffb1b4fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gac1df3c6f6d31bbc1a0e0e7e4ffb1b4fa">pn_connection_get_hostname</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:gac1df3c6f6d31bbc1a0e0e7e4ffb1b4fa"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the AMQP Hostname used by a connection object. <a href="#gac1df3c6f6d31bbc1a0e0e7e4ffb1b4fa">More...</a><br /></td></tr>
<tr class="separator:gac1df3c6f6d31bbc1a0e0e7e4ffb1b4fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga204a7c356658d414f5d08da4f25f5d9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga204a7c356658d414f5d08da4f25f5d9e">pn_connection_set_hostname</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection, const char *hostname)</td></tr>
<tr class="memdesc:ga204a7c356658d414f5d08da4f25f5d9e"><td class="mdescLeft"> </td><td class="mdescRight">Set the value of the AMQP Hostname used by a connection object. <a href="#ga204a7c356658d414f5d08da4f25f5d9e">More...</a><br /></td></tr>
<tr class="separator:ga204a7c356658d414f5d08da4f25f5d9e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga466d510620741123b4e9ba723c039f0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga466d510620741123b4e9ba723c039f0c">pn_connection_remote_container</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga466d510620741123b4e9ba723c039f0c"><td class="mdescLeft"> </td><td class="mdescRight">Get the AMQP Container name advertised by the remote connection endpoint. <a href="#ga466d510620741123b4e9ba723c039f0c">More...</a><br /></td></tr>
<tr class="separator:ga466d510620741123b4e9ba723c039f0c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2d78f4bf7484fa8a44bb7fd64b7a75e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga2d78f4bf7484fa8a44bb7fd64b7a75e8">pn_connection_remote_hostname</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga2d78f4bf7484fa8a44bb7fd64b7a75e8"><td class="mdescLeft"> </td><td class="mdescRight">Get the AMQP Hostname set by the remote connection endpoint. <a href="#ga2d78f4bf7484fa8a44bb7fd64b7a75e8">More...</a><br /></td></tr>
<tr class="separator:ga2d78f4bf7484fa8a44bb7fd64b7a75e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8b7a3914155561305f814d12422c874a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga8b7a3914155561305f814d12422c874a">pn_connection_offered_capabilities</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga8b7a3914155561305f814d12422c874a"><td class="mdescLeft"> </td><td class="mdescRight">Access/modify the AMQP offered capabilities data for a connection object. <a href="#ga8b7a3914155561305f814d12422c874a">More...</a><br /></td></tr>
<tr class="separator:ga8b7a3914155561305f814d12422c874a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga608fc121ce149f534bac640b119d2230"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga608fc121ce149f534bac640b119d2230">pn_connection_desired_capabilities</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga608fc121ce149f534bac640b119d2230"><td class="mdescLeft"> </td><td class="mdescRight">Access/modify the AMQP desired capabilities data for a connection object. <a href="#ga608fc121ce149f534bac640b119d2230">More...</a><br /></td></tr>
<tr class="separator:ga608fc121ce149f534bac640b119d2230"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab8700c359187ecb9451acf43c78c5486"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#gab8700c359187ecb9451acf43c78c5486">pn_connection_properties</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:gab8700c359187ecb9451acf43c78c5486"><td class="mdescLeft"> </td><td class="mdescRight">Access/modify the AMQP properties data for a connection object. <a href="#gab8700c359187ecb9451acf43c78c5486">More...</a><br /></td></tr>
<tr class="separator:gab8700c359187ecb9451acf43c78c5486"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9d3578b047e3f0118c0fd5e106f58579"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga9d3578b047e3f0118c0fd5e106f58579">pn_connection_remote_offered_capabilities</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga9d3578b047e3f0118c0fd5e106f58579"><td class="mdescLeft"> </td><td class="mdescRight">Access the AMQP offered capabilites supplied by the remote connection endpoint. <a href="#ga9d3578b047e3f0118c0fd5e106f58579">More...</a><br /></td></tr>
<tr class="separator:ga9d3578b047e3f0118c0fd5e106f58579"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga57a496ea0893c5920a7ace900e033a74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga57a496ea0893c5920a7ace900e033a74">pn_connection_remote_desired_capabilities</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga57a496ea0893c5920a7ace900e033a74"><td class="mdescLeft"> </td><td class="mdescRight">Access the AMQP desired capabilites supplied by the remote connection endpoint. <a href="#ga57a496ea0893c5920a7ace900e033a74">More...</a><br /></td></tr>
<tr class="separator:ga57a496ea0893c5920a7ace900e033a74"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga98cc1795b88c340ee0d3aab3b8db0abf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga98cc1795b88c340ee0d3aab3b8db0abf">pn_connection_remote_properties</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga98cc1795b88c340ee0d3aab3b8db0abf"><td class="mdescLeft"> </td><td class="mdescRight">Access the AMQP connection properties supplied by the remote connection endpoint. <a href="#ga98cc1795b88c340ee0d3aab3b8db0abf">More...</a><br /></td></tr>
<tr class="separator:ga98cc1795b88c340ee0d3aab3b8db0abf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9181af243a5958309ad90bf8460634ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00062.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html#ga9181af243a5958309ad90bf8460634ae">pn_connection_transport</a> (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection)</td></tr>
<tr class="memdesc:ga9181af243a5958309ad90bf8460634ae"><td class="mdescLeft"> </td><td class="mdescRight">Get the transport bound to a connection object. <a href="#ga9181af243a5958309ad90bf8460634ae">More...</a><br /></td></tr>
<tr class="separator:ga9181af243a5958309ad90bf8460634ae"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga0c3bf54f0991944a2f6eea36b561fa2b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_LOCAL_ACTIVE   (2)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The local <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is active. </p>
</div>
</div>
<a class="anchor" id="ga602c2c870ebed1d9bfe100876909225b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_LOCAL_CLOSED   (4)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The local <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is closed. </p>
</div>
</div>
<a class="anchor" id="ga32329c4bb3e23607a243cd8100c01264"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_LOCAL_MASK   (<a class="el" href="a00044.html#gac83dd8123b992813be86fe0f7eaf8f61">PN_LOCAL_UNINIT</a> | <a class="el" href="a00044.html#ga0c3bf54f0991944a2f6eea36b561fa2b">PN_LOCAL_ACTIVE</a> | <a class="el" href="a00044.html#ga602c2c870ebed1d9bfe100876909225b">PN_LOCAL_CLOSED</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>A mask for values of <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233" title="Holds the state flags for an AMQP endpoint. ">pn_state_t</a> that preserves only the local bits of an endpoint's state. </p>
</div>
</div>
<a class="anchor" id="gac83dd8123b992813be86fe0f7eaf8f61"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_LOCAL_UNINIT   (1)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The local <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is uninitialized. </p>
</div>
</div>
<a class="anchor" id="gad96220f2886c21a4f2eebc9487f53a87"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_REMOTE_ACTIVE   (16)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The remote <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is active. </p>
</div>
</div>
<a class="anchor" id="ga764c602a20457f9aa8862825b6d13a8d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_REMOTE_CLOSED   (32)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The remote <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is closed. </p>
</div>
</div>
<a class="anchor" id="ga695af0c2d90d50f4baf403ea60710fa3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_REMOTE_MASK   (<a class="el" href="a00044.html#ga4c35fcb0aacd254d586df8594ee770d3">PN_REMOTE_UNINIT</a> | <a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87">PN_REMOTE_ACTIVE</a> | <a class="el" href="a00044.html#ga764c602a20457f9aa8862825b6d13a8d">PN_REMOTE_CLOSED</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>A mask for values of <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233" title="Holds the state flags for an AMQP endpoint. ">pn_state_t</a> that preserves only the remote bits of an endpoint's state. </p>
</div>
</div>
<a class="anchor" id="ga4c35fcb0aacd254d586df8594ee770d3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PN_REMOTE_UNINIT   (8)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The remote <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">endpoint state </a> is uninitialized. </p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga886351d81ff3a977a284a206526c5aff"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>An AMQP Connection object. </p>
<p>A pn_connection_t object encapsulates all of the endpoint state associated with an AMQP Connection. A pn_connection_t object contains zero or more <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9" title="An AMQP Session object. ">pn_session_t</a> objects, which in turn contain zero or more <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0" title="An AMQP Link object. ">pn_link_t</a> objects. Each <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0" title="An AMQP Link object. ">pn_link_t</a> object contains an ordered sequence of <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340" title="An AMQP Delivery object. ">pn_delivery_t</a> objects. A link is either a <a class="el" href="a00052.html">Sender </a>, or a <a class="el" href="a00053.html">Receiver </a>, but never both. </p>
</div>
</div>
<a class="anchor" id="gaa83193a655e32bffc18624acc2c39233"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Holds the state flags for an AMQP endpoint. </p>
<p>A pn_state_t is an integral value with flags that encode both the local and remote state of an AMQP Endpoint (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">Connection </a>, <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">Session </a>, or <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">Link </a>). The local portion of the state may be accessed using <a class="el" href="a00044.html#ga32329c4bb3e23607a243cd8100c01264" title="A mask for values of pn_state_t that preserves only the local bits of an endpoint's state...">PN_LOCAL_MASK</a>, and the remote portion may be accessed using <a class="el" href="a00044.html#ga695af0c2d90d50f4baf403ea60710fa3" title="A mask for values of pn_state_t that preserves only the remote bits of an endpoint's state...">PN_REMOTE_MASK</a>. Individual bits may be accessed using <a class="el" href="a00044.html#gac83dd8123b992813be86fe0f7eaf8f61" title="The local endpoint state is uninitialized. ">PN_LOCAL_UNINIT</a>, <a class="el" href="a00044.html#ga0c3bf54f0991944a2f6eea36b561fa2b" title="The local endpoint state is active. ">PN_LOCAL_ACTIVE</a>, <a class="el" href="a00044.html#ga602c2c870ebed1d9bfe100876909225b" title="The local endpoint state is closed. ">PN_LOCAL_CLOSED</a>, and <a class="el" href="a00044.html#ga4c35fcb0aacd254d586df8594ee770d3" title="The remote endpoint state is uninitialized. ">PN_REMOTE_UNINIT</a>, <a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87" title="The remote endpoint state is active. ">PN_REMOTE_ACTIVE</a>, <a class="el" href="a00044.html#ga764c602a20457f9aa8862825b6d13a8d" title="The remote endpoint state is closed. ">PN_REMOTE_CLOSED</a>.</p>
<p>Every AMQP endpoint (<a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">Connection </a>, <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">Session </a>, or <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">Link </a>) starts out in an uninitialized state and then proceeds linearly to an active and then closed state. This lifecycle occurs at both endpoints involved, and so the state model for an endpoint includes not only the known local state, but also the last known state of the remote endpoint. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga7ad02932efd7fd54938813852f7b61dc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a>* pn_connection </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Factory to construct a new Connection. </p>
<dl class="section return"><dt>Returns</dt><dd>pointer to a new connection object. </dd></dl>
</div>
</div>
<a class="anchor" id="ga8510314b8226658d14ee20253bde5853"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00028.html#a70655c422210ccf8f4616e4c28a8b1d4">pn_record_t</a>* pn_connection_attachments </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the attachments that are associated with a connection object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection whose attachments are to be returned. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the attachments for the connection object </dd></dl>
</div>
</div>
<a class="anchor" id="gacc8f6e4fd7c886c084212852918bd8cf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_close </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Close a connection. </p>
<p>Once this operation has completed, the PN_LOCAL_CLOSED state flag will be set. This may be called without calling <a class="el" href="a00044.html#ga7458674f4779b1e863494a991c923c0e" title="Open a connection. ">pn_connection_open</a>, in this case it is equivalent to calling <a class="el" href="a00044.html#ga7458674f4779b1e863494a991c923c0e" title="Open a connection. ">pn_connection_open</a> followed by <a class="el" href="a00044.html#gacc8f6e4fd7c886c084212852918bd8cf" title="Close a connection. ">pn_connection_close</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>a connection object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga7943e7721ab30776cb79d4799d628164"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_collect </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> * </td>
<td class="paramname"><em>collector</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Associate a connection object with an event collector. </p>
<p>By associating a connection object with an event collector, key changes in endpoint state are reported to the collector via <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8" title="An event provides notification of a state change within the protocol engine's object model...">pn_event_t</a> objects that can be inspected and processed. See <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8" title="An event provides notification of a state change within the protocol engine's object model...">pn_event_t</a> for more details on the kinds of events.</p>
<p>Note that by registering a collector, the user is requesting that an indefinite number of events be queued up on his behalf. This means that unless the application eventually processes these events, the storage requirements for keeping them will grow without bound. In other words, don't register a collector with a connection if you never intend to process any of the events.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>the event collector </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gaf9b7a7f1b127151a1cb35dcb86bcbe6d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5">pn_condition_t</a>* pn_connection_condition </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the local condition associated with the connection endpoint. </p>
<p>The <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5" title="An AMQP Condition object. ">pn_condition_t</a> object retrieved may be modified prior to closing the connection in order to indicate a particular condition exists when the connection closes. This is normally used to communicate error conditions to the remote peer, however it may also be used in non error cases such as redirects. See <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5" title="An AMQP Condition object. ">pn_condition_t</a> for more details.</p>
<p>The pointer returned by this operation is valid until the connection object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the connection's local condition object </dd></dl>
</div>
</div>
<a class="anchor" id="ga608fc121ce149f534bac640b119d2230"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_connection_desired_capabilities </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access/modify the AMQP desired capabilities data for a connection object. </p>
<p>This operation will return a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object that is valid until the connection object is freed. Any data contained by the <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object will be sent as the desired capabilites for the parent connection object. Note that this MUST take the form of an array of symbols to be valid.</p>
<p>The <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> pointer returned is valid until the connection object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a pn_data_t representing the desired capabilities </dd></dl>
</div>
</div>
<a class="anchor" id="ga6ee261d6544bd80c8db1c00861e6847b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00019.html#a24a289d5b32c9bd8a775600a5af83d52">pn_error_t</a>* pn_connection_error </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get additional error information associated with the connection. </p>
<p>Whenever a connection operation fails (i.e. returns an error code), additional error details can be obtained using this function. The error object that is returned may also be used to clear the error condition.</p>
<p>The pointer returned by this operation is valid until the connection object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the connection's error object </dd></dl>
</div>
</div>
<a class="anchor" id="ga94b0ff0015b3d2c2325fb24cc0e65bf2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_free </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Free a connection object. </p>
<p>When a connection object is freed, all <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9" title="An AMQP Session object. ">pn_session_t</a>, <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0" title="An AMQP Link object. ">pn_link_t</a>, and <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340" title="An AMQP Delivery object. ">pn_delivery_t</a> objects associated with the connection are also freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object to free (or NULL) </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga1ae9f5d1b693ed734384241100564c60"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_connection_get_container </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the AMQP Container name advertised by a connection object. </p>
<p>The pointer returned by this operation is valid until <a class="el" href="a00044.html#ga26407d58547c672d64858e07375e0965" title="Set the AMQP Container name advertised by a connection object. ">pn_connection_set_container</a> is called, or until the connection object is freed, whichever happens sooner.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the container name </dd></dl>
</div>
</div>
<a class="anchor" id="gaf304c011df5e00160f49297ba172149c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void* pn_connection_get_context </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="a00001.html#_deprecated000001">Deprecated:</a></b></dt><dd>Get the application context that is associated with a connection object.</dd></dl>
<p>The application context for a connection may be set using <a class="el" href="a00044.html#ga3f6cdab1871250511beef56402a4f7f7">pn_connection_set_context</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection whose context is to be returned. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the application context for the connection object </dd></dl>
</div>
</div>
<a class="anchor" id="gac1df3c6f6d31bbc1a0e0e7e4ffb1b4fa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_connection_get_hostname </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the AMQP Hostname used by a connection object. </p>
<p>The pointer returned by this operation is valid until <a class="el" href="a00044.html#ga204a7c356658d414f5d08da4f25f5d9e" title="Set the value of the AMQP Hostname used by a connection object. ">pn_connection_set_hostname</a> is called, or until the connection object is freed, whichever happens sooner.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the hostname </dd></dl>
</div>
</div>
<a class="anchor" id="gaeb5426c33775c4d668d1653426e65d95"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_connection_get_user </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the authentication username for a client connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the username passed into the connection </dd></dl>
</div>
</div>
<a class="anchor" id="ga8b7a3914155561305f814d12422c874a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_connection_offered_capabilities </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access/modify the AMQP offered capabilities data for a connection object. </p>
<p>This operation will return a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object that is valid until the connection object is freed. Any data contained by the <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object will be sent as the offered capabilites for the parent connection object. Note that this MUST take the form of an array of symbols to be valid.</p>
<p>The <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> pointer returned is valid until the connection object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a pn_data_t representing the offered capabilities </dd></dl>
</div>
</div>
<a class="anchor" id="ga7458674f4779b1e863494a991c923c0e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_open </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Open a connection. </p>
<p>Once this operation has completed, the PN_LOCAL_ACTIVE state flag will be set.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>a connection object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gab8700c359187ecb9451acf43c78c5486"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_connection_properties </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access/modify the AMQP properties data for a connection object. </p>
<p>This operation will return a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object that is valid until the connection object is freed. Any data contained by the <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object will be sent as the AMQP properties for the parent connection object. Note that this MUST take the form of a symbol keyed map to be valid.</p>
<p>The <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> pointer returned is valid until the connection object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a pn_data_t representing the connection properties </dd></dl>
</div>
</div>
<a class="anchor" id="gaa373c1fb55103e273944f49cc8b0edf5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_release </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Release a connection object. </p>
<p>When a connection object is released, all <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9" title="An AMQP Session object. ">pn_session_t</a> and <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0" title="An AMQP Link object. ">pn_link_t</a>, objects associated with the connection are also released and all <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340" title="An AMQP Delivery object. ">pn_delivery_t</a> objects are settled.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object to be released </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga6a8f4087f792e701e01a572b8ac84dd0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5">pn_condition_t</a>* pn_connection_remote_condition </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the remote condition associated with the connection endpoint. </p>
<p>The <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5" title="An AMQP Condition object. ">pn_condition_t</a> object retrieved may be examined in order to determine whether the remote peer was indicating some sort of exceptional condition when the remote connection endpoint was closed. The <a class="el" href="a00043.html#ga11eb7db7d2c205169fe3d47c996a95a5" title="An AMQP Condition object. ">pn_condition_t</a> object returned may not be modified.</p>
<p>The pointer returned by this operation is valid until the connection object is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the connection's remote condition object </dd></dl>
</div>
</div>
<a class="anchor" id="ga466d510620741123b4e9ba723c039f0c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_connection_remote_container </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the AMQP Container name advertised by the remote connection endpoint. </p>
<p>This will return NULL until the <a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87" title="The remote endpoint state is active. ">PN_REMOTE_ACTIVE</a> state is reached. See <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233" title="Holds the state flags for an AMQP endpoint. ">pn_state_t</a> for more details on endpoint state.</p>
<p>Any non null pointer returned by this operation will be valid until the connection object is unbound from a transport or freed, whichever happens sooner.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the remote container name </dd></dl>
</div>
</div>
<a class="anchor" id="ga57a496ea0893c5920a7ace900e033a74"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_connection_remote_desired_capabilities </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the AMQP desired capabilites supplied by the remote connection endpoint. </p>
<p>This operation will return a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object that is valid until the connection object is freed. This data object will be empty until the remote connection is opened as indicated by the <a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87" title="The remote endpoint state is active. ">PN_REMOTE_ACTIVE</a> flag.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the remote desired capabilities </dd></dl>
</div>
</div>
<a class="anchor" id="ga2d78f4bf7484fa8a44bb7fd64b7a75e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_connection_remote_hostname </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the AMQP Hostname set by the remote connection endpoint. </p>
<p>This will return NULL until the <a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87" title="The remote endpoint state is active. ">PN_REMOTE_ACTIVE</a> state is reached. See <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233" title="Holds the state flags for an AMQP endpoint. ">pn_state_t</a> for more details on endpoint state.</p>
<p>Any non null pointer returned by this operation will be valid until the connection object is unbound from a transport or freed, whichever happens sooner.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the remote hostname </dd></dl>
</div>
</div>
<a class="anchor" id="ga9d3578b047e3f0118c0fd5e106f58579"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_connection_remote_offered_capabilities </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the AMQP offered capabilites supplied by the remote connection endpoint. </p>
<p>This operation will return a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object that is valid until the connection object is freed. This data object will be empty until the remote connection is opened as indicated by the <a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87" title="The remote endpoint state is active. ">PN_REMOTE_ACTIVE</a> flag.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the remote offered capabilities </dd></dl>
</div>
</div>
<a class="anchor" id="ga98cc1795b88c340ee0d3aab3b8db0abf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf">pn_data_t</a>* pn_connection_remote_properties </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the AMQP connection properties supplied by the remote connection endpoint. </p>
<p>This operation will return a pointer to a <a class="el" href="a00042.html#ga5d6cf528776e8b6ad6d67caf095986bf" title="An AMQP Data object. ">pn_data_t</a> object that is valid until the connection object is freed. This data object will be empty until the remote connection is opened as indicated by the <a class="el" href="a00044.html#gad96220f2886c21a4f2eebc9487f53a87" title="The remote endpoint state is active. ">PN_REMOTE_ACTIVE</a> flag.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the remote connection properties </dd></dl>
</div>
</div>
<a class="anchor" id="ga5da6d9f55883af5f996d45828a7034a7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_reset </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reset a connection object back to the uninitialized state. </p>
<p>Note that this does <em>not</em> remove any contained <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9" title="An AMQP Session object. ">pn_session_t</a>, <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0" title="An AMQP Link object. ">pn_link_t</a>, and <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340" title="An AMQP Delivery object. ">pn_delivery_t</a> objects.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>a connection object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga26407d58547c672d64858e07375e0965"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_set_container </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>container</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the AMQP Container name advertised by a connection object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">container</td><td>the container name </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga3f6cdab1871250511beef56402a4f7f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_set_context </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>context</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="a00001.html#_deprecated000002">Deprecated:</a></b></dt><dd>Set a new application context for a connection object.</dd></dl>
<p>The application context for a connection object may be retrieved using <a class="el" href="a00044.html#gaf304c011df5e00160f49297ba172149c">pn_connection_get_context</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">context</td><td>the application context </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga204a7c356658d414f5d08da4f25f5d9e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_set_hostname </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>hostname</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the value of the AMQP Hostname used by a connection object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">hostname</td><td>the hostname </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gacaaee6956135f36d9bd6ef4d9f300a2c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_set_password </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>password</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the authentication password for a client connection. </p>
<p>It is necessary to set the username and password before binding the connection to a trasnport and it isn't allowed to change them after the binding.</p>
<p>Note that the password is write only and has no accessor as the underlying implementation should be zeroing the password after use to avoid the password being present in memory longer than necessary</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">password</td><td>the password corresponding to the username - this will be copied and zeroed out after use </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga167a317ed0316c37e28a11e4e97d6a53"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_connection_set_user </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>user</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the authentication username for a client connection. </p>
<p>It is necessary to set the username and password before binding the connection to a trasnport and it isn't allowed to change them after the binding.</p>
<p>If not set then no authentication will be negotiated unless the client sasl layer is explicitly created (this would be for sometting like Kerberos where the credentials are implicit in the environment, or to explicitly use the ANONYMOUS SASL mechanism)</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">user</td><td>the username </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gab2f0a1503fa22e705dcad9056054a18a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#gaa83193a655e32bffc18624acc2c39233">pn_state_t</a> pn_connection_state </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the endpoint state flags for a connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the connection's state flags </dd></dl>
</div>
</div>
<a class="anchor" id="ga9181af243a5958309ad90bf8460634ae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00062.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a>* pn_connection_transport </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td>
<td class="paramname"><em>connection</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the transport bound to a connection object. </p>
<p>If the connection is unbound, then this operation will return NULL.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>the connection object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the transport bound to a connection, or NULL if the connection is unbound </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Apr 4 2016 09:18:57 for proton by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|