/usr/share/proton-0.10/docs/api-c/a00049.html is in libqpid-proton2-dev-doc 0.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>proton: Event</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">proton
 <span id="projectnumber">0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li class="current"><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Event<div class="ingroups"><a class="el" href="a00048.html">Engine</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga87f3028b4888632bbd56fb71ac737ae8"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a></td></tr>
<tr class="memdesc:ga87f3028b4888632bbd56fb71ac737ae8"><td class="mdescLeft"> </td><td class="mdescRight">An event provides notification of a state change within the protocol engine's object model. <a href="#ga87f3028b4888632bbd56fb71ac737ae8">More...</a><br /></td></tr>
<tr class="separator:ga87f3028b4888632bbd56fb71ac737ae8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga905cdecedb8020bc28e648e43348b5d1"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a></td></tr>
<tr class="memdesc:ga905cdecedb8020bc28e648e43348b5d1"><td class="mdescLeft"> </td><td class="mdescRight">An event collector. <a href="#ga905cdecedb8020bc28e648e43348b5d1">More...</a><br /></td></tr>
<tr class="separator:ga905cdecedb8020bc28e648e43348b5d1"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga4876e2eed24a4d4e4c52b99842103cda"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> { <br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa1f5eec218463ae8e4f962fcc8eb2e657">PN_EVENT_NONE</a> = 0,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa95e9355638399ee20a697f3f494ab7db">PN_REACTOR_INIT</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa5548649935a6aab6e6547c9036f685ff">PN_REACTOR_QUIESCED</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaad164b6566815866ed2c1d981e02bacb0">PN_REACTOR_FINAL</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa13fdcb0402f982fd366e58f165f376c9">PN_TIMER_TASK</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa182e571a0310028514bce66a41063a6e">PN_CONNECTION_INIT</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaaf61aa79ca82b3a8f5017dc735843fae5">PN_CONNECTION_BOUND</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaac683ba544c12cbf36a3d3015ae818498">PN_CONNECTION_UNBOUND</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa5d285c46982df224c3e4733b05c3540a">PN_CONNECTION_LOCAL_OPEN</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaad48bce685db553740fa71cc36473b5cc">PN_CONNECTION_REMOTE_OPEN</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaac8567664d41057ae94d23776f5ecdb86">PN_CONNECTION_LOCAL_CLOSE</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa1252529cf9f03d214c9b4fea5cf11b2f">PN_CONNECTION_REMOTE_CLOSE</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa6c7d6b4e5f1e4f47fa80dae1ad686e0b">PN_CONNECTION_FINAL</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaaf5b92fb6331bfe63786db3950073147f">PN_SESSION_INIT</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa0862b8e3613b7a2b5a08a779474df424">PN_SESSION_LOCAL_OPEN</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaaf67df046bea45df34aea863d9541e806">PN_SESSION_REMOTE_OPEN</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa5d3fe92cc7ef0e8712b038ecfbd05029">PN_SESSION_LOCAL_CLOSE</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa3410075b825c59b8f4efdcddf5a5b135">PN_SESSION_REMOTE_CLOSE</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaaf5eb59f4d99ef5a8efd48be64a2bd8f8">PN_SESSION_FINAL</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa2f9e46bded95d0233cc74a71fdc75a2c">PN_LINK_INIT</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa5ddecd4b0ea72895413fbf1b5cb41f65">PN_LINK_LOCAL_OPEN</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa45edb44a6cc7908b5032944e08925307">PN_LINK_REMOTE_OPEN</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa3b27f8d1c91cc05b47bed1905d42373a">PN_LINK_LOCAL_CLOSE</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa1153f0108be071c31210dd1cd3e40a1f">PN_LINK_REMOTE_CLOSE</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa838b909cce908f5769d043ba3e73e73e">PN_LINK_LOCAL_DETACH</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa5a84b68a2bd5ca705187381a785121d2">PN_LINK_REMOTE_DETACH</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa4eaecc54c07cdc9b0df7b1d536a7dc3f">PN_LINK_FLOW</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaaeacdc45bfe24b2a9da2aeed7b6effac5">PN_LINK_FINAL</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa70bbfc163d85732b5652dc70fb3330fe">PN_DELIVERY</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaad7329eb7a015f62ce70719ea20abab76">PN_TRANSPORT</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaaa205271edd307e5d33bd8287a760ad28">PN_TRANSPORT_AUTHENTICATED</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa7c7278de5bcbf3b42b3e692ca21f6c5a">PN_TRANSPORT_ERROR</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa98facd13835b4a1d8e878d6f13c10a51">PN_TRANSPORT_HEAD_CLOSED</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa205d07df6cd3d07b37a89f046b1184db">PN_TRANSPORT_TAIL_CLOSED</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa1ca722ce3c0b2c13a33636cded8430ba">PN_TRANSPORT_CLOSED</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa74f3d7501f7d57e620e9d826293c47ee">PN_SELECTABLE_INIT</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa2db304137f1cbb89baed3ff87ab43b9c">PN_SELECTABLE_UPDATED</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa12d77930d6fc716f286f1fc1da17b718">PN_SELECTABLE_READABLE</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa6dd63225befbc388ca529f5f4cf6d2b9">PN_SELECTABLE_WRITABLE</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa5258331573513f2672922763ee41b24f">PN_SELECTABLE_ERROR</a>,
<br />
  <a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaade231050bf30430bf4f2c111f5564ee0">PN_SELECTABLE_EXPIRED</a>,
<a class="el" href="a00049.html#gga4876e2eed24a4d4e4c52b99842103cdaa45de34c8f4fdb4c8b1f713d7b17b4ca1">PN_SELECTABLE_FINAL</a>
<br />
}<tr class="memdesc:ga4876e2eed24a4d4e4c52b99842103cda"><td class="mdescLeft"> </td><td class="mdescRight">An event type. <a href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga4876e2eed24a4d4e4c52b99842103cda"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaede985de776fb37eaf3d2a34af60a5dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gaede985de776fb37eaf3d2a34af60a5dc">pn_event_type_name</a> (<a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> type)</td></tr>
<tr class="memdesc:gaede985de776fb37eaf3d2a34af60a5dc"><td class="mdescLeft"> </td><td class="mdescRight">Get a human readable name for an event type. <a href="#gaede985de776fb37eaf3d2a34af60a5dc">More...</a><br /></td></tr>
<tr class="separator:gaede985de776fb37eaf3d2a34af60a5dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa880eb8a610de74e5d34bc0a4c239ada"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gaa880eb8a610de74e5d34bc0a4c239ada">pn_collector</a> (void)</td></tr>
<tr class="memdesc:gaa880eb8a610de74e5d34bc0a4c239ada"><td class="mdescLeft"> </td><td class="mdescRight">Construct a collector. <a href="#gaa880eb8a610de74e5d34bc0a4c239ada">More...</a><br /></td></tr>
<tr class="separator:gaa880eb8a610de74e5d34bc0a4c239ada"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaff9695d4c47feea83a5762cec75d6ccf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gaff9695d4c47feea83a5762cec75d6ccf">pn_collector_free</a> (<a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:gaff9695d4c47feea83a5762cec75d6ccf"><td class="mdescLeft"> </td><td class="mdescRight">Free a collector. <a href="#gaff9695d4c47feea83a5762cec75d6ccf">More...</a><br /></td></tr>
<tr class="separator:gaff9695d4c47feea83a5762cec75d6ccf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad1f005d4eae73f8d81e2df08da151f53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gad1f005d4eae73f8d81e2df08da151f53">pn_collector_release</a> (<a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:gad1f005d4eae73f8d81e2df08da151f53"><td class="mdescLeft"> </td><td class="mdescRight">Release a collector. <a href="#gad1f005d4eae73f8d81e2df08da151f53">More...</a><br /></td></tr>
<tr class="separator:gad1f005d4eae73f8d81e2df08da151f53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gafa2f79fd9dd3cd78fb8edef78a70048c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gafa2f79fd9dd3cd78fb8edef78a70048c">pn_collector_put</a> (<a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector, const <a class="el" href="a00006.html">pn_class_t</a> *clazz, void *context, <a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> type)</td></tr>
<tr class="memdesc:gafa2f79fd9dd3cd78fb8edef78a70048c"><td class="mdescLeft"> </td><td class="mdescRight">Place a new event on a collector. <a href="#gafa2f79fd9dd3cd78fb8edef78a70048c">More...</a><br /></td></tr>
<tr class="separator:gafa2f79fd9dd3cd78fb8edef78a70048c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga93fe9a4d042d37ade5cd00b3cc1cb59f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga93fe9a4d042d37ade5cd00b3cc1cb59f">pn_collector_peek</a> (<a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:ga93fe9a4d042d37ade5cd00b3cc1cb59f"><td class="mdescLeft"> </td><td class="mdescRight">Access the head event contained by a collector. <a href="#ga93fe9a4d042d37ade5cd00b3cc1cb59f">More...</a><br /></td></tr>
<tr class="separator:ga93fe9a4d042d37ade5cd00b3cc1cb59f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa555f47b96943d506be173d3bfbb0e2f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gaa555f47b96943d506be173d3bfbb0e2f">pn_collector_pop</a> (<a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:gaa555f47b96943d506be173d3bfbb0e2f"><td class="mdescLeft"> </td><td class="mdescRight">Clear the head event on a collector. <a href="#gaa555f47b96943d506be173d3bfbb0e2f">More...</a><br /></td></tr>
<tr class="separator:gaa555f47b96943d506be173d3bfbb0e2f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5ca84a1786d2707cfcfe821bdcf19d15"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga5ca84a1786d2707cfcfe821bdcf19d15">pn_collector_more</a> (<a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector)</td></tr>
<tr class="memdesc:ga5ca84a1786d2707cfcfe821bdcf19d15"><td class="mdescLeft"> </td><td class="mdescRight">Check if there are more events after the current event. <a href="#ga5ca84a1786d2707cfcfe821bdcf19d15">More...</a><br /></td></tr>
<tr class="separator:ga5ca84a1786d2707cfcfe821bdcf19d15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6f4ad7aa02de3d8e3d9006d1ff274585"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga6f4ad7aa02de3d8e3d9006d1ff274585">pn_event_type</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga6f4ad7aa02de3d8e3d9006d1ff274585"><td class="mdescLeft"> </td><td class="mdescRight">Get the type of an event. <a href="#ga6f4ad7aa02de3d8e3d9006d1ff274585">More...</a><br /></td></tr>
<tr class="separator:ga6f4ad7aa02de3d8e3d9006d1ff274585"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7cde0db3bb43614323ff1aee87bf45aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const <a class="el" href="a00006.html">pn_class_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga7cde0db3bb43614323ff1aee87bf45aa">pn_event_class</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga7cde0db3bb43614323ff1aee87bf45aa"><td class="mdescLeft"> </td><td class="mdescRight">Get the class associated with the event context. <a href="#ga7cde0db3bb43614323ff1aee87bf45aa">More...</a><br /></td></tr>
<tr class="separator:ga7cde0db3bb43614323ff1aee87bf45aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae7306ffd931c65d9acab76fde75fbd53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gae7306ffd931c65d9acab76fde75fbd53">pn_event_context</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:gae7306ffd931c65d9acab76fde75fbd53"><td class="mdescLeft"> </td><td class="mdescRight">Get the context associated with an event. <a href="#gae7306ffd931c65d9acab76fde75fbd53">More...</a><br /></td></tr>
<tr class="separator:gae7306ffd931c65d9acab76fde75fbd53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabd51118bb12d11911fb189ace39fa20f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gabd51118bb12d11911fb189ace39fa20f">pn_event_connection</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:gabd51118bb12d11911fb189ace39fa20f"><td class="mdescLeft"> </td><td class="mdescRight">Get the connection associated with an event. <a href="#gabd51118bb12d11911fb189ace39fa20f">More...</a><br /></td></tr>
<tr class="separator:gabd51118bb12d11911fb189ace39fa20f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5e61979e9bb2c76529c9b62a0a65a67d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga5e61979e9bb2c76529c9b62a0a65a67d">pn_event_session</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga5e61979e9bb2c76529c9b62a0a65a67d"><td class="mdescLeft"> </td><td class="mdescRight">Get the session associated with an event. <a href="#ga5e61979e9bb2c76529c9b62a0a65a67d">More...</a><br /></td></tr>
<tr class="separator:ga5e61979e9bb2c76529c9b62a0a65a67d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2a289b44f0bb585f419f355e0e7bff81"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga2a289b44f0bb585f419f355e0e7bff81">pn_event_link</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga2a289b44f0bb585f419f355e0e7bff81"><td class="mdescLeft"> </td><td class="mdescRight">Get the link associated with an event. <a href="#ga2a289b44f0bb585f419f355e0e7bff81">More...</a><br /></td></tr>
<tr class="separator:ga2a289b44f0bb585f419f355e0e7bff81"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaadfc49bb1943bf56058bfe7affa5a380"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gaadfc49bb1943bf56058bfe7affa5a380">pn_event_delivery</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:gaadfc49bb1943bf56058bfe7affa5a380"><td class="mdescLeft"> </td><td class="mdescRight">Get the delivery associated with an event. <a href="#gaadfc49bb1943bf56058bfe7affa5a380">More...</a><br /></td></tr>
<tr class="separator:gaadfc49bb1943bf56058bfe7affa5a380"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5c8c7f4d2b79cb08e2f77fad9746fbc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00062.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#ga5c8c7f4d2b79cb08e2f77fad9746fbc5">pn_event_transport</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:ga5c8c7f4d2b79cb08e2f77fad9746fbc5"><td class="mdescLeft"> </td><td class="mdescRight">Get the transport associated with an event. <a href="#ga5c8c7f4d2b79cb08e2f77fad9746fbc5">More...</a><br /></td></tr>
<tr class="separator:ga5c8c7f4d2b79cb08e2f77fad9746fbc5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab2f4a048e116b4831f6d5300e39d0b7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00028.html#a70655c422210ccf8f4616e4c28a8b1d4">pn_record_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00049.html#gab2f4a048e116b4831f6d5300e39d0b7f">pn_event_attachments</a> (<a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> *event)</td></tr>
<tr class="memdesc:gab2f4a048e116b4831f6d5300e39d0b7f"><td class="mdescLeft"> </td><td class="mdescRight">Get any attachments associated with an event. <a href="#gab2f4a048e116b4831f6d5300e39d0b7f">More...</a><br /></td></tr>
<tr class="separator:gab2f4a048e116b4831f6d5300e39d0b7f"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga905cdecedb8020bc28e648e43348b5d1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> <a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>An event collector. </p>
<p>A pn_collector_t may be used to register interest in being notified of high level events that can occur to the various objects representing AMQP endpoint state. See <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8" title="An event provides notification of a state change within the protocol engine's object model...">pn_event_t</a> for more details. </p>
</div>
</div>
<a class="anchor" id="ga87f3028b4888632bbd56fb71ac737ae8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>An event provides notification of a state change within the protocol engine's object model. </p>
<p>The AMQP endpoint state modeled by the protocol engine is captured by the following object types: <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">Deliveries </a>, <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">Links </a>, <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">Sessions </a>, <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">Connections </a>, and <a class="el" href="a00062.html#gac26eda05f649bbf0399f3d8d78d12fa8">Transports </a>. These objects are related as follows:</p>
<ul>
<li><a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">Deliveries </a> always have a single parent Link</li>
<li><a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">Links </a> always have a single parent Session</li>
<li><a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">Sessions </a> always have a single parent Connection</li>
<li><a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">Connections </a> optionally have at most one associated Transport</li>
<li><a class="el" href="a00062.html#gac26eda05f649bbf0399f3d8d78d12fa8">Transports </a> optionally have at most one associated Connection</li>
</ul>
<p>Every event has a type (see <a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda" title="An event type. ">pn_event_type_t</a>) that identifies what sort of state change has occurred along with a pointer to the object whose state has changed (as well as its associated objects).</p>
<p>Events are accessed by creating a <a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">Collector </a> with <a class="el" href="a00049.html#gaa880eb8a610de74e5d34bc0a4c239ada" title="Construct a collector. ">pn_collector()</a> and registering it with the <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">Connection </a> of interest through use of <a class="el" href="a00044.html#ga7943e7721ab30776cb79d4799d628164" title="Associate a connection object with an event collector. ">pn_connection_collect()</a>. Once a collector has been registered, <a class="el" href="a00049.html#ga93fe9a4d042d37ade5cd00b3cc1cb59f" title="Access the head event contained by a collector. ">pn_collector_peek()</a> and <a class="el" href="a00049.html#gaa555f47b96943d506be173d3bfbb0e2f" title="Clear the head event on a collector. ">pn_collector_pop()</a> are used to access and process events. </p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga4876e2eed24a4d4e4c52b99842103cda"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>An event type. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa1f5eec218463ae8e4f962fcc8eb2e657"></a>PN_EVENT_NONE </td><td class="fielddoc">
<p>Defined as a programming convenience. </p>
<p>No event of this type will ever be generated. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa95e9355638399ee20a697f3f494ab7db"></a>PN_REACTOR_INIT </td><td class="fielddoc">
<p>A reactor has been started. </p>
<p>Events of this type point to the reactor. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa5548649935a6aab6e6547c9036f685ff"></a>PN_REACTOR_QUIESCED </td><td class="fielddoc">
<p>A reactor has no more events to process. </p>
<p>Events of this type point to the reactor. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaad164b6566815866ed2c1d981e02bacb0"></a>PN_REACTOR_FINAL </td><td class="fielddoc">
<p>A reactor has been stopped. </p>
<p>Events of this type point to the reactor. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa13fdcb0402f982fd366e58f165f376c9"></a>PN_TIMER_TASK </td><td class="fielddoc">
<p>A timer event has occurred. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa182e571a0310028514bce66a41063a6e"></a>PN_CONNECTION_INIT </td><td class="fielddoc">
<p>The connection has been created. </p>
<p>This is the first event that will ever be issued for a connection. Events of this type point to the relevant connection. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaaf61aa79ca82b3a8f5017dc735843fae5"></a>PN_CONNECTION_BOUND </td><td class="fielddoc">
<p>The connection has been bound to a transport. </p>
<p>This event is issued when the <a class="el" href="a00062.html#gad07706c1e7db90d1b5d0ad6caf4c5892" title="Binds the transport to an AMQP connection. ">pn_transport_bind()</a> operation is invoked. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaac683ba544c12cbf36a3d3015ae818498"></a>PN_CONNECTION_UNBOUND </td><td class="fielddoc">
<p>The connection has been unbound from its transport. </p>
<p>This event is issued when the <a class="el" href="a00062.html#gaf0e4c15f27f610ca4c5d64c0f4e95f07" title="Unbinds a transport from its AMQP connection. ">pn_transport_unbind()</a> operation is invoked. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa5d285c46982df224c3e4733b05c3540a"></a>PN_CONNECTION_LOCAL_OPEN </td><td class="fielddoc">
<p>The local connection endpoint has been closed. </p>
<p>Events of this type point to the relevant connection. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaad48bce685db553740fa71cc36473b5cc"></a>PN_CONNECTION_REMOTE_OPEN </td><td class="fielddoc">
<p>The remote endpoint has opened the connection. </p>
<p>Events of this type point to the relevant connection. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaac8567664d41057ae94d23776f5ecdb86"></a>PN_CONNECTION_LOCAL_CLOSE </td><td class="fielddoc">
<p>The local connection endpoint has been closed. </p>
<p>Events of this type point to the relevant connection. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa1252529cf9f03d214c9b4fea5cf11b2f"></a>PN_CONNECTION_REMOTE_CLOSE </td><td class="fielddoc">
<p>The remote endpoint has closed the connection. </p>
<p>Events of this type point to the relevant connection. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa6c7d6b4e5f1e4f47fa80dae1ad686e0b"></a>PN_CONNECTION_FINAL </td><td class="fielddoc">
<p>The connection has been freed and any outstanding processing has been completed. </p>
<p>This is the final event that will ever be issued for a connection. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaaf5b92fb6331bfe63786db3950073147f"></a>PN_SESSION_INIT </td><td class="fielddoc">
<p>The session has been created. </p>
<p>This is the first event that will ever be issued for a session. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa0862b8e3613b7a2b5a08a779474df424"></a>PN_SESSION_LOCAL_OPEN </td><td class="fielddoc">
<p>The local session endpoint has been opened. </p>
<p>Events of this type point ot the relevant session. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaaf67df046bea45df34aea863d9541e806"></a>PN_SESSION_REMOTE_OPEN </td><td class="fielddoc">
<p>The remote endpoint has opened the session. </p>
<p>Events of this type point to the relevant session. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa5d3fe92cc7ef0e8712b038ecfbd05029"></a>PN_SESSION_LOCAL_CLOSE </td><td class="fielddoc">
<p>The local session endpoint has been closed. </p>
<p>Events of this type point ot the relevant session. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa3410075b825c59b8f4efdcddf5a5b135"></a>PN_SESSION_REMOTE_CLOSE </td><td class="fielddoc">
<p>The remote endpoint has closed the session. </p>
<p>Events of this type point to the relevant session. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaaf5eb59f4d99ef5a8efd48be64a2bd8f8"></a>PN_SESSION_FINAL </td><td class="fielddoc">
<p>The session has been freed and any outstanding processing has been completed. </p>
<p>This is the final event that will ever be issued for a session. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa2f9e46bded95d0233cc74a71fdc75a2c"></a>PN_LINK_INIT </td><td class="fielddoc">
<p>The link has been created. </p>
<p>This is the first event that will ever be issued for a link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa5ddecd4b0ea72895413fbf1b5cb41f65"></a>PN_LINK_LOCAL_OPEN </td><td class="fielddoc">
<p>The local link endpoint has been opened. </p>
<p>Events of this type point ot the relevant link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa45edb44a6cc7908b5032944e08925307"></a>PN_LINK_REMOTE_OPEN </td><td class="fielddoc">
<p>The remote endpoint has opened the link. </p>
<p>Events of this type point to the relevant link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa3b27f8d1c91cc05b47bed1905d42373a"></a>PN_LINK_LOCAL_CLOSE </td><td class="fielddoc">
<p>The local link endpoint has been closed. </p>
<p>Events of this type point ot the relevant link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa1153f0108be071c31210dd1cd3e40a1f"></a>PN_LINK_REMOTE_CLOSE </td><td class="fielddoc">
<p>The remote endpoint has closed the link. </p>
<p>Events of this type point to the relevant link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa838b909cce908f5769d043ba3e73e73e"></a>PN_LINK_LOCAL_DETACH </td><td class="fielddoc">
<p>The local link endpoint has been detached. </p>
<p>Events of this type point to the relevant link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa5a84b68a2bd5ca705187381a785121d2"></a>PN_LINK_REMOTE_DETACH </td><td class="fielddoc">
<p>The remote endpoint has detached the link. </p>
<p>Events of this type point to the relevant link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa4eaecc54c07cdc9b0df7b1d536a7dc3f"></a>PN_LINK_FLOW </td><td class="fielddoc">
<p>The flow control state for a link has changed. </p>
<p>Events of this type point to the relevant link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaaeacdc45bfe24b2a9da2aeed7b6effac5"></a>PN_LINK_FINAL </td><td class="fielddoc">
<p>The link has been freed and any outstanding processing has been completed. </p>
<p>This is the final event that will ever be issued for a link. Events of this type point to the relevant link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa70bbfc163d85732b5652dc70fb3330fe"></a>PN_DELIVERY </td><td class="fielddoc">
<p>A delivery has been created or updated. </p>
<p>Events of this type point to the relevant delivery. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaad7329eb7a015f62ce70719ea20abab76"></a>PN_TRANSPORT </td><td class="fielddoc">
<p>The transport has new data to read and/or write. </p>
<p>Events of this type point to the relevant transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaaa205271edd307e5d33bd8287a760ad28"></a>PN_TRANSPORT_AUTHENTICATED </td><td class="fielddoc">
<p>The transport has authenticated, if this is received by a server the associated transport has authenticated an incoming connection and <a class="el" href="a00062.html#gafa71f9e73acbe139941b9ebe754b3241" title="Retrieve the authenticated user. ">pn_transport_get_user()</a> can be used to obtain the authenticated user. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa7c7278de5bcbf3b42b3e692ca21f6c5a"></a>PN_TRANSPORT_ERROR </td><td class="fielddoc">
<p>Indicates that a transport error has occurred. </p>
<p>Use <a class="el" href="a00062.html#ga2d0ad8e3e702ed47088789e33bf0c457" title="Get additional information about the condition of the transport. ">pn_transport_condition()</a> to access the details of the error from the associated transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa98facd13835b4a1d8e878d6f13c10a51"></a>PN_TRANSPORT_HEAD_CLOSED </td><td class="fielddoc">
<p>Indicates that the head of the transport has been closed. </p>
<p>This means the transport will never produce more bytes for output to the network. Events of this type point to the relevant transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa205d07df6cd3d07b37a89f046b1184db"></a>PN_TRANSPORT_TAIL_CLOSED </td><td class="fielddoc">
<p>Indicates that the tail of the transport has been closed. </p>
<p>This means the transport will never be able to process more bytes from the network. Events of this type point to the relevant transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa1ca722ce3c0b2c13a33636cded8430ba"></a>PN_TRANSPORT_CLOSED </td><td class="fielddoc">
<p>Indicates that the both the head and tail of the transport are closed. </p>
<p>Events of this type point to the relevant transport. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa74f3d7501f7d57e620e9d826293c47ee"></a>PN_SELECTABLE_INIT </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa2db304137f1cbb89baed3ff87ab43b9c"></a>PN_SELECTABLE_UPDATED </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa12d77930d6fc716f286f1fc1da17b718"></a>PN_SELECTABLE_READABLE </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa6dd63225befbc388ca529f5f4cf6d2b9"></a>PN_SELECTABLE_WRITABLE </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa5258331573513f2672922763ee41b24f"></a>PN_SELECTABLE_ERROR </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaade231050bf30430bf4f2c111f5564ee0"></a>PN_SELECTABLE_EXPIRED </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga4876e2eed24a4d4e4c52b99842103cdaa45de34c8f4fdb4c8b1f713d7b17b4ca1"></a>PN_SELECTABLE_FINAL </td><td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaa880eb8a610de74e5d34bc0a4c239ada"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a>* pn_collector </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a collector. </p>
<p>A collector is used to register interest in events produced by one or more <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff" title="An AMQP Connection object. ">pn_connection_t</a> objects. Collectors are not currently thread safe, so synchronization must be used if they are to be shared between multiple connection objects. </p>
</div>
</div>
<a class="anchor" id="gaff9695d4c47feea83a5762cec75d6ccf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_collector_free </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> * </td>
<td class="paramname"><em>collector</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Free a collector. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector to free, or NULL </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga5ca84a1786d2707cfcfe821bdcf19d15"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool pn_collector_more </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> * </td>
<td class="paramname"><em>collector</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if there are more events after the current event. </p>
<p>If this returns true, then <a class="el" href="a00049.html#ga93fe9a4d042d37ade5cd00b3cc1cb59f" title="Access the head event contained by a collector. ">pn_collector_peek()</a> will return an event even after <a class="el" href="a00049.html#gaa555f47b96943d506be173d3bfbb0e2f" title="Clear the head event on a collector. ">pn_collector_pop()</a> is called.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the collector has more than the current event </dd></dl>
</div>
</div>
<a class="anchor" id="ga93fe9a4d042d37ade5cd00b3cc1cb59f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a>* pn_collector_peek </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> * </td>
<td class="paramname"><em>collector</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Access the head event contained by a collector. </p>
<p>This operation will continue to return the same event until it is cleared by using <a class="el" href="a00049.html#gaa555f47b96943d506be173d3bfbb0e2f" title="Clear the head event on a collector. ">pn_collector_pop</a>. The pointer return by this operation will be valid until <a class="el" href="a00049.html#gaa555f47b96943d506be173d3bfbb0e2f" title="Clear the head event on a collector. ">pn_collector_pop</a> is invoked or <a class="el" href="a00049.html#gaff9695d4c47feea83a5762cec75d6ccf" title="Free a collector. ">pn_collector_free</a> is called, whichever happens sooner.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the head event contained in the collector </dd></dl>
</div>
</div>
<a class="anchor" id="gaa555f47b96943d506be173d3bfbb0e2f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> bool pn_collector_pop </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> * </td>
<td class="paramname"><em>collector</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clear the head event on a collector. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the event was popped, false if the collector is empty </dd></dl>
</div>
</div>
<a class="anchor" id="gafa2f79fd9dd3cd78fb8edef78a70048c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a>* pn_collector_put </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> * </td>
<td class="paramname"><em>collector</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00006.html">pn_class_t</a> * </td>
<td class="paramname"><em>clazz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> </td>
<td class="paramname"><em>type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Place a new event on a collector. </p>
<p>This operation will create a new event of the given type and context and return a pointer to the newly created event. In some cases an event of the given type and context can be elided. When this happens, this operation will return a NULL pointer.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector object </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>the event type </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">context</td><td>the event context</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the newly created event or NULL if the event was elided </dd></dl>
</div>
</div>
<a class="anchor" id="gad1f005d4eae73f8d81e2df08da151f53"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void pn_collector_release </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> * </td>
<td class="paramname"><em>collector</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Release a collector. </p>
<p>Once in a released state a collector will drain any internally queued events (thereby releasing any pointers they may hold), shrink it's memory footprint to a minimum, and discard any newly created events.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">collector</td><td>a collector object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gab2f4a048e116b4831f6d5300e39d0b7f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00028.html#a70655c422210ccf8f4616e4c28a8b1d4">pn_record_t</a>* pn_event_attachments </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get any attachments associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the record holding the attachments </dd></dl>
</div>
</div>
<a class="anchor" id="ga7cde0db3bb43614323ff1aee87bf45aa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const <a class="el" href="a00006.html">pn_class_t</a>* pn_event_class </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the class associated with the event context. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the class associated with the event context </dd></dl>
</div>
</div>
<a class="anchor" id="gabd51118bb12d11911fb189ace39fa20f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00044.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a>* pn_event_connection </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the connection associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the connection associated with the event (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="gae7306ffd931c65d9acab76fde75fbd53"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> void* pn_event_context </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the context associated with an event. </p>
</div>
</div>
<a class="anchor" id="gaadfc49bb1943bf56058bfe7affa5a380"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00046.html#gacdfce854066c0a4ff4db9f9a0478f340">pn_delivery_t</a>* pn_event_delivery </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the delivery associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the delivery associated with the event (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga2a289b44f0bb585f419f355e0e7bff81"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00051.html#ga89dad3aa7934329a7ff467c636687bc0">pn_link_t</a>* pn_event_link </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the link associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the link associated with the event (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga5e61979e9bb2c76529c9b62a0a65a67d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00059.html#ga38ccb93b8f5c2892adafce5d5f0fbcd9">pn_session_t</a>* pn_event_session </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the session associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the session associated with the event (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga5c8c7f4d2b79cb08e2f77fad9746fbc5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00062.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a>* pn_event_transport </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the transport associated with an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the transport associated with the event (or NULL) </dd></dl>
</div>
</div>
<a class="anchor" id="ga6f4ad7aa02de3d8e3d9006d1ff274585"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> <a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> pn_event_type </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the type of an event. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>an event object </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the type of the event </dd></dl>
</div>
</div>
<a class="anchor" id="gaede985de776fb37eaf3d2a34af60a5dc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00022.html#acfa9628d87130a64f95ee17c57a7c13b">PN_EXTERN</a> const char* pn_event_type_name </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00049.html#ga4876e2eed24a4d4e4c52b99842103cda">pn_event_type_t</a> </td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get a human readable name for an event type. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>an event type </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a human readable name </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Apr 4 2016 09:18:57 for proton by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|