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
|
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>qpid/client/no_keyword/AsyncSession_0_10.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF">
<table border="0" width="90%" align="center">
<tr>
<td align="left">
<a title="Apache Qpid Project Page" href="http://qpid.apache.org">Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET</a>
</td>
<td align="right">
<a title="Apache Qpid Documentation" href="http://qpid.apache.org/documentation.html">Apache Qpid Documentation</a>
</td>
</tr>
</table>
<!-- Generated by Doxygen 1.7.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<div class="title">qpid/client/no_keyword/AsyncSession_0_10.h</div> </div>
</div>
<div class="contents">
<a href="a00459.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef QPID_CLIENT_NO_KEYWORD_ASYNCSESSION_0_10_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define QPID_CLIENT_NO_KEYWORD_ASYNCSESSION_0_10_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="comment">/*</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span>
<a name="l00006"></a>00006 <span class="comment"> * or more contributor license agreements. See the NOTICE file</span>
<a name="l00007"></a>00007 <span class="comment"> * distributed with this work for additional information</span>
<a name="l00008"></a>00008 <span class="comment"> * regarding copyright ownership. The ASF licenses this file</span>
<a name="l00009"></a>00009 <span class="comment"> * to you under the Apache License, Version 2.0 (the</span>
<a name="l00010"></a>00010 <span class="comment"> * "License"); you may not use this file except in compliance</span>
<a name="l00011"></a>00011 <span class="comment"> * with the License. You may obtain a copy of the License at</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * Unless required by applicable law or agreed to in writing,</span>
<a name="l00016"></a>00016 <span class="comment"> * software distributed under the License is distributed on an</span>
<a name="l00017"></a>00017 <span class="comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span>
<a name="l00018"></a>00018 <span class="comment"> * KIND, either express or implied. See the License for the</span>
<a name="l00019"></a>00019 <span class="comment"> * specific language governing permissions and limitations</span>
<a name="l00020"></a>00020 <span class="comment"> * under the License.</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> */</span>
<a name="l00023"></a>00023
<a name="l00028"></a>00028
<a name="l00029"></a>00029
<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="a00478.html">qpid/client/SessionBase_0_10.h</a>"</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="a00460.html">qpid/client/ClientImportExport.h</a>"</span>
<a name="l00032"></a>00032
<a name="l00033"></a>00033 <span class="keyword">namespace </span>qpid {
<a name="l00034"></a>00034 <span class="keyword">namespace </span>client {
<a name="l00035"></a><a class="code" href="a00578.html">00035</a> <span class="keyword">namespace </span>no_keyword {
<a name="l00036"></a>00036
<a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="a00019.html" title="AMQP 0-10 asynchronous session API.">AsyncSession_0_10</a>:
<a name="l00047"></a>00047 <span class="keyword">public</span> <a class="code" href="a00328.html" title="Base class for handles to an AMQP session.">SessionBase_0_10</a>
<a name="l00048"></a>00048 {
<a name="l00049"></a>00049 <span class="keyword">public</span>:
<a name="l00050"></a>00050
<a name="l00051"></a>00051 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00019.html#a743b9e85a4c0f0801030eb2f9d7dd396">AsyncSession_0_10</a>();
<a name="l00052"></a>00052 <a class="code" href="a00460.html#ac59a6bc794f3e70c79e4123bca481775">QPID_CLIENT_INLINE_EXTERN</a> <a class="code" href="a00019.html#a743b9e85a4c0f0801030eb2f9d7dd396">AsyncSession_0_10</a>(<span class="keyword">const</span> <a class="code" href="a00328.html" title="Base class for handles to an AMQP session.">SessionBase_0_10</a>& other);
<a name="l00053"></a>00053 <a class="code" href="a00460.html#ac59a6bc794f3e70c79e4123bca481775">QPID_CLIENT_INLINE_EXTERN</a> AsyncSession_0_10& <a class="code" href="a00019.html#a5ae453e369fa2f4e8904e7088fad6931">operator=</a>(<span class="keyword">const</span> <a class="code" href="a00328.html" title="Base class for handles to an AMQP session.">SessionBase_0_10</a>& other);
<a name="l00054"></a>00054
<a name="l00064"></a>00064 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a0fe280bdbf655e1c4dd4cb350415fa69" title="This command is complete when all prior commands are completed.">executionSync</a>(<span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00065"></a>00065
<a name="l00079"></a>00079 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a050559a19abe029d0e97ab42d54cde90" title="This command carries data resulting from the execution of a command.">executionResult</a>(<span class="keyword">const</span> SequenceNumber& commandId=SequenceNumber(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& value=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00080"></a>00080
<a name="l00118"></a>00118 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#aa20922961c2e4dc247e96aea9eb3d3ce" title="This command informs a peer of an execution exception.">executionException</a>(<a class="code" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> errorCode=0, <span class="keyword">const</span> SequenceNumber& commandId=SequenceNumber(), <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> classCode=0, <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> commandCode=0, <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> fieldIndex=0, <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& description=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> FieldTable& errorInfo=FieldTable(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00119"></a>00119
<a name="l00154"></a>00154 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a745689ddd87824f8e4e60b94402ac08d" title="This command transfers a message between two peers.">messageTransfer</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& destination=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> acceptMode=1, <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> acquireMode=0, <span class="keyword">const</span> <a class="code" href="a00206.html" title="A message sent to or received from the broker.">Message</a>& content=<a class="code" href="a00206.html" title="A message sent to or received from the broker.">Message</a>(<a class="code" href="a00345.html" title="STL class.">std::string</a>()), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00155"></a>00155
<a name="l00171"></a>00171 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#ad821639cdce49f66cd30112ec5791742" title="Accepts the message.">messageAccept</a>(<span class="keyword">const</span> SequenceSet& transfers=SequenceSet(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00172"></a>00172
<a name="l00200"></a>00200 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a60b5beb353f7e64a82acd269493a8b56" title="Indicates that the message transfers are unprocessable in some way.">messageReject</a>(<span class="keyword">const</span> SequenceSet& transfers=SequenceSet(), <a class="code" href="a00556.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> code=0, <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& text=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00201"></a>00201
<a name="l00226"></a>00226 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a44104ba860b5bb0ac211f9d977c86a68" title="Release previously transferred messages.">messageRelease</a>(<span class="keyword">const</span> SequenceSet& transfers=SequenceSet(), <span class="keywordtype">bool</span> setRedelivered=<span class="keyword">false</span>, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00227"></a>00227
<a name="l00243"></a>00243 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::MessageAcquireResult></a> <a class="code" href="a00019.html#a6ab77ab430ef121a86aa0c6bf3d3d482" title="Acquires previously transferred messages for consumption.">messageAcquire</a>(<span class="keyword">const</span> SequenceSet& transfers=SequenceSet(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00244"></a>00244
<a name="l00267"></a>00267 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::MessageResumeResult></a> <a class="code" href="a00019.html#a123c5719b317341ecdb3de6d60207303" title="This command resumes an interrupted transfer.">messageResume</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& destination=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& resumeId=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00268"></a>00268
<a name="l00308"></a>00308 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a0c5e77d5360857699d93284478b1782d" title="This command asks the server to start a "subscription", which is a request for messages from a specif...">messageSubscribe</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& queue=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& destination=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> acceptMode=0, <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> acquireMode=0, <span class="keywordtype">bool</span> exclusive=<span class="keyword">false</span>, <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& resumeId=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), uint64_t resumeTtl=0, <span class="keyword">const</span> FieldTable& arguments=FieldTable(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00309"></a>00309
<a name="l00324"></a>00324 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a6515de4bd5583caf79678fece1ac4324" title="This command cancels a subscription.">messageCancel</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& destination=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00325"></a>00325
<a name="l00361"></a>00361 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#ac30416dd3467e79a2e0e9966139da3c8" title="Sets the mode of flow control used for a given destination to either window or credit based flow cont...">messageSetFlowMode</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& destination=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> flowMode=0, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00362"></a>00362
<a name="l00389"></a>00389 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#ad1c3d9b0cdcd251924e7b9250014514b" title="This command controls the flow of message data to a given destination.">messageFlow</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& destination=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <a class="code" href="a00556.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> unit=0, <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> value=0, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00390"></a>00390
<a name="l00404"></a>00404 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a71fc25ddb2ea172db942dcd04745f9c5" title="Forces the sender to exhaust his credit supply.">messageFlush</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& destination=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00405"></a>00405
<a name="l00419"></a>00419 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#af1946069aa7c0d8a01cb5ddedfa116d2" title="On receipt of this command, a producer of messages MUST set his credit to zero for the given destinat...">messageStop</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& destination=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00420"></a>00420
<a name="l00431"></a>00431 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a5dbd9d674e51bf67d4bd97a033fad1f7" title="This command sets the session to use standard transactions.">txSelect</a>(<span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00432"></a>00432
<a name="l00443"></a>00443 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a62be3d27b93a47294dc8772b79aed768" title="This command commits all messages published and accepted in the current transaction.">txCommit</a>(<span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00444"></a>00444
<a name="l00456"></a>00456 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a6fc047d1410d33cd1ba45cdc269dc62c" title="This command abandons the current transaction.">txRollback</a>(<span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00457"></a>00457
<a name="l00468"></a>00468 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#af3e6e8138defac20d7a18d7253356dcb" title="This command sets the session to use distributed transactions.">dtxSelect</a>(<span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00469"></a>00469
<a name="l00496"></a>00496 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::XaResult></a> <a class="code" href="a00019.html#a3e1156081acce701155add4f7a19423b" title="This command is called when messages should be produced and consumed on behalf a transaction branch i...">dtxStart</a>(<span class="keyword">const</span> Xid& xid=Xid(), <span class="keywordtype">bool</span> join=<span class="keyword">false</span>, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a7b6f55034313f9a4ca2d2ae71649b840" title="Resume a suspended session with a new connection.">resume</a>=<span class="keyword">false</span>, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00497"></a>00497
<a name="l00524"></a>00524 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::XaResult></a> <a class="code" href="a00019.html#a1785642b58f23fbe693cf1f8aa3801cc" title="This command is called when the work done on behalf a transaction branch finishes or needs to be susp...">dtxEnd</a>(<span class="keyword">const</span> Xid& xid=Xid(), <span class="keywordtype">bool</span> fail=<span class="keyword">false</span>, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a7767cc2b33cdba119824b86ca212dbd6" title="Suspend the session - detach it from its connection.">suspend</a>=<span class="keyword">false</span>, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00525"></a>00525
<a name="l00547"></a>00547 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::XaResult></a> <a class="code" href="a00019.html#ac0dd0cbb49562d21cb5fcee1d2e14a50" title="Commit the work done on behalf a transaction branch.">dtxCommit</a>(<span class="keyword">const</span> Xid& xid=Xid(), <span class="keywordtype">bool</span> onePhase=<span class="keyword">false</span>, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00548"></a>00548
<a name="l00563"></a>00563 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a23f18b5323726697a8be9ebaa03be6d6" title="This command is called to forget about a heuristically completed transaction branch.">dtxForget</a>(<span class="keyword">const</span> Xid& xid=Xid(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00564"></a>00564
<a name="l00581"></a>00581 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::DtxGetTimeoutResult></a> <a class="code" href="a00019.html#a711fff1c2c2a8d5a00e869af4c969445" title="This command obtains the current transaction timeout value in seconds.">dtxGetTimeout</a>(<span class="keyword">const</span> Xid& xid=Xid(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00582"></a>00582
<a name="l00597"></a>00597 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::XaResult></a> <a class="code" href="a00019.html#affddc2820d58ad0715b578001610ed00" title="This command prepares for commitment any message produced or consumed on behalf of xid...">dtxPrepare</a>(<span class="keyword">const</span> Xid& xid=Xid(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00598"></a>00598
<a name="l00609"></a>00609 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::DtxRecoverResult></a> <a class="code" href="a00019.html#a3dd1a15490e342a38eb226991f6097ee" title="This command is called to obtain a list of transaction branches that are in a prepared or heuristical...">dtxRecover</a>(<span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00610"></a>00610
<a name="l00626"></a>00626 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::XaResult></a> <a class="code" href="a00019.html#a9eebff183e48d225673f677df5b07606" title="This command rolls back the work associated with xid.">dtxRollback</a>(<span class="keyword">const</span> Xid& xid=Xid(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00627"></a>00627
<a name="l00647"></a>00647 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a1f7c049e0de88d83052555ba9c5d95e9" title="Sets the specified transaction branch timeout value in seconds.">dtxSetTimeout</a>(<span class="keyword">const</span> Xid& xid=Xid(), <a class="code" href="a00556.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="a00328.html#a90f4dc4899c23d4cfb00360a5f215b26" title="Set the timeout for this session.">timeout</a>=0, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00648"></a>00648
<a name="l00704"></a>00704 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a23cc4d14b9bfa7883c6f48070071b9e9" title="This command creates an exchange if it does not already exist, and if the exchange exists...">exchangeDeclare</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& exchange=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& type=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& alternateExchange=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> passive=<span class="keyword">false</span>, <span class="keywordtype">bool</span> durable=<span class="keyword">false</span>, <span class="keywordtype">bool</span> autoDelete=<span class="keyword">false</span>, <span class="keyword">const</span> FieldTable& arguments=FieldTable(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00705"></a>00705
<a name="l00725"></a>00725 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a5609565b171ce9346d51349c786a54de" title="This command deletes an exchange.">exchangeDelete</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& exchange=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> ifUnused=<span class="keyword">false</span>, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00726"></a>00726
<a name="l00742"></a>00742 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::ExchangeQueryResult></a> <a class="code" href="a00019.html#a993fadf3963c9ac0914b9f3cc66d8526" title="This command is used to request information on a particular exchange.">exchangeQuery</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& name=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00743"></a>00743
<a name="l00770"></a>00770 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a040a07cf41f24d45bf4edfcd66152111" title="This command binds a queue to an exchange.">exchangeBind</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& queue=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& exchange=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& bindingKey=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> FieldTable& arguments=FieldTable(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00771"></a>00771
<a name="l00796"></a>00796 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#affaadc91247cfd5724842dcf22979cd6" title="This command unbinds a queue from an exchange.">exchangeUnbind</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& queue=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& exchange=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& bindingKey=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00797"></a>00797
<a name="l00830"></a>00830 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::ExchangeBoundResult></a> <a class="code" href="a00019.html#a26e748b13126817eed77e609bdf6d7c2" title="This command is used to request information on the bindings to a particular exchange.">exchangeBound</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& exchange=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& queue=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& bindingKey=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> FieldTable& arguments=FieldTable(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00831"></a>00831
<a name="l00892"></a>00892 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a0566092a09b8912dac10fa2b52ec815d" title="This command creates or checks a queue.">queueDeclare</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& queue=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& alternateExchange=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> passive=<span class="keyword">false</span>, <span class="keywordtype">bool</span> durable=<span class="keyword">false</span>, <span class="keywordtype">bool</span> exclusive=<span class="keyword">false</span>, <span class="keywordtype">bool</span> autoDelete=<span class="keyword">false</span>, <span class="keyword">const</span> FieldTable& arguments=FieldTable(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00893"></a>00893
<a name="l00920"></a>00920 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#a1e266f5ad9b7af100b2322d7ded4a393" title="This command deletes a queue.">queueDelete</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& queue=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> ifUnused=<span class="keyword">false</span>, <span class="keywordtype">bool</span> ifEmpty=<span class="keyword">false</span>, <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00921"></a>00921
<a name="l00937"></a>00937 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00054.html" title="Asynchronous commands that do not return a result will return a Completion.">Completion</a> <a class="code" href="a00019.html#ac69995a96be1205ab7617c7bc80c12c9" title="This command removes all messages from a queue.">queuePurge</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& queue=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00938"></a>00938
<a name="l00950"></a>00950 <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <a class="code" href="a00362.html" title="Returned by asynchronous commands that return a result.">TypedResult<qpid::framing::QueueQueryResult></a> <a class="code" href="a00019.html#a72a55bbf31b38d4a57169e460bb45f32" title="This command requests information about a queue.">queueQuery</a>(<span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>& queue=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keywordtype">bool</span> <a class="code" href="a00328.html#a198880ec0840c18b0d8a9140d38db699" title="Synchronize the session: sync() waits until all commands issued on this session so far have been comp...">sync</a>=<span class="keyword">false</span>);
<a name="l00951"></a>00951 };
<a name="l00952"></a>00952
<a name="l00953"></a>00953 }}} <span class="comment">// namespace qpid::client::no_keyword</span>
<a name="l00954"></a>00954
<a name="l00955"></a>00955 <span class="preprocessor">#endif </span>
</pre></div></div>
</div>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<hr size="1">
<address style="text-align: left;"><small>
Qpid C++ API Reference</small></address>
<address style="text-align: right;">
<small>
Generated on Thu May 10 2012 for Qpid C++ Client API by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.7.5</small>
</address>
</body>
</html>
|