summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ExecutionHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/ExecutionHandler.cpp')
-rw-r--r--cpp/src/qpid/client/ExecutionHandler.cpp22
1 files changed, 21 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ExecutionHandler.cpp b/cpp/src/qpid/client/ExecutionHandler.cpp
index 6ee6429b6b..6c2600d00b 100644
--- a/cpp/src/qpid/client/ExecutionHandler.cpp
+++ b/cpp/src/qpid/client/ExecutionHandler.cpp
@@ -78,7 +78,7 @@ void ExecutionHandler::handle(AMQFrame& frame)
}
}
-void ExecutionHandler::complete(uint32_t cumulative, SequenceNumberSet range)
+void ExecutionHandler::complete(uint32_t cumulative, const SequenceNumberSet& range)
{
SequenceNumber mark(cumulative);
if (outgoing.lwm < mark) {
@@ -101,6 +101,26 @@ void ExecutionHandler::flush()
incoming.lwm = incoming.hwm;
}
+void ExecutionHandler::noop()
+{
+ //do nothing
+}
+
+void ExecutionHandler::result(uint32_t /*command*/, const std::string& /*data*/)
+{
+ //TODO: need to signal the result to the appropriate listener
+}
+
+void ExecutionHandler::sync()
+{
+ //TODO: implement (the application is in charge of completion of
+ //some commands, so need to track completion for them).
+
+ //This shouldn't ever need to be called by the server (in my
+ //opinion) as the server never needs to synchronise with the
+ //clients execution
+}
+
void ExecutionHandler::sendFlush()
{
AMQFrame frame(version, 0, ExecutionFlushBody());