blob: 503315a6768a4bafdd44351e481b704827379a08 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qpid Proton C++ API: proton/messaging_handler.hpp Source File</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function() { init_search(); });
/* @license-end */
</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">Qpid Proton C++ API
&#160;<span id="projectnumber">0.32.0</span>
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.svg"
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.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('messaging__handler_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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="headertitle">
<div class="title">messaging_handler.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="messaging__handler_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef PROTON_MESSAGING_HANDLER_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define PROTON_MESSAGING_HANDLER_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * distributed with this work for additional information</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * with the License. You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * software distributed under the License is distributed on an</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * KIND, either express or implied. See the License for the</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * specific language governing permissions and limitations</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * under the License.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="fwd_8hpp.html">./fwd.hpp</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;./internal/export.hpp&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceproton.html">proton</a> {</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html"> 68</a></span>&#160;<span class="keyword">class</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;PN_CPP_CLASS_EXTERN <a class="code" href="classproton_1_1messaging__handler.html">messaging_handler</a> {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; PN_CPP_EXTERN <a class="code" href="classproton_1_1messaging__handler.html">messaging_handler</a>();</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> ~<a class="code" href="classproton_1_1messaging__handler.html">messaging_handler</a>();</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a9188622c33638e076d2214080129c824"> 78</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a9188622c33638e076d2214080129c824">on_container_start</a>(<a class="code" href="classproton_1_1container.html">container</a>&amp;);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ac6a0a8d9aad83b7e5a5b2f8a70f23c90"> 84</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ac6a0a8d9aad83b7e5a5b2f8a70f23c90">on_container_stop</a>(<a class="code" href="classproton_1_1container.html">container</a>&amp;);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a584c9daeadf4322801f58e054017fecb"> 87</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a584c9daeadf4322801f58e054017fecb">on_message</a>(<a class="code" href="classproton_1_1delivery.html">delivery</a>&amp;, <a class="code" href="classproton_1_1message.html">message</a>&amp;);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a86c9509ba3ce1925150c5b7a9a937c94"> 90</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a86c9509ba3ce1925150c5b7a9a937c94">on_sendable</a>(<a class="code" href="classproton_1_1sender.html">sender</a>&amp;);</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#aa68ce0021c22cc956890c6bcc5384b84"> 93</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#aa68ce0021c22cc956890c6bcc5384b84">on_transport_open</a>(<a class="code" href="classproton_1_1transport.html">transport</a>&amp;);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a8a60c2f6628f44a9587deea8c8729f0f"> 105</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a8a60c2f6628f44a9587deea8c8729f0f">on_transport_close</a>(<a class="code" href="classproton_1_1transport.html">transport</a>&amp;);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ab719e98555bab69986acf4ab1fe43665"> 118</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ab719e98555bab69986acf4ab1fe43665">on_transport_error</a>(<a class="code" href="classproton_1_1transport.html">transport</a>&amp;);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a41277abe0e33a3df2764b08dcc12d768"> 145</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a41277abe0e33a3df2764b08dcc12d768">on_connection_open</a>(<a class="code" href="classproton_1_1connection.html">connection</a>&amp;);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a8368c2f41b5c1dab4aa063c1c78a6e19"> 152</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a8368c2f41b5c1dab4aa063c1c78a6e19">on_connection_close</a>(<a class="code" href="classproton_1_1connection.html">connection</a>&amp;);</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ae93110a9bad4868663f37d15cd3139a4"> 164</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ae93110a9bad4868663f37d15cd3139a4">on_connection_error</a>(<a class="code" href="classproton_1_1connection.html">connection</a>&amp;);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#aad43a0028727310bcdbd8f63feb99537"> 167</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#aad43a0028727310bcdbd8f63feb99537">on_session_open</a>(<a class="code" href="classproton_1_1session.html">session</a>&amp;);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#aa3ff10317b9fdcbe00e500cb1e9c96ec"> 170</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#aa3ff10317b9fdcbe00e500cb1e9c96ec">on_session_close</a>(<a class="code" href="classproton_1_1session.html">session</a>&amp;);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a63bb630e8dc357b22d6c33781c7c6a11"> 173</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a63bb630e8dc357b22d6c33781c7c6a11">on_session_error</a>(<a class="code" href="classproton_1_1session.html">session</a>&amp;);</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a77f7e38659ee43ccb764e417ad6dd401"> 176</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a77f7e38659ee43ccb764e417ad6dd401">on_receiver_open</a>(<a class="code" href="classproton_1_1receiver.html">receiver</a>&amp;);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a06b10fbf8524545eaf88def91d7235ef"> 179</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a06b10fbf8524545eaf88def91d7235ef">on_receiver_detach</a>(<a class="code" href="classproton_1_1receiver.html">receiver</a>&amp;);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ae51075d0f1d0c180bc8098370957ae28"> 182</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ae51075d0f1d0c180bc8098370957ae28">on_receiver_close</a>(<a class="code" href="classproton_1_1receiver.html">receiver</a>&amp;);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ac0daca9ec2dc45353a04069c6a12f3aa"> 185</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ac0daca9ec2dc45353a04069c6a12f3aa">on_receiver_error</a>(<a class="code" href="classproton_1_1receiver.html">receiver</a>&amp;);</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ac655d56c64574c9eb7b10e80d32764f4"> 188</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ac655d56c64574c9eb7b10e80d32764f4">on_sender_open</a>(<a class="code" href="classproton_1_1sender.html">sender</a>&amp;);</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; </div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ae103f0e8f35a8aebfb14b96c298ed938"> 191</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ae103f0e8f35a8aebfb14b96c298ed938">on_sender_detach</a>(<a class="code" href="classproton_1_1sender.html">sender</a>&amp;);</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#aa604b2d3dad610ded346b0dcf3ec6f29"> 194</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#aa604b2d3dad610ded346b0dcf3ec6f29">on_sender_close</a>(<a class="code" href="classproton_1_1sender.html">sender</a>&amp;);</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; </div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a2347cff02f9ed958ca41fcc31e58d792"> 197</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a2347cff02f9ed958ca41fcc31e58d792">on_sender_error</a>(<a class="code" href="classproton_1_1sender.html">sender</a>&amp;);</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a4e61812588fe6fbde253b41f7c02e993"> 200</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a4e61812588fe6fbde253b41f7c02e993">on_tracker_accept</a>(<a class="code" href="classproton_1_1tracker.html">tracker</a>&amp;);</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a116c831b8a80727a451ce20c44d781f8"> 203</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a116c831b8a80727a451ce20c44d781f8">on_tracker_reject</a>(<a class="code" href="classproton_1_1tracker.html">tracker</a>&amp;);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ad107964511dce62449ca730e9b0aca88"> 206</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ad107964511dce62449ca730e9b0aca88">on_tracker_release</a>(<a class="code" href="classproton_1_1tracker.html">tracker</a>&amp;);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a36620e631024c73f5c6766abf95a8356"> 209</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a36620e631024c73f5c6766abf95a8356">on_tracker_settle</a>(<a class="code" href="classproton_1_1tracker.html">tracker</a>&amp;);</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; </div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a4f0e5cebf65a87f301ba5ef82eb8537d"> 212</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a4f0e5cebf65a87f301ba5ef82eb8537d">on_delivery_settle</a>(<a class="code" href="classproton_1_1delivery.html">delivery</a>&amp;);</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#ac07a9aab7eee64a7415f1cacc278344b"> 216</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#ac07a9aab7eee64a7415f1cacc278344b">on_sender_drain_start</a>(<a class="code" href="classproton_1_1sender.html">sender</a>&amp;);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a0c3ba013a3515fd3d0a1871c984e497e"> 220</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a0c3ba013a3515fd3d0a1871c984e497e">on_receiver_drain_finish</a>(<a class="code" href="classproton_1_1receiver.html">receiver</a>&amp;);</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a29bfba2d26604e5d8d7f3183f1374481"> 237</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a29bfba2d26604e5d8d7f3183f1374481">on_connection_wake</a>(<a class="code" href="classproton_1_1connection.html">connection</a>&amp;);</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classproton_1_1messaging__handler.html#a042f595d1807eb1abe0195ab79357edd"> 240</a></span>&#160; PN_CPP_EXTERN <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classproton_1_1messaging__handler.html#a042f595d1807eb1abe0195ab79357edd">on_error</a>(<span class="keyword">const</span> <a class="code" href="classproton_1_1error__condition.html">error_condition</a>&amp;);</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;};</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;} <span class="comment">// namespace proton</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;<span class="preprocessor">#endif // PROTON_MESSAGING_HANDLER_HPP</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassproton_1_1error__condition_html"><div class="ttname"><a href="classproton_1_1error__condition.html">proton::error_condition</a></div><div class="ttdoc">Describes an endpoint error state.</div><div class="ttdef"><b>Definition:</b> error_condition.hpp:40</div></div>
<div class="ttc" id="aclassproton_1_1tracker_html"><div class="ttname"><a href="classproton_1_1tracker.html">proton::tracker</a></div><div class="ttdoc">A tracker for a sent message.</div><div class="ttdef"><b>Definition:</b> tracker.hpp:40</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a8a60c2f6628f44a9587deea8c8729f0f"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a8a60c2f6628f44a9587deea8c8729f0f">proton::messaging_handler::on_transport_close</a></div><div class="ttdeci">virtual void on_transport_close(transport &amp;)</div><div class="ttdoc">The final event for a connection: there will be no more reconnect attempts and no more event function...</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a116c831b8a80727a451ce20c44d781f8"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a116c831b8a80727a451ce20c44d781f8">proton::messaging_handler::on_tracker_reject</a></div><div class="ttdeci">virtual void on_tracker_reject(tracker &amp;)</div><div class="ttdoc">The receiving peer rejected a transfer.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a0c3ba013a3515fd3d0a1871c984e497e"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a0c3ba013a3515fd3d0a1871c984e497e">proton::messaging_handler::on_receiver_drain_finish</a></div><div class="ttdeci">virtual void on_receiver_drain_finish(receiver &amp;)</div><div class="ttdoc">Unsettled API - The credit outstanding at the time of the drain request has been consumed or returned...</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ad107964511dce62449ca730e9b0aca88"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ad107964511dce62449ca730e9b0aca88">proton::messaging_handler::on_tracker_release</a></div><div class="ttdeci">virtual void on_tracker_release(tracker &amp;)</div><div class="ttdoc">The receiving peer released a transfer.</div></div>
<div class="ttc" id="aclassproton_1_1container_html"><div class="ttname"><a href="classproton_1_1container.html">proton::container</a></div><div class="ttdoc">A top-level container of connections, sessions, and links.</div><div class="ttdef"><b>Definition:</b> container.hpp:50</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ae103f0e8f35a8aebfb14b96c298ed938"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ae103f0e8f35a8aebfb14b96c298ed938">proton::messaging_handler::on_sender_detach</a></div><div class="ttdeci">virtual void on_sender_detach(sender &amp;)</div><div class="ttdoc">The remote peer detached the link.</div></div>
<div class="ttc" id="afwd_8hpp_html"><div class="ttname"><a href="fwd_8hpp.html">fwd.hpp</a></div><div class="ttdoc">Forward declarations.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a9188622c33638e076d2214080129c824"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a9188622c33638e076d2214080129c824">proton::messaging_handler::on_container_start</a></div><div class="ttdeci">virtual void on_container_start(container &amp;)</div><div class="ttdoc">The container event loop is starting.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a042f595d1807eb1abe0195ab79357edd"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a042f595d1807eb1abe0195ab79357edd">proton::messaging_handler::on_error</a></div><div class="ttdeci">virtual void on_error(const error_condition &amp;)</div><div class="ttdoc">Fallback error handling.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_aa68ce0021c22cc956890c6bcc5384b84"><div class="ttname"><a href="classproton_1_1messaging__handler.html#aa68ce0021c22cc956890c6bcc5384b84">proton::messaging_handler::on_transport_open</a></div><div class="ttdeci">virtual void on_transport_open(transport &amp;)</div><div class="ttdoc">The underlying network transport is open.</div></div>
<div class="ttc" id="aclassproton_1_1connection_html"><div class="ttname"><a href="classproton_1_1connection.html">proton::connection</a></div><div class="ttdoc">A connection to a remote AMQP peer.</div><div class="ttdef"><b>Definition:</b> connection.hpp:45</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a584c9daeadf4322801f58e054017fecb"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a584c9daeadf4322801f58e054017fecb">proton::messaging_handler::on_message</a></div><div class="ttdeci">virtual void on_message(delivery &amp;, message &amp;)</div><div class="ttdoc">A message is received.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a2347cff02f9ed958ca41fcc31e58d792"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a2347cff02f9ed958ca41fcc31e58d792">proton::messaging_handler::on_sender_error</a></div><div class="ttdeci">virtual void on_sender_error(sender &amp;)</div><div class="ttdoc">The remote peer closed the link with an error condition.</div></div>
<div class="ttc" id="aclassproton_1_1receiver_html"><div class="ttname"><a href="classproton_1_1receiver.html">proton::receiver</a></div><div class="ttdoc">A channel for receiving messages.</div><div class="ttdef"><b>Definition:</b> receiver.hpp:41</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ac0daca9ec2dc45353a04069c6a12f3aa"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ac0daca9ec2dc45353a04069c6a12f3aa">proton::messaging_handler::on_receiver_error</a></div><div class="ttdeci">virtual void on_receiver_error(receiver &amp;)</div><div class="ttdoc">The remote peer closed the link with an error condition.</div></div>
<div class="ttc" id="aclassproton_1_1delivery_html"><div class="ttname"><a href="classproton_1_1delivery.html">proton::delivery</a></div><div class="ttdoc">A received message.</div><div class="ttdef"><b>Definition:</b> delivery.hpp:39</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a86c9509ba3ce1925150c5b7a9a937c94"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a86c9509ba3ce1925150c5b7a9a937c94">proton::messaging_handler::on_sendable</a></div><div class="ttdeci">virtual void on_sendable(sender &amp;)</div><div class="ttdoc">A message can be sent.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_aa3ff10317b9fdcbe00e500cb1e9c96ec"><div class="ttname"><a href="classproton_1_1messaging__handler.html#aa3ff10317b9fdcbe00e500cb1e9c96ec">proton::messaging_handler::on_session_close</a></div><div class="ttdeci">virtual void on_session_close(session &amp;)</div><div class="ttdoc">The remote peer closed the session.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_aad43a0028727310bcdbd8f63feb99537"><div class="ttname"><a href="classproton_1_1messaging__handler.html#aad43a0028727310bcdbd8f63feb99537">proton::messaging_handler::on_session_open</a></div><div class="ttdeci">virtual void on_session_open(session &amp;)</div><div class="ttdoc">The remote peer opened the session.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ac07a9aab7eee64a7415f1cacc278344b"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ac07a9aab7eee64a7415f1cacc278344b">proton::messaging_handler::on_sender_drain_start</a></div><div class="ttdeci">virtual void on_sender_drain_start(sender &amp;)</div><div class="ttdoc">Unsettled API - The receiving peer has requested a drain of remaining credit.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ac6a0a8d9aad83b7e5a5b2f8a70f23c90"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ac6a0a8d9aad83b7e5a5b2f8a70f23c90">proton::messaging_handler::on_container_stop</a></div><div class="ttdeci">virtual void on_container_stop(container &amp;)</div><div class="ttdoc">The container event loop is stopping.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html"><div class="ttname"><a href="classproton_1_1messaging__handler.html">proton::messaging_handler</a></div><div class="ttdoc">Handler for Proton messaging events.</div><div class="ttdef"><b>Definition:</b> messaging_handler.hpp:69</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a4e61812588fe6fbde253b41f7c02e993"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a4e61812588fe6fbde253b41f7c02e993">proton::messaging_handler::on_tracker_accept</a></div><div class="ttdeci">virtual void on_tracker_accept(tracker &amp;)</div><div class="ttdoc">The receiving peer accepted a transfer.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ab719e98555bab69986acf4ab1fe43665"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ab719e98555bab69986acf4ab1fe43665">proton::messaging_handler::on_transport_error</a></div><div class="ttdeci">virtual void on_transport_error(transport &amp;)</div><div class="ttdoc">Unexpected disconnect, transport::error() provides details; if reconnect_options are enabled there ma...</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_aa604b2d3dad610ded346b0dcf3ec6f29"><div class="ttname"><a href="classproton_1_1messaging__handler.html#aa604b2d3dad610ded346b0dcf3ec6f29">proton::messaging_handler::on_sender_close</a></div><div class="ttdeci">virtual void on_sender_close(sender &amp;)</div><div class="ttdoc">The remote peer closed the link.</div></div>
<div class="ttc" id="aclassproton_1_1sender_html"><div class="ttname"><a href="classproton_1_1sender.html">proton::sender</a></div><div class="ttdoc">A channel for sending messages.</div><div class="ttdef"><b>Definition:</b> sender.hpp:40</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ae93110a9bad4868663f37d15cd3139a4"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ae93110a9bad4868663f37d15cd3139a4">proton::messaging_handler::on_connection_error</a></div><div class="ttdeci">virtual void on_connection_error(connection &amp;)</div><div class="ttdoc">The remote peer indicated a fatal error, connection::error() provides details.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a63bb630e8dc357b22d6c33781c7c6a11"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a63bb630e8dc357b22d6c33781c7c6a11">proton::messaging_handler::on_session_error</a></div><div class="ttdeci">virtual void on_session_error(session &amp;)</div><div class="ttdoc">The remote peer closed the session with an error condition.</div></div>
<div class="ttc" id="aclassproton_1_1transport_html"><div class="ttname"><a href="classproton_1_1transport.html">proton::transport</a></div><div class="ttdoc">A network channel supporting an AMQP connection.</div><div class="ttdef"><b>Definition:</b> transport.hpp:37</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a77f7e38659ee43ccb764e417ad6dd401"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a77f7e38659ee43ccb764e417ad6dd401">proton::messaging_handler::on_receiver_open</a></div><div class="ttdeci">virtual void on_receiver_open(receiver &amp;)</div><div class="ttdoc">The remote peer opened the link.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a06b10fbf8524545eaf88def91d7235ef"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a06b10fbf8524545eaf88def91d7235ef">proton::messaging_handler::on_receiver_detach</a></div><div class="ttdeci">virtual void on_receiver_detach(receiver &amp;)</div><div class="ttdoc">The remote peer detached the link.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ac655d56c64574c9eb7b10e80d32764f4"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ac655d56c64574c9eb7b10e80d32764f4">proton::messaging_handler::on_sender_open</a></div><div class="ttdeci">virtual void on_sender_open(sender &amp;)</div><div class="ttdoc">The remote peer opened the link.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_ae51075d0f1d0c180bc8098370957ae28"><div class="ttname"><a href="classproton_1_1messaging__handler.html#ae51075d0f1d0c180bc8098370957ae28">proton::messaging_handler::on_receiver_close</a></div><div class="ttdeci">virtual void on_receiver_close(receiver &amp;)</div><div class="ttdoc">The remote peer closed the link.</div></div>
<div class="ttc" id="anamespaceproton_html"><div class="ttname"><a href="namespaceproton.html">proton</a></div><div class="ttdoc">The main Proton namespace.</div><div class="ttdef"><b>Definition:</b> annotation_key.hpp:33</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a36620e631024c73f5c6766abf95a8356"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a36620e631024c73f5c6766abf95a8356">proton::messaging_handler::on_tracker_settle</a></div><div class="ttdeci">virtual void on_tracker_settle(tracker &amp;)</div><div class="ttdoc">The receiving peer settled a transfer.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a29bfba2d26604e5d8d7f3183f1374481"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a29bfba2d26604e5d8d7f3183f1374481">proton::messaging_handler::on_connection_wake</a></div><div class="ttdeci">virtual void on_connection_wake(connection &amp;)</div><div class="ttdoc">Unsettled API - An event that can be triggered from another thread.</div></div>
<div class="ttc" id="aclassproton_1_1session_html"><div class="ttname"><a href="classproton_1_1session.html">proton::session</a></div><div class="ttdoc">A container of senders and receivers.</div><div class="ttdef"><b>Definition:</b> session.hpp:42</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a8368c2f41b5c1dab4aa063c1c78a6e19"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a8368c2f41b5c1dab4aa063c1c78a6e19">proton::messaging_handler::on_connection_close</a></div><div class="ttdeci">virtual void on_connection_close(connection &amp;)</div><div class="ttdoc">The remote peer closed the connection.</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a41277abe0e33a3df2764b08dcc12d768"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a41277abe0e33a3df2764b08dcc12d768">proton::messaging_handler::on_connection_open</a></div><div class="ttdeci">virtual void on_connection_open(connection &amp;)</div><div class="ttdoc">The remote peer opened the connection: called once on initial open, and again on each successful auto...</div></div>
<div class="ttc" id="aclassproton_1_1message_html"><div class="ttname"><a href="classproton_1_1message.html">proton::message</a></div><div class="ttdoc">An AMQP message.</div><div class="ttdef"><b>Definition:</b> message.hpp:50</div></div>
<div class="ttc" id="aclassproton_1_1messaging__handler_html_a4f0e5cebf65a87f301ba5ef82eb8537d"><div class="ttname"><a href="classproton_1_1messaging__handler.html#a4f0e5cebf65a87f301ba5ef82eb8537d">proton::messaging_handler::on_delivery_settle</a></div><div class="ttdeci">virtual void on_delivery_settle(delivery &amp;)</div><div class="ttdoc">The sending peer settled a transfer.</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_3a71568e5d046e5ed52679664c3002a5.html">proton</a></li><li class="navelem"><a class="el" href="messaging__handler_8hpp.html">messaging_handler.hpp</a></li>
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
</ul>
</div>
</body>
</html>