summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Subscription.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/Subscription.h')
-rw-r--r--cpp/src/qpid/client/Subscription.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/Subscription.h b/cpp/src/qpid/client/Subscription.h
index b25a64a4a2..6d9342bf09 100644
--- a/cpp/src/qpid/client/Subscription.h
+++ b/cpp/src/qpid/client/Subscription.h
@@ -101,6 +101,12 @@ class Subscription : public Handle<SubscriptionImpl> {
/** Cancel the subscription. */
void cancel();
+
+ /** Grant the specified amount of message credit */
+ void grantMessageCredit(uint32_t);
+
+ /** Grant the specified amount of byte credit */
+ void grantByteCredit(uint32_t);
};
}} // namespace qpid::client