summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/messaging/Sender.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-04-06 14:52:47 +0000
committerGordon Sim <gsim@apache.org>2010-04-06 14:52:47 +0000
commit8fddccd7efb73cd25376f5492ddb09ad7fa09e3b (patch)
tree2c2e7045eb1a4733fbb24a4f7106e96dca945ae0 /cpp/src/qpid/messaging/Sender.cpp
parent48d21770c0c93551180043ddf27b1b7178382a4a (diff)
downloadqpid-python-8fddccd7efb73cd25376f5492ddb09ad7fa09e3b.tar.gz
QPID-664: added param to control synchronous send and acknowledge
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931170 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/messaging/Sender.cpp')
-rw-r--r--cpp/src/qpid/messaging/Sender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/Sender.cpp b/cpp/src/qpid/messaging/Sender.cpp
index 2d5cfbcec5..b4c247d1d9 100644
--- a/cpp/src/qpid/messaging/Sender.cpp
+++ b/cpp/src/qpid/messaging/Sender.cpp
@@ -32,7 +32,7 @@ Sender::Sender(SenderImpl* impl) { PI::ctor(*this, impl); }
Sender::Sender(const Sender& s) : qpid::messaging::Handle<SenderImpl>() { PI::copy(*this, s); }
Sender::~Sender() { PI::dtor(*this); }
Sender& Sender::operator=(const Sender& s) { return PI::assign(*this, s); }
-void Sender::send(const Message& message) { impl->send(message); }
+void Sender::send(const Message& message, bool sync) { impl->send(message, sync); }
void Sender::close() { impl->close(); }
void Sender::setCapacity(uint32_t c) { impl->setCapacity(c); }
uint32_t Sender::getCapacity() { return impl->getCapacity(); }