File: a00473_source.html

package info (click to toggle)
qpid-cpp 0.16-6%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 37,232 kB
  • sloc: cpp: 158,939; python: 8,947; sh: 6,701; ruby: 2,080; makefile: 1,838; cs: 1,774; ansic: 1,771; xml: 281; perl: 15; sed: 10
file content (217 lines) | stat: -rw-r--r-- 42,376 bytes parent folder | download
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/Session_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&#160;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&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">qpid/client/no_keyword/Session_0_10.h</div>  </div>
</div>
<div class="contents">
<a href="a00473.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_SESSION_0_10_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define QPID_CLIENT_NO_KEYWORD_SESSION_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"> * &quot;License&quot;); 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"> * &quot;AS IS&quot; 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 &quot;<a class="code" href="a00478.html">qpid/client/SessionBase_0_10.h</a>&quot;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;<a class="code" href="a00460.html">qpid/client/ClientImportExport.h</a>&quot;</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>00035 <span class="keyword">namespace </span>no_keyword {
<a name="l00036"></a>00036 
<a name="l00046"></a>00046 <span class="keyword">class </span>Session_0_10:
<a name="l00047"></a>00047     <span class="keyword">public</span> SessionBase_0_10
<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="a00326.html#aab751f910be43a2bbfde5461e06f307d">Session_0_10</a>();
<a name="l00052"></a>00052     <a class="code" href="a00460.html#ac59a6bc794f3e70c79e4123bca481775">QPID_CLIENT_INLINE_EXTERN</a> <a class="code" href="a00326.html#aab751f910be43a2bbfde5461e06f307d">Session_0_10</a>(<span class="keyword">const</span> <a class="code" href="a00328.html#a83ff389441c0ca4610d22a080dfdae4e">SessionBase_0_10</a>&amp; other);
<a name="l00053"></a>00053     <a class="code" href="a00460.html#ac59a6bc794f3e70c79e4123bca481775">QPID_CLIENT_INLINE_EXTERN</a> <a class="code" href="a00326.html#aab751f910be43a2bbfde5461e06f307d">Session_0_10</a>&amp; <a class="code" href="a00326.html#a3fdd057ad448fd954af3ee27a4e22fcc">operator=</a>(<span class="keyword">const</span> <a class="code" href="a00328.html#a83ff389441c0ca4610d22a080dfdae4e">SessionBase_0_10</a>&amp; other);
<a name="l00054"></a>00054     
<a name="l00064"></a>00064     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a8624344fa93ef539d494ca729d0a7c62" 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">true</span>);
<a name="l00065"></a>00065     
<a name="l00079"></a>00079     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#af3363be39e7fac0f20bb72300051bbd9" title="This command carries data resulting from the execution of a command.">executionResult</a>(<span class="keyword">const</span> SequenceNumber&amp; commandId=SequenceNumber(), <span class="keyword">const</span> <a class="code" href="a00345.html" title="STL class.">std::string</a>&amp; 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">true</span>);
<a name="l00080"></a>00080     
<a name="l00118"></a>00118     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a0d1e6ed0c378c3bf3beb8b63b6a8597e" 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&amp; 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>&amp; description=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> FieldTable&amp; 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">true</span>);
<a name="l00119"></a>00119     
<a name="l00154"></a>00154     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a7d814e81e09073acd21557e8ec23afb9" 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>&amp; 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> Message&amp; content=Message(<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">true</span>);
<a name="l00155"></a>00155     
<a name="l00171"></a>00171     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a265bec6609180acb136026c81c694a93" title="Accepts the message.">messageAccept</a>(<span class="keyword">const</span> SequenceSet&amp; 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">true</span>);
<a name="l00172"></a>00172     
<a name="l00200"></a>00200     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#ac42a3dc8392a8d30f700a331940921ba" title="Indicates that the message transfers are unprocessable in some way.">messageReject</a>(<span class="keyword">const</span> SequenceSet&amp; 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>&amp; 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">true</span>);
<a name="l00201"></a>00201     
<a name="l00226"></a>00226     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#ae630b4bb8e5ac453e3cf5b3c481d91ea" title="Release previously transferred messages.">messageRelease</a>(<span class="keyword">const</span> SequenceSet&amp; 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">true</span>);
<a name="l00227"></a>00227     
<a name="l00243"></a>00243     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::MessageAcquireResult <a class="code" href="a00326.html#a193732a30d8e483df3712c87abc49302" title="Acquires previously transferred messages for consumption.">messageAcquire</a>(<span class="keyword">const</span> SequenceSet&amp; 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">true</span>);
<a name="l00244"></a>00244     
<a name="l00267"></a>00267     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::MessageResumeResult <a class="code" href="a00326.html#a5d9acd859143ba51d5252876924ad4f0" 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>&amp; 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>&amp; 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">true</span>);
<a name="l00268"></a>00268     
<a name="l00308"></a>00308     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a2f9be432ec2b20e1f6101871fb45bb57" title="This command asks the server to start a &quot;subscription&quot;, 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>&amp; 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>&amp; 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>&amp; resumeId=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), uint64_t resumeTtl=0, <span class="keyword">const</span> FieldTable&amp; 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">true</span>);
<a name="l00309"></a>00309     
<a name="l00324"></a>00324     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a10756c4a0bd621fe50aacb476c80d9b8" 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>&amp; 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">true</span>);
<a name="l00325"></a>00325     
<a name="l00361"></a>00361     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a825a3aac640482ec9bcfafb82de2d3e8" 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>&amp; 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">true</span>);
<a name="l00362"></a>00362     
<a name="l00389"></a>00389     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a228c32c3844499f8e8338152b4726717" 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>&amp; 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">true</span>);
<a name="l00390"></a>00390     
<a name="l00404"></a>00404     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a251093386143c538d2f9de26afe9f09f" 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>&amp; 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">true</span>);
<a name="l00405"></a>00405     
<a name="l00419"></a>00419     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a16892606ee60682645875f7814506f72" 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>&amp; 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">true</span>);
<a name="l00420"></a>00420     
<a name="l00431"></a>00431     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#abfb204dc7a10ed736d55cdf52b2d015e" 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">true</span>);
<a name="l00432"></a>00432     
<a name="l00443"></a>00443     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a39be16ae229b675318202245278092d4" 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">true</span>);
<a name="l00444"></a>00444     
<a name="l00456"></a>00456     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a36483b4abf4b4c60f429585eb6cf4173" 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">true</span>);
<a name="l00457"></a>00457     
<a name="l00468"></a>00468     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#adfdc774a5d6f37c077221300916e63f3" 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">true</span>);
<a name="l00469"></a>00469     
<a name="l00496"></a>00496     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::XaResult <a class="code" href="a00326.html#a463fd94be164145621ade42119159979" 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&amp; 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">true</span>);
<a name="l00497"></a>00497     
<a name="l00524"></a>00524     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::XaResult <a class="code" href="a00326.html#a05292645e7ab1194b6edf09c7885b3a5" 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&amp; 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">true</span>);
<a name="l00525"></a>00525     
<a name="l00547"></a>00547     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::XaResult <a class="code" href="a00326.html#a0059fa98a0e399917f0a212ce88bbadd" title="Commit the work done on behalf a transaction branch.">dtxCommit</a>(<span class="keyword">const</span> Xid&amp; 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">true</span>);
<a name="l00548"></a>00548     
<a name="l00563"></a>00563     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#ab603a0b4690fd95ca3c86ecd65e73d7b" title="This command is called to forget about a heuristically completed transaction branch.">dtxForget</a>(<span class="keyword">const</span> Xid&amp; 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">true</span>);
<a name="l00564"></a>00564     
<a name="l00581"></a>00581     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::DtxGetTimeoutResult <a class="code" href="a00326.html#a5a62bf71629847494dbfc4cba1a9a926" title="This command obtains the current transaction timeout value in seconds.">dtxGetTimeout</a>(<span class="keyword">const</span> Xid&amp; 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">true</span>);
<a name="l00582"></a>00582     
<a name="l00597"></a>00597     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::XaResult <a class="code" href="a00326.html#a96c75999c547cc9d29994e0e7708928e" title="This command prepares for commitment any message produced or consumed on behalf of xid...">dtxPrepare</a>(<span class="keyword">const</span> Xid&amp; 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">true</span>);
<a name="l00598"></a>00598     
<a name="l00609"></a>00609     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::DtxRecoverResult <a class="code" href="a00326.html#afcfa84f2a75c47358438f92aad3dfd1e" 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">true</span>);
<a name="l00610"></a>00610     
<a name="l00626"></a>00626     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::XaResult <a class="code" href="a00326.html#a5bad468e4ee69622985a6df6fbe2246b" title="This command rolls back the work associated with xid.">dtxRollback</a>(<span class="keyword">const</span> Xid&amp; 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">true</span>);
<a name="l00627"></a>00627     
<a name="l00647"></a>00647     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a0d9e5ca2e6515a58dffea15c452eafdf" title="Sets the specified transaction branch timeout value in seconds.">dtxSetTimeout</a>(<span class="keyword">const</span> Xid&amp; 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">true</span>);
<a name="l00648"></a>00648     
<a name="l00704"></a>00704     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#ac7b94acf8820d902df82d8303d15eca4" 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>&amp; 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>&amp; 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>&amp; 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&amp; 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">true</span>);
<a name="l00705"></a>00705     
<a name="l00725"></a>00725     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a7d8439a5d24db730c8dcd717fc0f1600" 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>&amp; 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">true</span>);
<a name="l00726"></a>00726     
<a name="l00742"></a>00742     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::ExchangeQueryResult <a class="code" href="a00326.html#a7ffd9f8af395cdb9caba56ee51e6d8ef" 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>&amp; 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">true</span>);
<a name="l00743"></a>00743     
<a name="l00770"></a>00770     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a7a96fb24e976628a11917397db5c9dc3" 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>&amp; 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>&amp; 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>&amp; bindingKey=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> FieldTable&amp; 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">true</span>);
<a name="l00771"></a>00771     
<a name="l00796"></a>00796     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#ac84cb0ea976003d1886943c8405d0fe8" 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>&amp; 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>&amp; 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>&amp; 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">true</span>);
<a name="l00797"></a>00797     
<a name="l00830"></a>00830     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::ExchangeBoundResult <a class="code" href="a00326.html#a7518a71279426205b6ed5676643156bc" 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>&amp; 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>&amp; 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>&amp; bindingKey=<a class="code" href="a00345.html" title="STL class.">std::string</a>(), <span class="keyword">const</span> FieldTable&amp; 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">true</span>);
<a name="l00831"></a>00831     
<a name="l00892"></a>00892     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a785df7f03802bfa5aa436f01bd037c81" 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>&amp; 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>&amp; 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&amp; 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">true</span>);
<a name="l00893"></a>00893     
<a name="l00920"></a>00920     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#a78c98223b64afdf3e8a971747ec38701" 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>&amp; 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">true</span>);
<a name="l00921"></a>00921     
<a name="l00937"></a>00937     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> <span class="keywordtype">void</span> <a class="code" href="a00326.html#adb7e81811bd0da8feefa2ad1369d52d1" 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>&amp; 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">true</span>);
<a name="l00938"></a>00938     
<a name="l00950"></a>00950     <a class="code" href="a00460.html#aa2b9a3aa806646ca655254d2ce99332d">QPID_CLIENT_EXTERN</a> qpid::framing::QueueQueryResult <a class="code" href="a00326.html#a272232fbf5f88c293b0b666ef57bfb91" 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>&amp; 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">true</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&nbsp;<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>