diff options
| author | Gordon Sim <gsim@apache.org> | 2008-03-07 13:20:02 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-03-07 13:20:02 +0000 |
| commit | 5d8a9df4ec3a4f030ed80e143ce6986c19ab800a (patch) | |
| tree | 8417c3abe9dd81e6a73084aa36371981e06f9e27 /cpp/src/qpid/broker/SemanticState.h | |
| parent | 9fd4909832e16734c47c13eebbe4aca66640b1b0 (diff) | |
| download | qpid-python-5d8a9df4ec3a4f030ed80e143ce6986c19ab800a.tar.gz | |
Altered management of delivery records to support separateion of completion (which drives flow control) and acceptance.
Converted flow control python tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634661 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.h')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticState.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.h b/cpp/src/qpid/broker/SemanticState.h index 8648135cae..3d31d5a5a2 100644 --- a/cpp/src/qpid/broker/SemanticState.h +++ b/cpp/src/qpid/broker/SemanticState.h @@ -88,7 +88,7 @@ class SemanticState : public framing::FrameHandler::Chains, void addMessageCredit(uint32_t value); void flush(); void stop(); - void adjustFlow(const DeliveryRecord&); + void complete(DeliveryRecord&); Queue::shared_ptr getQueue() { return queue; } bool isBlocked() const { return blocked; } @@ -122,7 +122,7 @@ class SemanticState : public framing::FrameHandler::Chains, void checkDtxTimeout(); ConsumerImpl& find(const std::string& destination); void ack(DeliveryId deliveryTag, DeliveryId endTag, bool cumulative); - void adjustFlow(const DeliveryRecord&); + void complete(DeliveryRecord&); AckRange findRange(DeliveryId first, DeliveryId last); void requestDispatch(); void requestDispatch(ConsumerImpl&); |
