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
|
<!--
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>qmf::AgentSession 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="a00571.html">qmf</a> </li>
<li class="navelem"><a class="el" href="a00012.html">AgentSession</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-types">Protected Types</a> |
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">qmf::AgentSession Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="qmf::AgentSession" --><!-- doxytag: inherits="Handle< AgentSessionImpl >" -->
<p><code>#include <<a class="el" href="a00407_source.html">qmf/AgentSession.h</a>></code></p>
<p><a href="a00602.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="a00012.html#a143ee4f27348fc53a308ba6a30dea095">AgentSession</a> (AgentSessionImpl *<a class="el" href="a00141.html#a0effa7fbf9c8ae45a927102af0b25679">impl</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#aa1fe2e982e7037b830dbf9e3616f44c6">AgentSession</a> (const <a class="el" href="a00012.html">AgentSession</a> &)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00012.html">AgentSession</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a2a9e3e3bdd3ad28daee9bbaf8bc7f0fe">operator=</a> (const <a class="el" href="a00012.html">AgentSession</a> &)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a97111ac32a052b3b9cef8690f83b4ca8">~AgentSession</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a98afe69a804acb77ec9b2949b9f3a998">AgentSession</a> (<a class="el" href="a00059.html">qpid::messaging::Connection</a> &conn, const <a class="el" href="a00345.html">std::string</a> &options="")</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="a00012.html">AgentSession</a> A session that runs over an AMQP connection for QMF agent operation. <a href="#a98afe69a804acb77ec9b2949b9f3a998"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a751e893d2cbae064981c1b18a0a8da48">setDomain</a> (const <a class="el" href="a00345.html">std::string</a> &domain)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">setDomain - Change the QMF domain that this agent will operate in. <a href="#a751e893d2cbae064981c1b18a0a8da48"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a3164d5441a8d6fe7bf83a7fa0484c820">setVendor</a> (const <a class="el" href="a00345.html">std::string</a> &vendor)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set identifying attributes of this agent. <a href="#a3164d5441a8d6fe7bf83a7fa0484c820"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#acf0c8bcc9c59f7f2676adf9d22e5bda8">setProduct</a> (const <a class="el" href="a00345.html">std::string</a> &product)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#af0fbc18e406bfa87b38212f0fb530dc5">setInstance</a> (const <a class="el" href="a00345.html">std::string</a> &instance)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a8e371d0b48912b47ccaf5ee3d999c006">setAttribute</a> (const <a class="el" href="a00345.html">std::string</a> &key, const <a class="el" href="a00385.html">qpid::types::Variant</a> &value)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">setAttribute - Set an arbitrary attribute for this agent. <a href="#a8e371d0b48912b47ccaf5ee3d999c006"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a00345.html">std::string</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a97c650f523630ec4ea53bec8b34c1ca4">getName</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the identifying name of the agent. <a href="#a97c650f523630ec4ea53bec8b34c1ca4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a0824aefac1ce7435a1faeac3a68b3315">open</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Open the agent session. <a href="#a0824aefac1ce7435a1faeac3a68b3315"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#adf21ab4c0400c897e8f4a7420426a943">close</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Close the session. <a href="#adf21ab4c0400c897e8f4a7420426a943"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#af8a3563e8d7b0716628d188da0321dc7">nextEvent</a> (<a class="el" href="a00009.html">AgentEvent</a> &outEvent, <a class="el" href="a00104.html">qpid::messaging::Duration</a> timeout=<a class="el" href="a00104.html#a873e249777ffd59f9ebb263cd0c15dbe">qpid::messaging::Duration::FOREVER</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the next event from the agent session. <a href="#af8a3563e8d7b0716628d188da0321dc7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a43faabc183786eac7d4d39b3f2bf540a">pendingEvents</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of events pending for nextEvent. <a href="#a43faabc183786eac7d4d39b3f2bf540a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a3ec285c318136ab0d414747ffa4bb8d3">registerSchema</a> (<a class="el" href="a00296.html">Schema</a> &schema)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Register a schema to be exposed by this agent. <a href="#a3ec285c318136ab0d414747ffa4bb8d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00095.html">DataAddr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a726875dfd564b755bd063bcf348baf4e">addData</a> (<a class="el" href="a00094.html">Data</a> &data, const <a class="el" href="a00345.html">std::string</a> &name="", bool persistent=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add data to be managed internally by the agent. <a href="#a726875dfd564b755bd063bcf348baf4e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a2c5b9d37411b2ae3e0cecc55243d5ea3">delData</a> (const <a class="el" href="a00095.html">DataAddr</a> &dataAddr)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete data from internal agent management. <a href="#a2c5b9d37411b2ae3e0cecc55243d5ea3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a24b3b014d1c6b162d537efc97f01e184">authAccept</a> (<a class="el" href="a00009.html">AgentEvent</a> &event)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The following methods are used to respond to events received in nextEvent. <a href="#a24b3b014d1c6b162d537efc97f01e184"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a6cc12a3a33551aff531ae2f6f15f2287">authReject</a> (<a class="el" href="a00009.html">AgentEvent</a> &event, const <a class="el" href="a00345.html">std::string</a> &diag="")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a2a729cfbdea32b4f45a4ab7c8aa261f0">raiseException</a> (<a class="el" href="a00009.html">AgentEvent</a> &event, const <a class="el" href="a00345.html">std::string</a> &errorText)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a789661045676714ee7c633449fa5cafc">raiseException</a> (<a class="el" href="a00009.html">AgentEvent</a> &event, const <a class="el" href="a00094.html">Data</a> &errorData)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ae3c25c1475e479a089073b7562926c85">response</a> (<a class="el" href="a00009.html">AgentEvent</a> &event, const <a class="el" href="a00094.html">Data</a> &responseData)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a301ffd8bb09f9b338663f7a7fc06bad1">complete</a> (<a class="el" href="a00009.html">AgentEvent</a> &event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a8067519dcd14ca674659e131152da95c">methodSuccess</a> (<a class="el" href="a00009.html">AgentEvent</a> &event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#aca68d9c579d3b9a66e89f77fc8771267">raiseEvent</a> (const <a class="el" href="a00094.html">Data</a> &data)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Raise an event to be sent into the QMF network. <a href="#aca68d9c579d3b9a66e89f77fc8771267"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#a462da33a6c421674fbd73499207fa3cd">raiseEvent</a> (const <a class="el" href="a00094.html">Data</a> &data, int severity)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMF_INLINE_EXTERN bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00141.html#a39749de38a4fc07f8401696d497a0d3c">isValid</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMF_INLINE_EXTERN bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00141.html#a015fea48a0cd370654102196b8972b0c">isNull</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMF_INLINE_EXTERN </td><td class="memItemRight" valign="bottom"><a class="el" href="a00141.html#ac1b6422c4626a1a630ac5cc13b41ad9a">operator bool</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Conversion to bool supports idiom if (handle) { handle->... <a href="#ac1b6422c4626a1a630ac5cc13b41ad9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMF_INLINE_EXTERN bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00141.html#a5f7fe4689daf51182ceb8db1c5a7b85f">operator!</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }. <a href="#a5f7fe4689daf51182ceb8db1c5a7b85f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00141.html#aa5de6b64fd036c74cbc332ac2c5d1377">swap</a> (<a class="el" href="a00141.html">Handle</a>< T > &h)</td></tr>
<tr><td colspan="2"><h2><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef T </td><td class="memItemRight" valign="bottom"><a class="el" href="a00141.html#a15c17b50788ef3057bf2c7a99e7c39b2">Impl</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"><a class="el" href="a00141.html#a15c17b50788ef3057bf2c7a99e7c39b2">Impl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00141.html#a0effa7fbf9c8ae45a927102af0b25679">impl</a></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a15c17b50788ef3057bf2c7a99e7c39b2"></a><!-- doxytag: member="qmf::AgentSession::Impl" ref="a15c17b50788ef3057bf2c7a99e7c39b2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef T <a class="el" href="a00141.html#a15c17b50788ef3057bf2c7a99e7c39b2">qmf::Handle::Impl</a><code> [protected, inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="a00437_source.html#l00056">56</a> of file <a class="el" href="a00437_source.html">Handle.h</a>.</p>
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a143ee4f27348fc53a308ba6a30dea095"></a><!-- doxytag: member="qmf::AgentSession::AgentSession" ref="a143ee4f27348fc53a308ba6a30dea095" args="(AgentSessionImpl *impl=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">qmf::AgentSession::AgentSession </td>
<td>(</td>
<td class="paramtype">AgentSessionImpl * </td>
<td class="paramname"><em>impl</em> = <code>0</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aa1fe2e982e7037b830dbf9e3616f44c6"></a><!-- doxytag: member="qmf::AgentSession::AgentSession" ref="aa1fe2e982e7037b830dbf9e3616f44c6" args="(const AgentSession &)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">qmf::AgentSession::AgentSession </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00012.html">AgentSession</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a97111ac32a052b3b9cef8690f83b4ca8"></a><!-- doxytag: member="qmf::AgentSession::~AgentSession" ref="a97111ac32a052b3b9cef8690f83b4ca8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">qmf::AgentSession::~AgentSession </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a98afe69a804acb77ec9b2949b9f3a998"></a><!-- doxytag: member="qmf::AgentSession::AgentSession" ref="a98afe69a804acb77ec9b2949b9f3a998" args="(qpid::messaging::Connection &conn, const std::string &options="")" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">qmf::AgentSession::AgentSession </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00059.html">qpid::messaging::Connection</a> & </td>
<td class="paramname"><em>conn</em>, </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>options</em> = <code>""</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="a00012.html">AgentSession</a> A session that runs over an AMQP connection for QMF agent operation. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">connection</td><td>- An opened <a class="el" href="a00059.html" title="A connection represents a network connection to a remote endpoint.">qpid::messaging::Connection</a> </td></tr>
<tr><td class="paramname">options</td><td>- An optional string containing options</td></tr>
</table>
</dd>
</dl>
<p>The options string is of the form "{key:value,key:value}". The following keys are supported:</p>
<p>interval:N - Heartbeat interval in seconds [default: 60] external:{True,False} - Use external data storage (queries and subscriptions are pass-through) [default: False] allow-queries:{True,False} - If True: automatically allow all queries [default] If False: generate an AUTH_QUERY event to allow per-query authorization allow-methods:{True,False} - If True: automatically allow all methods [default] If False: generate an AUTH_METHOD event to allow per-method authorization max-subscriptions:N - Maximum number of concurrent subscription queries permitted [default: 64] min-sub-interval:N - Minimum publish interval (in milliseconds) permitted for a subscription [default: 3000] sub-lifetime:N - Lifetime (in seconds with no keepalive) for a subscription [default: 300] public-events:{True,False} - If True: QMF events are sent to the topic exchange [default] If False: QMF events are only sent to authorized subscribers listen-on-direct:{True,False} - If True: Listen on legacy direct-exchange address for backward compatibility [default] If False: Listen only on the routable direct address strict-security:{True,False} - If True: Cooperate with the broker to enforce strict access control to the network</p>
<ul>
<li>If False: Operate more flexibly with regard to use of messaging facilities [default] max-thread-wait-time:N - Time (in seconds) the session thread will wait for messages from the network between periodic background processing passes. [default: 5] Must not be greater than 'interval'. Larger numbers will cause fewer wake-ups but will increase the time it takes to shut down the process. This setting will not affect the agent's response time for queries or method invocation. </li>
</ul>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a726875dfd564b755bd063bcf348baf4e"></a><!-- doxytag: member="qmf::AgentSession::addData" ref="a726875dfd564b755bd063bcf348baf4e" args="(Data &data, const std::string &name="", bool persistent=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00095.html">DataAddr</a> qmf::AgentSession::addData </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00094.html">Data</a> & </td>
<td class="paramname"><em>data</em>, </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>name</em> = <code>""</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>persistent</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add data to be managed internally by the agent. </p>
<p>If the option external:True is selected, this call should not be used.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>- The data object being managed by the agent. </td></tr>
<tr><td class="paramname">name</td><td>- A name unique to this object to be used to address the object. If left default, a unique name will be assigned by the agent. </td></tr>
<tr><td class="paramname">persistent</td><td>- Set this to true if the data object is to be considered persistent across different sessions. If persistent, it is the agent application's responsibility to ensure the name is the same each time it is added. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a24b3b014d1c6b162d537efc97f01e184"></a><!-- doxytag: member="qmf::AgentSession::authAccept" ref="a24b3b014d1c6b162d537efc97f01e184" args="(AgentEvent &event)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::authAccept </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00009.html">AgentEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The following methods are used to respond to events received in nextEvent. </p>
<p>authAccept - Accept an authorization request. authReject - Reject/forbid an authorization request. raiseException - indicate failure of an operation (i.e. query or method call). response - Provide data in response to a query (only for option: external:True) complete - Indicate that the response to a query is complete (external:True only) methodSuccess - Indicate the successful completion of a method call. </p>
</div>
</div>
<a class="anchor" id="a6cc12a3a33551aff531ae2f6f15f2287"></a><!-- doxytag: member="qmf::AgentSession::authReject" ref="a6cc12a3a33551aff531ae2f6f15f2287" args="(AgentEvent &event, const std::string &diag="")" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::authReject </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00009.html">AgentEvent</a> & </td>
<td class="paramname"><em>event</em>, </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>diag</em> = <code>""</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="adf21ab4c0400c897e8f4a7420426a943"></a><!-- doxytag: member="qmf::AgentSession::close" ref="adf21ab4c0400c897e8f4a7420426a943" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::close </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Close the session. </p>
<p>Once closed, the session no longer communicates on the messaging network. </p>
</div>
</div>
<a class="anchor" id="a301ffd8bb09f9b338663f7a7fc06bad1"></a><!-- doxytag: member="qmf::AgentSession::complete" ref="a301ffd8bb09f9b338663f7a7fc06bad1" args="(AgentEvent &event)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::complete </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00009.html">AgentEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a2c5b9d37411b2ae3e0cecc55243d5ea3"></a><!-- doxytag: member="qmf::AgentSession::delData" ref="a2c5b9d37411b2ae3e0cecc55243d5ea3" args="(const DataAddr &dataAddr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::delData </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00095.html">DataAddr</a> & </td>
<td class="paramname"><em>dataAddr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Delete data from internal agent management. </p>
</div>
</div>
<a class="anchor" id="a97c650f523630ec4ea53bec8b34c1ca4"></a><!-- doxytag: member="qmf::AgentSession::getName" ref="a97c650f523630ec4ea53bec8b34c1ca4" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="a00345.html">std::string</a>& qmf::AgentSession::getName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the identifying name of the agent. </p>
</div>
</div>
<a class="anchor" id="a015fea48a0cd370654102196b8972b0c"></a><!-- doxytag: member="qmf::AgentSession::isNull" ref="a015fea48a0cd370654102196b8972b0c" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QMF_INLINE_EXTERN bool qmf::Handle::isNull </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline, inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true if handle is null. It is an error to call any function on a null handle. </dd></dl>
<p>Definition at line <a class="el" href="a00437_source.html#l00045">45</a> of file <a class="el" href="a00437_source.html">Handle.h</a>.</p>
</div>
</div>
<a class="anchor" id="a39749de38a4fc07f8401696d497a0d3c"></a><!-- doxytag: member="qmf::AgentSession::isValid" ref="a39749de38a4fc07f8401696d497a0d3c" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QMF_INLINE_EXTERN bool qmf::Handle::isValid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline, inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true if handle is valid, i.e. not null. </dd></dl>
<p>Definition at line <a class="el" href="a00437_source.html#l00042">42</a> of file <a class="el" href="a00437_source.html">Handle.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8067519dcd14ca674659e131152da95c"></a><!-- doxytag: member="qmf::AgentSession::methodSuccess" ref="a8067519dcd14ca674659e131152da95c" args="(AgentEvent &event)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::methodSuccess </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00009.html">AgentEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="af8a3563e8d7b0716628d188da0321dc7"></a><!-- doxytag: member="qmf::AgentSession::nextEvent" ref="af8a3563e8d7b0716628d188da0321dc7" args="(AgentEvent &outEvent, qpid::messaging::Duration timeout=qpid::messaging::Duration::FOREVER)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool qmf::AgentSession::nextEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00009.html">AgentEvent</a> & </td>
<td class="paramname"><em>outEvent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00104.html">qpid::messaging::Duration</a> </td>
<td class="paramname"><em>timeout</em> = <code><a class="el" href="a00104.html#a873e249777ffd59f9ebb263cd0c15dbe">qpid::messaging::Duration::FOREVER</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the next event from the agent session. </p>
<p>Events represent actions that must be acted upon by the agent application. This method blocks for up to the timeout if there are no events to be handled. This method will typically be the focus of the agent application's main execution loop. If the timeout is set to Duration::IMMEDIATE, the call will not block. </p>
</div>
</div>
<a class="anchor" id="a0824aefac1ce7435a1faeac3a68b3315"></a><!-- doxytag: member="qmf::AgentSession::open" ref="a0824aefac1ce7435a1faeac3a68b3315" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::open </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Open the agent session. </p>
<p>After opening the session, the domain, identifying strings, and attributes cannot be changed. </p>
</div>
</div>
<a class="anchor" id="ac1b6422c4626a1a630ac5cc13b41ad9a"></a><!-- doxytag: member="qmf::AgentSession::operator bool" ref="ac1b6422c4626a1a630ac5cc13b41ad9a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QMF_INLINE_EXTERN qmf::Handle::operator bool </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline, inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Conversion to bool supports idiom if (handle) { handle->... </p>
<p>} </p>
<p>Definition at line <a class="el" href="a00437_source.html#l00048">48</a> of file <a class="el" href="a00437_source.html">Handle.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5f7fe4689daf51182ceb8db1c5a7b85f"></a><!-- doxytag: member="qmf::AgentSession::operator!" ref="a5f7fe4689daf51182ceb8db1c5a7b85f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QMF_INLINE_EXTERN bool qmf::Handle::operator! </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline, inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }. </p>
<p>Definition at line <a class="el" href="a00437_source.html#l00051">51</a> of file <a class="el" href="a00437_source.html">Handle.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2a9e3e3bdd3ad28daee9bbaf8bc7f0fe"></a><!-- doxytag: member="qmf::AgentSession::operator=" ref="a2a9e3e3bdd3ad28daee9bbaf8bc7f0fe" args="(const AgentSession &)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00012.html">AgentSession</a>& qmf::AgentSession::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00012.html">AgentSession</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a43faabc183786eac7d4d39b3f2bf540a"></a><!-- doxytag: member="qmf::AgentSession::pendingEvents" ref="a43faabc183786eac7d4d39b3f2bf540a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int qmf::AgentSession::pendingEvents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the number of events pending for nextEvent. </p>
<p>This method will never block. </p>
</div>
</div>
<a class="anchor" id="aca68d9c579d3b9a66e89f77fc8771267"></a><!-- doxytag: member="qmf::AgentSession::raiseEvent" ref="aca68d9c579d3b9a66e89f77fc8771267" args="(const Data &data)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::raiseEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00094.html">Data</a> & </td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Raise an event to be sent into the QMF network. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>- A data object that contains the event contents. </td></tr>
<tr><td class="paramname">severity</td><td>- Explicit severity (from <a class="el" href="a00448.html">qmf/SchemaTypes.h</a>). If omitted, the severity is set to the default severity for the data's schema. If the data has no schema, the severity defaults to SEV_NOTICE. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a462da33a6c421674fbd73499207fa3cd"></a><!-- doxytag: member="qmf::AgentSession::raiseEvent" ref="a462da33a6c421674fbd73499207fa3cd" args="(const Data &data, int severity)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::raiseEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00094.html">Data</a> & </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>severity</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a2a729cfbdea32b4f45a4ab7c8aa261f0"></a><!-- doxytag: member="qmf::AgentSession::raiseException" ref="a2a729cfbdea32b4f45a4ab7c8aa261f0" args="(AgentEvent &event, const std::string &errorText)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::raiseException </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00009.html">AgentEvent</a> & </td>
<td class="paramname"><em>event</em>, </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>errorText</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a789661045676714ee7c633449fa5cafc"></a><!-- doxytag: member="qmf::AgentSession::raiseException" ref="a789661045676714ee7c633449fa5cafc" args="(AgentEvent &event, const Data &errorData)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::raiseException </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00009.html">AgentEvent</a> & </td>
<td class="paramname"><em>event</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00094.html">Data</a> & </td>
<td class="paramname"><em>errorData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a3ec285c318136ab0d414747ffa4bb8d3"></a><!-- doxytag: member="qmf::AgentSession::registerSchema" ref="a3ec285c318136ab0d414747ffa4bb8d3" args="(Schema &schema)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::registerSchema </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00296.html">Schema</a> & </td>
<td class="paramname"><em>schema</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Register a schema to be exposed by this agent. </p>
</div>
</div>
<a class="anchor" id="ae3c25c1475e479a089073b7562926c85"></a><!-- doxytag: member="qmf::AgentSession::response" ref="ae3c25c1475e479a089073b7562926c85" args="(AgentEvent &event, const Data &responseData)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::response </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00009.html">AgentEvent</a> & </td>
<td class="paramname"><em>event</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00094.html">Data</a> & </td>
<td class="paramname"><em>responseData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a8e371d0b48912b47ccaf5ee3d999c006"></a><!-- doxytag: member="qmf::AgentSession::setAttribute" ref="a8e371d0b48912b47ccaf5ee3d999c006" args="(const std::string &key, const qpid::types::Variant &value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::setAttribute </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00385.html">qpid::types::Variant</a> & </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>setAttribute - Set an arbitrary attribute for this agent. </p>
<p>The attributes are not used to uniquely identify the agent but can be used as a search criteria when looking for agents. This must be called prior to opening the agent session. </p>
</div>
</div>
<a class="anchor" id="a751e893d2cbae064981c1b18a0a8da48"></a><!-- doxytag: member="qmf::AgentSession::setDomain" ref="a751e893d2cbae064981c1b18a0a8da48" args="(const std::string &domain)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::setDomain </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>domain</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>setDomain - Change the QMF domain that this agent will operate in. </p>
<p>If this is not called, the domain will be "default". Agents in a domain can be seen only by consoles in the same domain. This must be called prior to opening the agent session. </p>
</div>
</div>
<a class="anchor" id="af0fbc18e406bfa87b38212f0fb530dc5"></a><!-- doxytag: member="qmf::AgentSession::setInstance" ref="af0fbc18e406bfa87b38212f0fb530dc5" args="(const std::string &instance)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::setInstance </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>instance</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="acf0c8bcc9c59f7f2676adf9d22e5bda8"></a><!-- doxytag: member="qmf::AgentSession::setProduct" ref="acf0c8bcc9c59f7f2676adf9d22e5bda8" args="(const std::string &product)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::setProduct </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>product</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a3164d5441a8d6fe7bf83a7fa0484c820"></a><!-- doxytag: member="qmf::AgentSession::setVendor" ref="a3164d5441a8d6fe7bf83a7fa0484c820" args="(const std::string &vendor)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::AgentSession::setVendor </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00345.html">std::string</a> & </td>
<td class="paramname"><em>vendor</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set identifying attributes of this agent. </p>
<p>setVendor - Set the vendor string setProduct - Set the product name string setInstance - Set the unique instance name (if not set, a UUID will be assigned) These must be called prior to opening the agent session. </p>
</div>
</div>
<a class="anchor" id="aa5de6b64fd036c74cbc332ac2c5d1377"></a><!-- doxytag: member="qmf::AgentSession::swap" ref="aa5de6b64fd036c74cbc332ac2c5d1377" args="(Handle< T > &h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void qmf::Handle::swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00141.html">Handle</a>< T > & </td>
<td class="paramname"><em>h</em></td><td>)</td>
<td><code> [inline, inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="a00437_source.html#l00053">53</a> of file <a class="el" href="a00437_source.html">Handle.h</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a0effa7fbf9c8ae45a927102af0b25679"></a><!-- doxytag: member="qmf::AgentSession::impl" ref="a0effa7fbf9c8ae45a927102af0b25679" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00141.html#a15c17b50788ef3057bf2c7a99e7c39b2">Impl</a>* <a class="el" href="a00141.html#a0effa7fbf9c8ae45a927102af0b25679">qmf::Handle::impl</a><code> [protected, inherited]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="a00437_source.html#l00063">63</a> of file <a class="el" href="a00437_source.html">Handle.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>qmf/<a class="el" href="a00407_source.html">AgentSession.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>
|