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 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354
|
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>qpid::client::no_keyword::AsyncSession_0_10 Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF">
<table border="0" width="90%" align="center">
<tr>
<td align="left">
<a title="Apache Qpid Project Page" href="http://qpid.apache.org">Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET</a>
</td>
<td align="right">
<a title="Apache Qpid Documentation" href="http://qpid.apache.org/documentation.html">Apache Qpid Documentation</a>
</td>
</tr>
</table>
<!-- Generated by Doxygen 1.7.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="a00574.html">qpid</a> </li>
<li class="navelem"><a class="el" href="a00576.html">client</a> </li>
<li class="navelem"><a class="el" href="a00578.html">no_keyword</a> </li>
<li class="navelem"><a class="el" href="a00019.html">AsyncSession_0_10</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">qpid::client::no_keyword::AsyncSession_0_10 Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="qpid::client::no_keyword::AsyncSession_0_10" --><!-- doxytag: inherits="qpid::client::SessionBase_0_10" -->
<p>AMQP 0-10 asynchronous session API.
<a href="a00019.html#details">More...</a></p>
<p><code>#include <<a class="el" href="a00459_source.html">qpid/client/no_keyword/AsyncSession_0_10.h</a>></code></p>
<p><a href="a00703.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a743b9e85a4c0f0801030eb2f9d7dd396">AsyncSession_0_10</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QPID_CLIENT_INLINE_EXTERN </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a91021d33886f0b3c3efb21a7bc4a23b9">AsyncSession_0_10</a> (const <a class="el" href="a00328.html">SessionBase_0_10</a> &other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QPID_CLIENT_INLINE_EXTERN <br class="typebreak"/>
<a class="el" href="a00019.html">AsyncSession_0_10</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a5ae453e369fa2f4e8904e7088fad6931">operator=</a> (const <a class="el" href="a00328.html">SessionBase_0_10</a> &other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a0fe280bdbf655e1c4dd4cb350415fa69">executionSync</a> (bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command is complete when all prior commands are completed. <a href="#a0fe280bdbf655e1c4dd4cb350415fa69"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a050559a19abe029d0e97ab42d54cde90">executionResult</a> (const SequenceNumber &commandId=SequenceNumber(), const <a class="el" href="a00345.html">std::string</a> &value=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command carries data resulting from the execution of a command. <a href="#a050559a19abe029d0e97ab42d54cde90"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#aa20922961c2e4dc247e96aea9eb3d3ce">executionException</a> (<a class="el" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> errorCode=0, const SequenceNumber &commandId=SequenceNumber(), <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> classCode=0, <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> commandCode=0, <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> fieldIndex=0, const <a class="el" href="a00345.html">std::string</a> &description=<a class="el" href="a00345.html">std::string</a>(), const FieldTable &errorInfo=FieldTable(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command informs a peer of an execution exception. <a href="#aa20922961c2e4dc247e96aea9eb3d3ce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a745689ddd87824f8e4e60b94402ac08d">messageTransfer</a> (const <a class="el" href="a00345.html">std::string</a> &destination=<a class="el" href="a00345.html">std::string</a>(), <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> acceptMode=1, <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> acquireMode=0, const <a class="el" href="a00206.html">Message</a> &content=<a class="el" href="a00206.html">Message</a>(<a class="el" href="a00345.html">std::string</a>()), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command transfers a message between two peers. <a href="#a745689ddd87824f8e4e60b94402ac08d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ad821639cdce49f66cd30112ec5791742">messageAccept</a> (const SequenceSet &transfers=SequenceSet(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts the message. <a href="#ad821639cdce49f66cd30112ec5791742"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a60b5beb353f7e64a82acd269493a8b56">messageReject</a> (const SequenceSet &transfers=SequenceSet(), <a class="el" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> code=0, const <a class="el" href="a00345.html">std::string</a> &text=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates that the message transfers are unprocessable in some way. <a href="#a60b5beb353f7e64a82acd269493a8b56"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a44104ba860b5bb0ac211f9d977c86a68">messageRelease</a> (const SequenceSet &transfers=SequenceSet(), bool setRedelivered=false, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Release previously transferred messages. <a href="#a44104ba860b5bb0ac211f9d977c86a68"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00208.html">qpid::framing::MessageAcquireResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a6ab77ab430ef121a86aa0c6bf3d3d482">messageAcquire</a> (const SequenceSet &transfers=SequenceSet(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Acquires previously transferred messages for consumption. <a href="#a6ab77ab430ef121a86aa0c6bf3d3d482"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00212.html">qpid::framing::MessageResumeResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a123c5719b317341ecdb3de6d60207303">messageResume</a> (const <a class="el" href="a00345.html">std::string</a> &destination=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &resumeId=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command resumes an interrupted transfer. <a href="#a123c5719b317341ecdb3de6d60207303"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a0c5e77d5360857699d93284478b1782d">messageSubscribe</a> (const <a class="el" href="a00345.html">std::string</a> &queue=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &destination=<a class="el" href="a00345.html">std::string</a>(), <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> acceptMode=0, <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> acquireMode=0, bool exclusive=false, const <a class="el" href="a00345.html">std::string</a> &resumeId=<a class="el" href="a00345.html">std::string</a>(), uint64_t resumeTtl=0, const FieldTable &arguments=FieldTable(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command asks the server to start a "subscription", which is a request for messages from a specific queue. <a href="#a0c5e77d5360857699d93284478b1782d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a6515de4bd5583caf79678fece1ac4324">messageCancel</a> (const <a class="el" href="a00345.html">std::string</a> &destination=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command cancels a subscription. <a href="#a6515de4bd5583caf79678fece1ac4324"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ac30416dd3467e79a2e0e9966139da3c8">messageSetFlowMode</a> (const <a class="el" href="a00345.html">std::string</a> &destination=<a class="el" href="a00345.html">std::string</a>(), <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> flowMode=0, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the mode of flow control used for a given destination to either window or credit based flow control. <a href="#ac30416dd3467e79a2e0e9966139da3c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ad1c3d9b0cdcd251924e7b9250014514b">messageFlow</a> (const <a class="el" href="a00345.html">std::string</a> &destination=<a class="el" href="a00345.html">std::string</a>(), <a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> unit=0, <a class="el" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> value=0, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command controls the flow of message data to a given destination. <a href="#ad1c3d9b0cdcd251924e7b9250014514b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a71fc25ddb2ea172db942dcd04745f9c5">messageFlush</a> (const <a class="el" href="a00345.html">std::string</a> &destination=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces the sender to exhaust his credit supply. <a href="#a71fc25ddb2ea172db942dcd04745f9c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#af1946069aa7c0d8a01cb5ddedfa116d2">messageStop</a> (const <a class="el" href="a00345.html">std::string</a> &destination=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">On receipt of this command, a producer of messages MUST set his credit to zero for the given destination. <a href="#af1946069aa7c0d8a01cb5ddedfa116d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a5dbd9d674e51bf67d4bd97a033fad1f7">txSelect</a> (bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command sets the session to use standard transactions. <a href="#a5dbd9d674e51bf67d4bd97a033fad1f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a62be3d27b93a47294dc8772b79aed768">txCommit</a> (bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command commits all messages published and accepted in the current transaction. <a href="#a62be3d27b93a47294dc8772b79aed768"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a6fc047d1410d33cd1ba45cdc269dc62c">txRollback</a> (bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command abandons the current transaction. <a href="#a6fc047d1410d33cd1ba45cdc269dc62c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#af3e6e8138defac20d7a18d7253356dcb">dtxSelect</a> (bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command sets the session to use distributed transactions. <a href="#af3e6e8138defac20d7a18d7253356dcb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00400.html">qpid::framing::XaResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a3e1156081acce701155add4f7a19423b">dtxStart</a> (const Xid &xid=Xid(), bool join=false, bool resume=false, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command is called when messages should be produced and consumed on behalf a transaction branch identified by xid. <a href="#a3e1156081acce701155add4f7a19423b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00400.html">qpid::framing::XaResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a1785642b58f23fbe693cf1f8aa3801cc">dtxEnd</a> (const Xid &xid=Xid(), bool fail=false, bool suspend=false, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command is called when the work done on behalf a transaction branch finishes or needs to be suspended. <a href="#a1785642b58f23fbe693cf1f8aa3801cc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00400.html">qpid::framing::XaResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ac0dd0cbb49562d21cb5fcee1d2e14a50">dtxCommit</a> (const Xid &xid=Xid(), bool onePhase=false, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Commit the work done on behalf a transaction branch. <a href="#ac0dd0cbb49562d21cb5fcee1d2e14a50"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a23f18b5323726697a8be9ebaa03be6d6">dtxForget</a> (const Xid &xid=Xid(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command is called to forget about a heuristically completed transaction branch. <a href="#a23f18b5323726697a8be9ebaa03be6d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00101.html">qpid::framing::DtxGetTimeoutResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a711fff1c2c2a8d5a00e869af4c969445">dtxGetTimeout</a> (const Xid &xid=Xid(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command obtains the current transaction timeout value in seconds. <a href="#a711fff1c2c2a8d5a00e869af4c969445"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00400.html">qpid::framing::XaResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#affddc2820d58ad0715b578001610ed00">dtxPrepare</a> (const Xid &xid=Xid(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command prepares for commitment any message produced or consumed on behalf of xid. <a href="#affddc2820d58ad0715b578001610ed00"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00102.html">qpid::framing::DtxRecoverResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a3dd1a15490e342a38eb226991f6097ee">dtxRecover</a> (bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command is called to obtain a list of transaction branches that are in a prepared or heuristically completed state. <a href="#a3dd1a15490e342a38eb226991f6097ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00400.html">qpid::framing::XaResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a9eebff183e48d225673f677df5b07606">dtxRollback</a> (const Xid &xid=Xid(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command rolls back the work associated with xid. <a href="#a9eebff183e48d225673f677df5b07606"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a1f7c049e0de88d83052555ba9c5d95e9">dtxSetTimeout</a> (const Xid &xid=Xid(), <a class="el" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> timeout=0, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the specified transaction branch timeout value in seconds. <a href="#a1f7c049e0de88d83052555ba9c5d95e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a23cc4d14b9bfa7883c6f48070071b9e9">exchangeDeclare</a> (const <a class="el" href="a00345.html">std::string</a> &exchange=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &type=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &alternateExchange=<a class="el" href="a00345.html">std::string</a>(), bool passive=false, bool durable=false, bool autoDelete=false, const FieldTable &arguments=FieldTable(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command creates an exchange if it does not already exist, and if the exchange exists, verifies that it is of the correct and expected class. <a href="#a23cc4d14b9bfa7883c6f48070071b9e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a5609565b171ce9346d51349c786a54de">exchangeDelete</a> (const <a class="el" href="a00345.html">std::string</a> &exchange=<a class="el" href="a00345.html">std::string</a>(), bool ifUnused=false, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command deletes an exchange. <a href="#a5609565b171ce9346d51349c786a54de"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00117.html">qpid::framing::ExchangeQueryResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a993fadf3963c9ac0914b9f3cc66d8526">exchangeQuery</a> (const <a class="el" href="a00345.html">std::string</a> &name=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command is used to request information on a particular exchange. <a href="#a993fadf3963c9ac0914b9f3cc66d8526"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a040a07cf41f24d45bf4edfcd66152111">exchangeBind</a> (const <a class="el" href="a00345.html">std::string</a> &queue=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &exchange=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &bindingKey=<a class="el" href="a00345.html">std::string</a>(), const FieldTable &arguments=FieldTable(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command binds a queue to an exchange. <a href="#a040a07cf41f24d45bf4edfcd66152111"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#affaadc91247cfd5724842dcf22979cd6">exchangeUnbind</a> (const <a class="el" href="a00345.html">std::string</a> &queue=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &exchange=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &bindingKey=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command unbinds a queue from an exchange. <a href="#affaadc91247cfd5724842dcf22979cd6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00116.html">qpid::framing::ExchangeBoundResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a26e748b13126817eed77e609bdf6d7c2">exchangeBound</a> (const <a class="el" href="a00345.html">std::string</a> &exchange=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &queue=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &bindingKey=<a class="el" href="a00345.html">std::string</a>(), const FieldTable &arguments=FieldTable(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command is used to request information on the bindings to a particular exchange. <a href="#a26e748b13126817eed77e609bdf6d7c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a0566092a09b8912dac10fa2b52ec815d">queueDeclare</a> (const <a class="el" href="a00345.html">std::string</a> &queue=<a class="el" href="a00345.html">std::string</a>(), const <a class="el" href="a00345.html">std::string</a> &alternateExchange=<a class="el" href="a00345.html">std::string</a>(), bool passive=false, bool durable=false, bool exclusive=false, bool autoDelete=false, const FieldTable &arguments=FieldTable(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command creates or checks a queue. <a href="#a0566092a09b8912dac10fa2b52ec815d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a1e266f5ad9b7af100b2322d7ded4a393">queueDelete</a> (const <a class="el" href="a00345.html">std::string</a> &queue=<a class="el" href="a00345.html">std::string</a>(), bool ifUnused=false, bool ifEmpty=false, bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command deletes a queue. <a href="#a1e266f5ad9b7af100b2322d7ded4a393"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00054.html">Completion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ac69995a96be1205ab7617c7bc80c12c9">queuePurge</a> (const <a class="el" href="a00345.html">std::string</a> &queue=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command removes all messages from a queue. <a href="#ac69995a96be1205ab7617c7bc80c12c9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00362.html">TypedResult</a><br class="typebreak"/>
< <a class="el" href="a00265.html">qpid::framing::QueueQueryResult</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#a72a55bbf31b38d4a57169e460bb45f32">queueQuery</a> (const <a class="el" href="a00345.html">std::string</a> &queue=<a class="el" href="a00345.html">std::string</a>(), bool sync=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This command requests information about a queue. <a href="#a72a55bbf31b38d4a57169e460bb45f32"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00333.html">SessionId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#aba4c611d0f2008bf153b5a0d372d7b32">getId</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the session ID. <a href="#aba4c611d0f2008bf153b5a0d372d7b32"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#aa3db8a210e8bdb4d9c04f048a3bc16af">close</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Close the session. <a href="#aa3db8a210e8bdb4d9c04f048a3bc16af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#a198880ec0840c18b0d8a9140d38db699">sync</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Synchronize the session: <a class="el" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync()</a> waits until all commands issued on this session so far have been completed by the broker. <a href="#a198880ec0840c18b0d8a9140d38db699"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#a90f4dc4899c23d4cfb00360a5f215b26">timeout</a> (<a class="el" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> seconds)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the timeout for this session. <a href="#a90f4dc4899c23d4cfb00360a5f215b26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#a7767cc2b33cdba119824b86ca212dbd6">suspend</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Suspend the session - detach it from its connection. <a href="#a7767cc2b33cdba119824b86ca212dbd6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#a7b6f55034313f9a4ca2d2ae71649b840">resume</a> (<a class="el" href="a00058.html">Connection</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resume a suspended session with a new connection. <a href="#a7b6f55034313f9a4ca2d2ae71649b840"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#a2395fbbedb1705bfefc45a70a9b80b6f">getChannel</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the channel associated with this session. <a href="#a2395fbbedb1705bfefc45a70a9b80b6f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#aad3b41e7fb8e6d40c309a9b0c7144243">flush</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#a71b6f8e5c01c5ab1d8dba353f0c2dc6e">markCompleted</a> (const <a class="el" href="a00324.html">framing::SequenceSet</a> &ids, bool notifyPeer)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#ab9d172be089286ffc7b4fda418b87301">markCompleted</a> (const <a class="el" href="a00323.html">framing::SequenceNumber</a> &id, bool cumulative, bool notifyPeer)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#a151e42932f03d3a453bb1598e160a025">sendCompletion</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#ae4424751cfa94ad272711dae9213cb2c">isValid</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00058.html">Connection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#ad90f254bc31ff8e5933c4dd14f3a48b5">getConnection</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boost::shared_ptr< SessionImpl > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00328.html#a72d171e291fab3cd457bf04276970904">impl</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>AMQP 0-10 asynchronous session API. </p>
<p>A session is a named interaction between two peers. Session names are chosen by the upper layers and may be used indefinitely. The model layer may associate long-lived or durable state with a given session name. The session layer provides transport of commands associated with this interaction. </p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a743b9e85a4c0f0801030eb2f9d7dd396"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::AsyncSession_0_10" ref="a743b9e85a4c0f0801030eb2f9d7dd396" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">qpid::client::no_keyword::AsyncSession_0_10::AsyncSession_0_10 </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reimplemented in <a class="el" href="a00020.html#aceda8efdadd334c003ecb29c907a4fcf">qpid::client::AsyncSession_0_10</a>.</p>
</div>
</div>
<a class="anchor" id="a91021d33886f0b3c3efb21a7bc4a23b9"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::AsyncSession_0_10" ref="a91021d33886f0b3c3efb21a7bc4a23b9" args="(const SessionBase_0_10 &other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QPID_CLIENT_INLINE_EXTERN qpid::client::no_keyword::AsyncSession_0_10::AsyncSession_0_10 </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00328.html">SessionBase_0_10</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reimplemented in <a class="el" href="a00020.html#a8111365db7bade27159e67f382d16e0f">qpid::client::AsyncSession_0_10</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa3db8a210e8bdb4d9c04f048a3bc16af"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::close" ref="aa3db8a210e8bdb4d9c04f048a3bc16af" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qpid::client::SessionBase_0_10::close </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Close the session. </p>
<p>A session is automatically closed when all handles to it are destroyed. </p>
</div>
</div>
<a class="anchor" id="ac0dd0cbb49562d21cb5fcee1d2e14a50"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxCommit" ref="ac0dd0cbb49562d21cb5fcee1d2e14a50" args="(const Xid &xid=Xid(), bool onePhase=false, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00400.html">qpid::framing::XaResult</a>> qpid::client::no_keyword::AsyncSession_0_10::dtxCommit </td>
<td>(</td>
<td class="paramtype">const Xid & </td>
<td class="paramname"><em>xid</em> = <code>Xid()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onePhase</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Commit the work done on behalf a transaction branch. </p>
<p>This command commits the work associated with xid. Any produced messages are made available and any consumed messages are discarded.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xid</td><td>Specifies the xid of the transaction branch to be committed.</td></tr>
<tr><td class="paramname">onePhase</td><td>Used to indicate whether one-phase or two-phase commit is used.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00425">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a1785642b58f23fbe693cf1f8aa3801cc"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxEnd" ref="a1785642b58f23fbe693cf1f8aa3801cc" args="(const Xid &xid=Xid(), bool fail=false, bool suspend=false, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00400.html">qpid::framing::XaResult</a>> qpid::client::no_keyword::AsyncSession_0_10::dtxEnd </td>
<td>(</td>
<td class="paramtype">const Xid & </td>
<td class="paramname"><em>xid</em> = <code>Xid()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>fail</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>suspend</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command is called when the work done on behalf a transaction branch finishes or needs to be suspended. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xid</td><td>Specifies the xid of the transaction branch to be ended.</td></tr>
<tr><td class="paramname">fail</td><td>If set, indicates that this portion of work has failed; otherwise this portion of work has completed successfully.</td></tr>
<tr><td class="paramname">suspend</td><td>Indicates that the transaction branch is temporarily suspended in an incomplete state.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00417">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a23f18b5323726697a8be9ebaa03be6d6"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxForget" ref="a23f18b5323726697a8be9ebaa03be6d6" args="(const Xid &xid=Xid(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::dtxForget </td>
<td>(</td>
<td class="paramtype">const Xid & </td>
<td class="paramname"><em>xid</em> = <code>Xid()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command is called to forget about a heuristically completed transaction branch. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xid</td><td>Specifies the xid of the transaction branch to be forgotten.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00432">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a711fff1c2c2a8d5a00e869af4c969445"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxGetTimeout" ref="a711fff1c2c2a8d5a00e869af4c969445" args="(const Xid &xid=Xid(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00101.html">qpid::framing::DtxGetTimeoutResult</a>> qpid::client::no_keyword::AsyncSession_0_10::dtxGetTimeout </td>
<td>(</td>
<td class="paramtype">const Xid & </td>
<td class="paramname"><em>xid</em> = <code>Xid()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command obtains the current transaction timeout value in seconds. </p>
<p>If set-timeout was not used prior to invoking this command, the return value is the default timeout; otherwise, the value used in the previous set-timeout call is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xid</td><td>Specifies the xid of the transaction branch for getting the timeout.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00438">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="affddc2820d58ad0715b578001610ed00"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxPrepare" ref="affddc2820d58ad0715b578001610ed00" args="(const Xid &xid=Xid(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00400.html">qpid::framing::XaResult</a>> qpid::client::no_keyword::AsyncSession_0_10::dtxPrepare </td>
<td>(</td>
<td class="paramtype">const Xid & </td>
<td class="paramname"><em>xid</em> = <code>Xid()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command prepares for commitment any message produced or consumed on behalf of xid. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xid</td><td>Specifies the xid of the transaction branch that can be prepared.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00444">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a3dd1a15490e342a38eb226991f6097ee"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxRecover" ref="a3dd1a15490e342a38eb226991f6097ee" args="(bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00102.html">qpid::framing::DtxRecoverResult</a>> qpid::client::no_keyword::AsyncSession_0_10::dtxRecover </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command is called to obtain a list of transaction branches that are in a prepared or heuristically completed state. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00450">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a9eebff183e48d225673f677df5b07606"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxRollback" ref="a9eebff183e48d225673f677df5b07606" args="(const Xid &xid=Xid(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00400.html">qpid::framing::XaResult</a>> qpid::client::no_keyword::AsyncSession_0_10::dtxRollback </td>
<td>(</td>
<td class="paramtype">const Xid & </td>
<td class="paramname"><em>xid</em> = <code>Xid()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command rolls back the work associated with xid. </p>
<p>Any produced messages are discarded and any consumed messages are re-enqueued.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xid</td><td>Specifies the xid of the transaction branch that can be rolled back.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00455">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="af3e6e8138defac20d7a18d7253356dcb"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxSelect" ref="af3e6e8138defac20d7a18d7253356dcb" args="(bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::dtxSelect </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command sets the session to use distributed transactions. </p>
<p>The client must use this command at least once on a session before using XA demarcation operations.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00404">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a1f7c049e0de88d83052555ba9c5d95e9"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxSetTimeout" ref="a1f7c049e0de88d83052555ba9c5d95e9" args="(const Xid &xid=Xid(), uint32_t timeout=0, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::dtxSetTimeout </td>
<td>(</td>
<td class="paramtype">const Xid & </td>
<td class="paramname"><em>xid</em> = <code>Xid()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td>
<td class="paramname"><em>timeout</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the specified transaction branch timeout value in seconds. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xid</td><td>Specifies the xid of the transaction branch for setting the timeout.</td></tr>
<tr><td class="paramname">timeout</td><td>The transaction timeout value in seconds.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00461">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a3e1156081acce701155add4f7a19423b"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::dtxStart" ref="a3e1156081acce701155add4f7a19423b" args="(const Xid &xid=Xid(), bool join=false, bool resume=false, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00400.html">qpid::framing::XaResult</a>> qpid::client::no_keyword::AsyncSession_0_10::dtxStart </td>
<td>(</td>
<td class="paramtype">const Xid & </td>
<td class="paramname"><em>xid</em> = <code>Xid()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>join</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>resume</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command is called when messages should be produced and consumed on behalf a transaction branch identified by xid. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xid</td><td>Specifies the xid of the transaction branch to be started.</td></tr>
<tr><td class="paramname">join</td><td>Indicate whether this is joining an already associated xid. Indicate that the start applies to joining a transaction previously seen.</td></tr>
<tr><td class="paramname">resume</td><td>Indicate that the start applies to resuming a suspended transaction branch specified.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00409">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a040a07cf41f24d45bf4edfcd66152111"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::exchangeBind" ref="a040a07cf41f24d45bf4edfcd66152111" args="(const std::string &queue=std::string(), const std::string &exchange=std::string(), const std::string &bindingKey=std::string(), const FieldTable &arguments=FieldTable(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::exchangeBind </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>queue</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>exchange</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>bindingKey</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const FieldTable & </td>
<td class="paramname"><em>arguments</em> = <code>FieldTable()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command binds a queue to an exchange. </p>
<p>Until a queue is bound it will not receive any messages. In a classic messaging model, store-and-forward queues are bound to a direct exchange and subscription queues are bound to a topic exchange.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">queue</td><td>Specifies the name of the queue to bind.</td></tr>
<tr><td class="paramname">exchange</td><td></td></tr>
<tr><td class="paramname">bindingKey</td><td>The binding-key uniquely identifies a binding between a given (exchange, queue) pair. Depending on the exchange configuration, the binding key may be matched against the message routing key in order to make routing decisions. The match algorithm depends on the exchange type. Some exchange types may ignore the binding key when making routing decisions. Refer to the specific exchange type documentation. The meaning of an empty binding key depends on the exchange implementation.</td></tr>
<tr><td class="paramname">arguments</td><td>A set of arguments for the binding. The syntax and semantics of these arguments depends on the exchange class.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00493">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a26e748b13126817eed77e609bdf6d7c2"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::exchangeBound" ref="a26e748b13126817eed77e609bdf6d7c2" args="(const std::string &exchange=std::string(), const std::string &queue=std::string(), const std::string &bindingKey=std::string(), const FieldTable &arguments=FieldTable(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00116.html">qpid::framing::ExchangeBoundResult</a>> qpid::client::no_keyword::AsyncSession_0_10::exchangeBound </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>exchange</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>queue</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>bindingKey</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const FieldTable & </td>
<td class="paramname"><em>arguments</em> = <code>FieldTable()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command is used to request information on the bindings to a particular exchange. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">exchange</td><td>The name of the exchange for which binding information is being requested. If not specified explicitly the default exchange is implied.</td></tr>
<tr><td class="paramname">queue</td><td>If populated then determine whether the given queue is bound to the exchange.</td></tr>
<tr><td class="paramname">bindingKey</td><td>If populated defines the binding-key of the binding of interest, if not populated the request will ignore the binding-key on bindings when searching for a match.</td></tr>
<tr><td class="paramname">arguments</td><td>If populated defines the arguments of the binding of interest if not populated the request will ignore the arguments on bindings when searching for a match</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00510">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a23cc4d14b9bfa7883c6f48070071b9e9"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::exchangeDeclare" ref="a23cc4d14b9bfa7883c6f48070071b9e9" args="(const std::string &exchange=std::string(), const std::string &type=std::string(), const std::string &alternateExchange=std::string(), bool passive=false, bool durable=false, bool autoDelete=false, const FieldTable &arguments=FieldTable(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::exchangeDeclare </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>exchange</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>type</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>alternateExchange</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>passive</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>durable</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>autoDelete</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const FieldTable & </td>
<td class="paramname"><em>arguments</em> = <code>FieldTable()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command creates an exchange if it does not already exist, and if the exchange exists, verifies that it is of the correct and expected class. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">exchange</td><td></td></tr>
<tr><td class="paramname">type</td><td>Each exchange belongs to one of a set of exchange types implemented by the server. The exchange types define the functionality of the exchange - i.e. how messages are routed through it. It is not valid or meaningful to attempt to change the type of an existing exchange.</td></tr>
<tr><td class="paramname">alternateExchange</td><td>In the event that a message cannot be routed, this is the name of the exchange to which the message will be sent. Messages transferred using message.transfer will be routed to the alternate-exchange only if they are sent with the "none" accept-mode, and the discard-unroutable delivery property is set to false, and there is no queue to route to for the given message according to the bindings on this exchange.</td></tr>
<tr><td class="paramname">passive</td><td>If set, the server will not create the exchange. The client can use this to check whether an exchange exists without modifying the server state.</td></tr>
<tr><td class="paramname">durable</td><td>If set when creating a new exchange, the exchange will be marked as durable. Durable exchanges remain active when a server restarts. Non-durable exchanges (transient exchanges) are purged if/when a server restarts.</td></tr>
<tr><td class="paramname">autoDelete</td><td>If set, the exchange is deleted automatically when there remain no bindings between the exchange and any queue. Such an exchange will not be automatically deleted until at least one binding has been made to prevent the immediate deletion of the exchange upon creation.</td></tr>
<tr><td class="paramname">arguments</td><td>A set of arguments for the declaration. The syntax and semantics of these arguments depends on the server implementation. This field is ignored if passive is 1.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00468">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a5609565b171ce9346d51349c786a54de"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::exchangeDelete" ref="a5609565b171ce9346d51349c786a54de" args="(const std::string &exchange=std::string(), bool ifUnused=false, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::exchangeDelete </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>exchange</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>ifUnused</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command deletes an exchange. </p>
<p>When an exchange is deleted all queue bindings on the exchange are cancelled.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">exchange</td><td></td></tr>
<tr><td class="paramname">ifUnused</td><td>If set, the server will only delete the exchange if it has no queue bindings. If the exchange has queue bindings the server does not delete it but raises an exception instead.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00480">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a993fadf3963c9ac0914b9f3cc66d8526"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::exchangeQuery" ref="a993fadf3963c9ac0914b9f3cc66d8526" args="(const std::string &name=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00117.html">qpid::framing::ExchangeQueryResult</a>> qpid::client::no_keyword::AsyncSession_0_10::exchangeQuery </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>name</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command is used to request information on a particular exchange. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the exchange for which information is requested. If not specified explicitly the default exchange is implied.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00487">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="affaadc91247cfd5724842dcf22979cd6"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::exchangeUnbind" ref="affaadc91247cfd5724842dcf22979cd6" args="(const std::string &queue=std::string(), const std::string &exchange=std::string(), const std::string &bindingKey=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::exchangeUnbind </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>queue</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>exchange</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>bindingKey</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command unbinds a queue from an exchange. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">queue</td><td>Specifies the name of the queue to unbind.</td></tr>
<tr><td class="paramname">exchange</td><td>The name of the exchange to unbind from.</td></tr>
<tr><td class="paramname">bindingKey</td><td>Specifies the binding-key of the binding to unbind.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00502">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="aa20922961c2e4dc247e96aea9eb3d3ce"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::executionException" ref="aa20922961c2e4dc247e96aea9eb3d3ce" args="(uint16_t errorCode=0, const SequenceNumber &commandId=SequenceNumber(), uint8_t classCode=0, uint8_t commandCode=0, uint8_t fieldIndex=0, const std::string &description=std::string(), const FieldTable &errorInfo=FieldTable(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::executionException </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> </td>
<td class="paramname"><em>errorCode</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const SequenceNumber & </td>
<td class="paramname"><em>commandId</em> = <code>SequenceNumber()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>classCode</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>commandCode</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>fieldIndex</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>description</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const FieldTable & </td>
<td class="paramname"><em>errorInfo</em> = <code>FieldTable()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command informs a peer of an execution exception. </p>
<p>The command-id, when given, correlates the error to a specific command.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">errorCode</td><td></td></tr>
<tr><td class="paramname">commandId</td><td>The command-id of the command which caused the exception. If the exception was not caused by a specific command, this value is not set.</td></tr>
<tr><td class="paramname">classCode</td><td></td></tr>
<tr><td class="paramname">commandCode</td><td></td></tr>
<tr><td class="paramname">fieldIndex</td><td>The zero based index of the exceptional field within the arguments to the exceptional command. If the exception was not caused by a specific field, this value is not set.</td></tr>
<tr><td class="paramname">description</td><td>The description provided is implementation defined, but MUST be in the language appropriate for the selected locale. The intention is that this description is suitable for logging or alerting output.</td></tr>
<tr><td class="paramname">errorInfo</td><td></td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00288">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a050559a19abe029d0e97ab42d54cde90"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::executionResult" ref="a050559a19abe029d0e97ab42d54cde90" args="(const SequenceNumber &commandId=SequenceNumber(), const std::string &value=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::executionResult </td>
<td>(</td>
<td class="paramtype">const SequenceNumber & </td>
<td class="paramname"><em>commandId</em> = <code>SequenceNumber()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>value</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command carries data resulting from the execution of a command. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">commandId</td><td></td></tr>
<tr><td class="paramname">value</td><td></td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00281">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a0fe280bdbf655e1c4dd4cb350415fa69"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::executionSync" ref="a0fe280bdbf655e1c4dd4cb350415fa69" args="(bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::executionSync </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command is complete when all prior commands are completed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00276">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="aad3b41e7fb8e6d40c309a9b0c7144243"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::flush" ref="aad3b41e7fb8e6d40c309a9b0c7144243" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qpid::client::SessionBase_0_10::flush </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a2395fbbedb1705bfefc45a70a9b80b6f"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::getChannel" ref="a2395fbbedb1705bfefc45a70a9b80b6f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> qpid::client::SessionBase_0_10::getChannel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the channel associated with this session. </p>
</div>
</div>
<a class="anchor" id="ad90f254bc31ff8e5933c4dd14f3a48b5"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::getConnection" ref="ad90f254bc31ff8e5933c4dd14f3a48b5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00058.html">Connection</a> qpid::client::SessionBase_0_10::getConnection </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aba4c611d0f2008bf153b5a0d372d7b32"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::getId" ref="aba4c611d0f2008bf153b5a0d372d7b32" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00333.html">SessionId</a> qpid::client::SessionBase_0_10::getId </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the session ID. </p>
</div>
</div>
<a class="anchor" id="ae4424751cfa94ad272711dae9213cb2c"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::isValid" ref="ae4424751cfa94ad272711dae9213cb2c" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool qpid::client::SessionBase_0_10::isValid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a71b6f8e5c01c5ab1d8dba353f0c2dc6e"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::markCompleted" ref="a71b6f8e5c01c5ab1d8dba353f0c2dc6e" args="(const framing::SequenceSet &ids, bool notifyPeer)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qpid::client::SessionBase_0_10::markCompleted </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00324.html">framing::SequenceSet</a> & </td>
<td class="paramname"><em>ids</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>notifyPeer</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ab9d172be089286ffc7b4fda418b87301"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::markCompleted" ref="ab9d172be089286ffc7b4fda418b87301" args="(const framing::SequenceNumber &id, bool cumulative, bool notifyPeer)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qpid::client::SessionBase_0_10::markCompleted </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00323.html">framing::SequenceNumber</a> & </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>cumulative</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>notifyPeer</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ad821639cdce49f66cd30112ec5791742"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageAccept" ref="ad821639cdce49f66cd30112ec5791742" args="(const SequenceSet &transfers=SequenceSet(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageAccept </td>
<td>(</td>
<td class="paramtype">const SequenceSet & </td>
<td class="paramname"><em>transfers</em> = <code>SequenceSet()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Accepts the message. </p>
<p>Once a transfer is accepted, the command-id may no longer be referenced from other commands.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">transfers</td><td>Identifies the messages previously transferred that should be accepted.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00309">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a6ab77ab430ef121a86aa0c6bf3d3d482"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageAcquire" ref="a6ab77ab430ef121a86aa0c6bf3d3d482" args="(const SequenceSet &transfers=SequenceSet(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00208.html">qpid::framing::MessageAcquireResult</a>> qpid::client::no_keyword::AsyncSession_0_10::messageAcquire </td>
<td>(</td>
<td class="paramtype">const SequenceSet & </td>
<td class="paramname"><em>transfers</em> = <code>SequenceSet()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Acquires previously transferred messages for consumption. </p>
<p>The acquired ids (if any) are sent via message.acquired.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">transfers</td><td>Indicates the messages to be acquired.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00330">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a6515de4bd5583caf79678fece1ac4324"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageCancel" ref="a6515de4bd5583caf79678fece1ac4324" args="(const std::string &destination=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageCancel </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>destination</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command cancels a subscription. </p>
<p>This does not affect already delivered messages, but it does mean the server will not send any more messages for that subscription. The client may receive an arbitrary number of messages in between sending the cancel command and receiving notification that the cancel command is complete.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">destination</td><td></td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00356">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="ad1c3d9b0cdcd251924e7b9250014514b"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageFlow" ref="ad1c3d9b0cdcd251924e7b9250014514b" args="(const std::string &destination=std::string(), uint8_t unit=0, uint32_t value=0, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageFlow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>destination</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>unit</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td>
<td class="paramname"><em>value</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command controls the flow of message data to a given destination. </p>
<p>It is used by the recipient of messages to dynamically match the incoming rate of message flow to its processing or forwarding capacity. Upon receipt of this command, the sender must add "value" number of the specified unit to the available credit balance for the specified destination. A value of (0xFFFFFFFF) indicates an infinite amount of credit. This disables any limit for the given unit until the credit balance is zeroed with message.stop or message.flush.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">destination</td><td></td></tr>
<tr><td class="paramname">unit</td><td>The unit of value.</td></tr>
<tr><td class="paramname">value</td><td>If the value is not set then this indicates an infinite amount of credit.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00369">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a71fc25ddb2ea172db942dcd04745f9c5"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageFlush" ref="a71fc25ddb2ea172db942dcd04745f9c5" args="(const std::string &destination=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageFlush </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>destination</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Forces the sender to exhaust his credit supply. </p>
<p>The sender's credit will always be zero when this command completes. The command completes when immediately available message data has been transferred, or when the credit supply is exhausted.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">destination</td><td></td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00377">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a60b5beb353f7e64a82acd269493a8b56"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageReject" ref="a60b5beb353f7e64a82acd269493a8b56" args="(const SequenceSet &transfers=SequenceSet(), uint16_t code=0, const std::string &text=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageReject </td>
<td>(</td>
<td class="paramtype">const SequenceSet & </td>
<td class="paramname"><em>transfers</em> = <code>SequenceSet()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> </td>
<td class="paramname"><em>code</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>text</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Indicates that the message transfers are unprocessable in some way. </p>
<p>A server may reject a message if it is unroutable. A client may reject a message if it is invalid. A message may be rejected for other reasons as well. Once a transfer is rejected, the command-id may no longer be referenced from other commands.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">transfers</td><td>Identifies the messages previously transferred that should be rejected.</td></tr>
<tr><td class="paramname">code</td><td>Code describing the reason for rejection.</td></tr>
<tr><td class="paramname">text</td><td>Text describing the reason for rejection.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00315">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a44104ba860b5bb0ac211f9d977c86a68"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageRelease" ref="a44104ba860b5bb0ac211f9d977c86a68" args="(const SequenceSet &transfers=SequenceSet(), bool setRedelivered=false, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageRelease </td>
<td>(</td>
<td class="paramtype">const SequenceSet & </td>
<td class="paramname"><em>transfers</em> = <code>SequenceSet()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>setRedelivered</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Release previously transferred messages. </p>
<p>When acquired messages are released, they become available for acquisition by any subscriber. Once a transfer is released, the command-id may no longer be referenced from other commands.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">transfers</td><td>Indicates the messages to be released.</td></tr>
<tr><td class="paramname">setRedelivered</td><td>By setting set-redelivered to true, any acquired messages released to a queue with this command will be marked as redelivered on their next transfer from that queue. If this flag is not set, then an acquired message will retain its original redelivered status on the queue. Messages that are not acquired are unaffected by the value of this flag.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00323">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a123c5719b317341ecdb3de6d60207303"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageResume" ref="a123c5719b317341ecdb3de6d60207303" args="(const std::string &destination=std::string(), const std::string &resumeId=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00212.html">qpid::framing::MessageResumeResult</a>> qpid::client::no_keyword::AsyncSession_0_10::messageResume </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>destination</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>resumeId</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command resumes an interrupted transfer. </p>
<p>The recipient should return the amount of partially transferred data associated with the given resume-id, or zero if there is no data at all. If a non-zero result is returned, the recipient should expect to receive message fragment(s) containing the remainder of the interrupted message.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">destination</td><td>The destination to which the remaining message fragments are transferred.</td></tr>
<tr><td class="paramname">resumeId</td><td>The name of the transfer being resumed.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00336">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="ac30416dd3467e79a2e0e9966139da3c8"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageSetFlowMode" ref="ac30416dd3467e79a2e0e9966139da3c8" args="(const std::string &destination=std::string(), uint8_t flowMode=0, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageSetFlowMode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>destination</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>flowMode</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the mode of flow control used for a given destination to either window or credit based flow control. </p>
<p>With credit based flow control, the sender of messages continually maintains its current credit balance with the recipient. The credit balance consists of two values, a message count, and a byte count. Whenever message data is sent, both counts must be decremented. If either value reaches zero, the flow of message data must stop. Additional credit is received via the message.flow command.</p>
<p>The sender MUST NOT send partial assemblies. This means that if there is not enough byte credit available to send a complete message, the sender must either wait or use message fragmentation (see the fragment-properties header struct) to send the first part of the message data in a complete assembly.</p>
<p>Window based flow control is identical to credit based flow control, however message transfer completion implicitly grants a single unit of message credit, and the size of the message in byte credits for each completed message transfer. <a class="el" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> of the transfer command with session.completed is the only way credit is implicitly updated; message.accept, message.release, message.reject, tx.commit and tx.rollback have no effect on the outstanding credit balances.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">destination</td><td></td></tr>
<tr><td class="paramname">flowMode</td><td>The new flow control mode.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00362">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="af1946069aa7c0d8a01cb5ddedfa116d2"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageStop" ref="af1946069aa7c0d8a01cb5ddedfa116d2" args="(const std::string &destination=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageStop </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>destination</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>On receipt of this command, a producer of messages MUST set his credit to zero for the given destination. </p>
<p>When notifying of completion, credit MUST be zero and no further messages will be sent until such a time as further credit is received.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">destination</td><td></td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00383">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a0c5e77d5360857699d93284478b1782d"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageSubscribe" ref="a0c5e77d5360857699d93284478b1782d" args="(const std::string &queue=std::string(), const std::string &destination=std::string(), uint8_t acceptMode=0, uint8_t acquireMode=0, bool exclusive=false, const std::string &resumeId=std::string(), uint64_t resumeTtl=0, const FieldTable &arguments=FieldTable(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageSubscribe </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>queue</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>destination</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>acceptMode</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>acquireMode</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>exclusive</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>resumeId</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint64_t </td>
<td class="paramname"><em>resumeTtl</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const FieldTable & </td>
<td class="paramname"><em>arguments</em> = <code>FieldTable()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command asks the server to start a "subscription", which is a request for messages from a specific queue. </p>
<p>Subscriptions last as long as the session they were created on, or until the client cancels them.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">queue</td><td>Specifies the name of the subscribed queue.</td></tr>
<tr><td class="paramname">destination</td><td>The client specified name for the subscription. This is used as the destination for all messages transferred from this subscription. The destination is scoped to the session.</td></tr>
<tr><td class="paramname">acceptMode</td><td>The accept-mode to use for messages transferred from this subscription.</td></tr>
<tr><td class="paramname">acquireMode</td><td>The acquire-mode to use for messages transferred from this subscription.</td></tr>
<tr><td class="paramname">exclusive</td><td>Request an exclusive subscription. This prevents other subscribers from subscribing to the queue.</td></tr>
<tr><td class="paramname">resumeId</td><td>Requests that the broker use the supplied resume-id when transferring messages for this subscription.</td></tr>
<tr><td class="paramname">resumeTtl</td><td>Requested duration in milliseconds for the broker use as resume-ttl when transferring messages for this subscription.</td></tr>
<tr><td class="paramname">arguments</td><td>The syntax and semantics of these arguments depends on the providers implementation.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00343">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a745689ddd87824f8e4e60b94402ac08d"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::messageTransfer" ref="a745689ddd87824f8e4e60b94402ac08d" args="(const std::string &destination=std::string(), uint8_t acceptMode=1, uint8_t acquireMode=0, const Message &content=Message(std::string()), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::messageTransfer </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>destination</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>acceptMode</em> = <code>1</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> </td>
<td class="paramname"><em>acquireMode</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00206.html">Message</a> & </td>
<td class="paramname"><em>content</em> = <code><a class="el" href="a00206.html">Message</a>(<a class="el" href="a00345.html">std::string</a>())</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command transfers a message between two peers. </p>
<p>When a client uses this command to publish a message to a broker, the destination identifies a specific exchange. The message will then be routed to queues as defined by the exchange configuration.</p>
<p>The client may request a broker to transfer messages to it, from a particular queue, by issuing a subscribe command. The subscribe command specifies the destination that the broker should use for any resulting transfers.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">destination</td><td>Specifies the destination to which the message is to be transferred.</td></tr>
<tr><td class="paramname">acceptMode</td><td>Indicates whether message.accept, session.complete, or nothing at all is required to indicate successful transfer of the message.</td></tr>
<tr><td class="paramname">acquireMode</td><td>Indicates whether or not the transferred message has been acquired.</td></tr>
<tr><td class="paramname">content</td><td><a class="el" href="a00206.html" title="A message sent to or received from the broker.">Message</a> content</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00300">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a5ae453e369fa2f4e8904e7088fad6931"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::operator=" ref="a5ae453e369fa2f4e8904e7088fad6931" args="(const SessionBase_0_10 &other)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QPID_CLIENT_INLINE_EXTERN <a class="el" href="a00019.html">AsyncSession_0_10</a>& qpid::client::no_keyword::AsyncSession_0_10::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00328.html">SessionBase_0_10</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reimplemented in <a class="el" href="a00020.html#ac0e27a5ab4faf09552fa596374dead9a">qpid::client::AsyncSession_0_10</a>.</p>
</div>
</div>
<a class="anchor" id="a0566092a09b8912dac10fa2b52ec815d"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::queueDeclare" ref="a0566092a09b8912dac10fa2b52ec815d" args="(const std::string &queue=std::string(), const std::string &alternateExchange=std::string(), bool passive=false, bool durable=false, bool exclusive=false, bool autoDelete=false, const FieldTable &arguments=FieldTable(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::queueDeclare </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>queue</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>alternateExchange</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>passive</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>durable</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>exclusive</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>autoDelete</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const FieldTable & </td>
<td class="paramname"><em>arguments</em> = <code>FieldTable()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command creates or checks a queue. </p>
<p>When creating a new queue the client can specify various properties that control the durability of the queue and its contents, and the level of sharing for the queue.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">queue</td><td></td></tr>
<tr><td class="paramname">alternateExchange</td><td>The alternate-exchange field specifies how messages on this queue should be treated when they are rejected by a subscriber, or when they are orphaned by queue deletion. When present, rejected or orphaned messages MUST be routed to the alternate-exchange. In all cases the messages MUST be removed from the queue.</td></tr>
<tr><td class="paramname">passive</td><td>If set, the server will not create the queue. This field allows the client to assert the presence of a queue without modifying the server state.</td></tr>
<tr><td class="paramname">durable</td><td>If set when creating a new queue, the queue will be marked as durable. Durable queues remain active when a server restarts. Non-durable queues (transient queues) are purged if/when a server restarts. Note that durable queues do not necessarily hold persistent messages, although it does not make sense to send persistent messages to a transient queue.</td></tr>
<tr><td class="paramname">exclusive</td><td>Exclusive queues can only be used from one session at a time. Once a session declares an exclusive queue, that queue cannot be used by any other session until the declaring session closes.</td></tr>
<tr><td class="paramname">autoDelete</td><td>If this field is set and the exclusive field is also set, then the queue MUST be deleted when the session closes.</td></tr>
</table>
</dd>
</dl>
<p>If this field is set and the exclusive field is not set the queue is deleted when all the consumers have finished using it. Last consumer can be cancelled either explicitly or because its session is closed. If there was no consumer ever on the queue, it won't be deleted.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">arguments</td><td>A set of arguments for the declaration. The syntax and semantics of these arguments depends on the server implementation. This field is ignored if passive is 1.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00519">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a1e266f5ad9b7af100b2322d7ded4a393"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::queueDelete" ref="a1e266f5ad9b7af100b2322d7ded4a393" args="(const std::string &queue=std::string(), bool ifUnused=false, bool ifEmpty=false, bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::queueDelete </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>queue</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>ifUnused</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>ifEmpty</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command deletes a queue. </p>
<p>When a queue is deleted any pending messages are sent to the alternate-exchange if defined, or discarded if it is not.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">queue</td><td>Specifies the name of the queue to delete.</td></tr>
<tr><td class="paramname">ifUnused</td><td>If set, the server will only delete the queue if it has no consumers. If the queue has consumers the server does does not delete it but raises an exception instead.</td></tr>
<tr><td class="paramname">ifEmpty</td><td>If set, the server will only delete the queue if it has no messages.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00531">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="ac69995a96be1205ab7617c7bc80c12c9"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::queuePurge" ref="ac69995a96be1205ab7617c7bc80c12c9" args="(const std::string &queue=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::queuePurge </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>queue</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command removes all messages from a queue. </p>
<p>It does not cancel subscribers. Purged messages are deleted without any formal "undo" mechanism.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">queue</td><td>Specifies the name of the queue to purge.</td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00539">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a72a55bbf31b38d4a57169e460bb45f32"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::queueQuery" ref="a72a55bbf31b38d4a57169e460bb45f32" args="(const std::string &queue=std::string(), bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00362.html">TypedResult</a><<a class="el" href="a00265.html">qpid::framing::QueueQueryResult</a>> qpid::client::no_keyword::AsyncSession_0_10::queueQuery </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>queue</em> = <code><a class="el" href="a00345.html">std::string</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command requests information about a queue. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">queue</td><td></td></tr>
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00545">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a7b6f55034313f9a4ca2d2ae71649b840"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::resume" ref="a7b6f55034313f9a4ca2d2ae71649b840" args="(Connection)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qpid::client::SessionBase_0_10::resume </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00058.html">Connection</a> </td>
<td class="paramname"></td><td>)</td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Resume a suspended session with a new connection. </p>
</div>
</div>
<a class="anchor" id="a151e42932f03d3a453bb1598e160a025"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::sendCompletion" ref="a151e42932f03d3a453bb1598e160a025" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qpid::client::SessionBase_0_10::sendCompletion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a7767cc2b33cdba119824b86ca212dbd6"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::suspend" ref="a7767cc2b33cdba119824b86ca212dbd6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qpid::client::SessionBase_0_10::suspend </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Suspend the session - detach it from its connection. </p>
</div>
</div>
<a class="anchor" id="a198880ec0840c18b0d8a9140d38db699"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::sync" ref="a198880ec0840c18b0d8a9140d38db699" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qpid::client::SessionBase_0_10::sync </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Synchronize the session: <a class="el" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync()</a> waits until all commands issued on this session so far have been completed by the broker. </p>
<p>Note <a class="el" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync()</a> is always synchronous, even on an AsyncSession object because that's almost always what you want. You can call <a class="el" href="a00019.html#a0fe280bdbf655e1c4dd4cb350415fa69" title="This command is complete when all prior commands are completed.">AsyncSession::executionSync()</a> directly in the unusual event that you want to do an asynchronous sync. </p>
</div>
</div>
<a class="anchor" id="a90f4dc4899c23d4cfb00360a5f215b26"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::timeout" ref="a90f4dc4899c23d4cfb00360a5f215b26" args="(uint32_t seconds)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> qpid::client::SessionBase_0_10::timeout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td>
<td class="paramname"><em>seconds</em></td><td>)</td>
<td><code> [inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set the timeout for this session. </p>
</div>
</div>
<a class="anchor" id="a62be3d27b93a47294dc8772b79aed768"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::txCommit" ref="a62be3d27b93a47294dc8772b79aed768" args="(bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::txCommit </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command commits all messages published and accepted in the current transaction. </p>
<p>A new transaction starts immediately after a commit.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00394">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a6fc047d1410d33cd1ba45cdc269dc62c"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::txRollback" ref="a6fc047d1410d33cd1ba45cdc269dc62c" args="(bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::txRollback </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command abandons the current transaction. </p>
<p>In particular the transfers from Client to Server (publishes) and accepts of transfers from Server to Client which occurred in the current transaction are discarded. A new transaction starts immediately after a rollback.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00399">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<a class="anchor" id="a5dbd9d674e51bf67d4bd97a033fad1f7"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::txSelect" ref="a5dbd9d674e51bf67d4bd97a033fad1f7" args="(bool sync=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00054.html">Completion</a> qpid::client::no_keyword::AsyncSession_0_10::txSelect </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>sync</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This command sets the session to use standard transactions. </p>
<p>The client must use this command exactly once on a session before using the Commit or Rollback commands.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">sync</td><td>If true the broker will respond with completion status as soon as possible. </td></tr>
</table>
</dd>
</dl>
<p>Referenced by <a class="el" href="a00458_source.html#l00389">qpid::client::AsyncSession_0_10::BOOST_PARAMETER_MEMFUN()</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a72d171e291fab3cd457bf04276970904"></a><!-- doxytag: member="qpid::client::no_keyword::AsyncSession_0_10::impl" ref="a72d171e291fab3cd457bf04276970904" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">boost::shared_ptr<SessionImpl> <a class="el" href="a00328.html#a72d171e291fab3cd457bf04276970904">qpid::client::SessionBase_0_10::impl</a><code> [protected, inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="a00478_source.html#l00104">104</a> of file <a class="el" href="a00478_source.html">SessionBase_0_10.h</a>.</p>
<p>Referenced by <a class="el" href="a00458_source.html#l00559">qpid::client::AsyncSession_0_10::operator=()</a>, and <a class="el" href="a00474_source.html#l00559">qpid::client::Session_0_10::operator=()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>qpid/client/no_keyword/<a class="el" href="a00459_source.html">AsyncSession_0_10.h</a></li>
</ul>
</div>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<hr size="1">
<address style="text-align: left;"><small>
Qpid C++ API Reference</small></address>
<address style="text-align: right;">
<small>
Generated on Thu May 10 2012 for Qpid C++ Client API by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.7.5</small>
</address>
</body>
</html>
|