Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
SubscriptionSettings.h
Go to the documentation of this file.
1 #ifndef QPID_CLIENT_SUBSCRIPTIONSETTINGS_H
2 #define QPID_CLIENT_SUBSCRIPTIONSETTINGS_H
3 
4 /*
5  *
6  * Licensed to the Apache Software Foundation (ASF) under one
7  * or more contributor license agreements. See the NOTICE file
8  * distributed with this work for additional information
9  * regarding copyright ownership. The ASF licenses this file
10  * to you under the Apache License, Version 2.0 (the
11  * "License"); you may not use this file except in compliance
12  * with the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing,
17  * software distributed under the License is distributed on an
18  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19  * KIND, either express or implied. See the License for the
20  * specific language governing permissions and limitations
21  * under the License.
22  *
23  */
25 #include "qpid/framing/enum.h"
26 
27 namespace qpid {
28 namespace client {
29 
43 
44 
49 };
54 {
59  unsigned int autoAck_=1,
61  ) : flowControl(flow), acceptMode(accept), acquireMode(acquire), autoAck(autoAck_), completionMode(completion), exclusive(false) {}
62 
64 
76 
94 
102  unsigned int autoAck;
130  bool exclusive;
131 };
132 
133 }} // namespace qpid::client
134 
135 #endif
AcceptMode acceptMode
< Flow control settings.
AcquireMode acquireMode
< ACCEPT_MODE_EXPLICIT or ACCEPT_MODE_NONE
Settings for a subscription.
CompletionMode completionMode
In windowing mode, completion of a message will cause the credit used up by that message to be reallo...
unsigned int autoAck
< ACQUIRE_MODE_PRE_ACQUIRED or ACQUIRE_MODE_NOT_ACQUIRED
static FlowControl unlimited()
Definition: FlowControl.h:58
SubscriptionSettings(FlowControl flow=FlowControl::unlimited(), AcceptMode accept=ACCEPT_MODE_EXPLICIT, AcquireMode acquire=ACQUIRE_MODE_PRE_ACQUIRED, unsigned int autoAck_=1, CompletionMode completion=COMPLETE_ON_DELIVERY)
Flow control works by associating a finite amount of "credit" with a subscription.
Definition: FlowControl.h:49
bool exclusive
If set, requests that no other subscriber be allowed to access the queue while this subscription is a...

Qpid C++ API Reference
Generated on Tue Aug 19 2014 for Qpid C++ Client API by doxygen 1.8.7