diff options
| author | Gordon Sim <gsim@apache.org> | 2010-01-27 10:42:19 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-01-27 10:42:19 +0000 |
| commit | f13dceb97198486cd9bd9574babac6b39d05b1a6 (patch) | |
| tree | 3e875358e2ba2a49fb7a27815c22a675e4f2e45b /cpp/include | |
| parent | c5f105c31896a42c4a192b9585016aa92285e6ff (diff) | |
| download | qpid-python-f13dceb97198486cd9bd9574babac6b39d05b1a6.tar.gz | |
QPID-664: change cancel() to close() for consistency
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
| -rw-r--r-- | cpp/include/qpid/messaging/Receiver.h | 2 | ||||
| -rw-r--r-- | cpp/include/qpid/messaging/Sender.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/qpid/messaging/Receiver.h b/cpp/include/qpid/messaging/Receiver.h index 51630b12a2..0923178065 100644 --- a/cpp/include/qpid/messaging/Receiver.h +++ b/cpp/include/qpid/messaging/Receiver.h @@ -110,7 +110,7 @@ class Receiver : public qpid::client::Handle<ReceiverImpl> /** * Cancels this receiver. */ - QPID_CLIENT_EXTERN void cancel(); + QPID_CLIENT_EXTERN void close(); /** * Returns the name of this receiver. diff --git a/cpp/include/qpid/messaging/Sender.h b/cpp/include/qpid/messaging/Sender.h index 335e61260c..eb8ccc2f84 100644 --- a/cpp/include/qpid/messaging/Sender.h +++ b/cpp/include/qpid/messaging/Sender.h @@ -50,7 +50,7 @@ class Sender : public qpid::client::Handle<SenderImpl> QPID_CLIENT_EXTERN Sender& operator=(const Sender&); QPID_CLIENT_EXTERN void send(const Message& message); - QPID_CLIENT_EXTERN void cancel(); + QPID_CLIENT_EXTERN void close(); /** * Sets the capacity for the sender. The capacity determines how |
