summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/messaging/Session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/messaging/Session.cpp')
-rw-r--r--cpp/src/qpid/messaging/Session.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/qpid/messaging/Session.cpp b/cpp/src/qpid/messaging/Session.cpp
index 53e85d53b1..5c702051d7 100644
--- a/cpp/src/qpid/messaging/Session.cpp
+++ b/cpp/src/qpid/messaging/Session.cpp
@@ -89,4 +89,15 @@ Receiver Session::nextReceiver(qpid::sys::Duration timeout)
uint32_t Session::available() { return impl->available(); }
uint32_t Session::pendingAck() { return impl->pendingAck(); }
+Sender Session::getSender(const std::string& name) const
+{
+ return impl->getSender(name);
+}
+Receiver Session::getReceiver(const std::string& name) const
+{
+ return impl->getReceiver(name);
+}
+
+KeyError::KeyError(const std::string& msg) : Exception(msg) {}
+
}} // namespace qpid::messaging