summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/broker/SemanticState.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-08-12 18:29:03 +0000
committerAlan Conway <aconway@apache.org>2009-08-12 18:29:03 +0000
commit98ce81ce2db861c73dedfab85f4c5bb8832efc20 (patch)
treef3f81947732e7a1641f5a91ef0fe2b05a566adb5 /qpid/cpp/src/qpid/broker/SemanticState.h
parentb567927bda5350a2e85b2087fbc43b098df25431 (diff)
downloadqpid-python-98ce81ce2db861c73dedfab85f4c5bb8832efc20.tar.gz
Optimized handling of accepts and completions.
SemanticState::accept/completed now make a single pass through the SequenceSet of commands and the unacked DeliveryRecord list in parallel, rather than doing a pass through unacked for every range in the SequenceSet. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803655 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/broker/SemanticState.h')
-rw-r--r--qpid/cpp/src/qpid/broker/SemanticState.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/broker/SemanticState.h b/qpid/cpp/src/qpid/broker/SemanticState.h
index 4b87c59c68..da8383fc12 100644
--- a/qpid/cpp/src/qpid/broker/SemanticState.h
+++ b/qpid/cpp/src/qpid/broker/SemanticState.h
@@ -206,9 +206,8 @@ class SemanticState : private boost::noncopyable {
void reject(DeliveryId first, DeliveryId last);
void handle(boost::intrusive_ptr<Message> msg);
- //final 0-10 spec (completed and accepted are distinct):
- void completed(DeliveryId deliveryTag, DeliveryId endTag);
- void accepted(DeliveryId deliveryTag, DeliveryId endTag);
+ void completed(const framing::SequenceSet& commands);
+ void accepted(const framing::SequenceSet& commands);
void attached();
void detached();