summaryrefslogtreecommitdiff
path: root/qpid/cpp/include/qpid/messaging/Sender.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/include/qpid/messaging/Sender.h')
-rw-r--r--qpid/cpp/include/qpid/messaging/Sender.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/messaging/Sender.h b/qpid/cpp/include/qpid/messaging/Sender.h
index b7dd015a55..66a7b1fe37 100644
--- a/qpid/cpp/include/qpid/messaging/Sender.h
+++ b/qpid/cpp/include/qpid/messaging/Sender.h
@@ -44,6 +44,9 @@ class Sender : public qpid::messaging::Handle<SenderImpl>
QPID_CLIENT_EXTERN ~Sender();
QPID_CLIENT_EXTERN Sender& operator=(const Sender&);
+ /**
+ * Sends a message; will block if the pending == capacity
+ */
QPID_CLIENT_EXTERN void send(const Message& message);
QPID_CLIENT_EXTERN void close();
@@ -62,7 +65,7 @@ class Sender : public qpid::messaging::Handle<SenderImpl>
* Returns the number of sent messages pending confirmation of
* receipt by the broker. (These are the 'in-doubt' messages).
*/
- QPID_CLIENT_EXTERN uint32_t pending();
+ QPID_CLIENT_EXTERN uint32_t getPending();
/**
* Returns the name of this sender.