summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/messaging/Sender.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-11-17 10:52:33 +0000
committerGordon Sim <gsim@apache.org>2009-11-17 10:52:33 +0000
commitdfeb9089cd7702cb70e170fcf5f5d01cbbde080c (patch)
treea8965e1124fda146dedca255f912ed6e0a69a643 /cpp/include/qpid/messaging/Sender.h
parent2b9be90fca9e4e47cc6b47d16dd97d6bfaf0931e (diff)
downloadqpid-python-dfeb9089cd7702cb70e170fcf5f5d01cbbde080c.tar.gz
QPID-664: Added getReceiver()/getSender() methods to session in new api.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881236 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/messaging/Sender.h')
-rw-r--r--cpp/include/qpid/messaging/Sender.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/include/qpid/messaging/Sender.h b/cpp/include/qpid/messaging/Sender.h
index 9b83a04d60..29af3810f4 100644
--- a/cpp/include/qpid/messaging/Sender.h
+++ b/cpp/include/qpid/messaging/Sender.h
@@ -24,6 +24,7 @@
#include "qpid/client/ClientImportExport.h"
#include "qpid/client/Handle.h"
#include "qpid/sys/IntegerTypes.h"
+#include <string>
namespace qpid {
namespace client {
@@ -68,6 +69,10 @@ class Sender : public qpid::client::Handle<SenderImpl>
*/
QPID_CLIENT_EXTERN uint32_t pending();
+ /**
+ * Returns the name of this sender.
+ */
+ QPID_CLIENT_EXTERN const std::string& getName() const;
private:
friend class qpid::client::PrivateImplRef<Sender>;
};