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/src/qpid/client/amqp0_10/ReceiverImpl.cpp | |
| 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/src/qpid/client/amqp0_10/ReceiverImpl.cpp')
| -rw-r--r-- | cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp b/cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp index bc5c53fde6..1f5c3162e5 100644 --- a/cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp +++ b/cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp @@ -68,9 +68,9 @@ bool ReceiverImpl::fetch(qpid::messaging::Message& message, qpid::sys::Duration return f.result; } -void ReceiverImpl::cancel() +void ReceiverImpl::close() { - execute<Cancel>(); + execute<Close>(); } void ReceiverImpl::start() @@ -167,7 +167,7 @@ bool ReceiverImpl::fetchImpl(qpid::messaging::Message& message, qpid::sys::Durat } } -void ReceiverImpl::cancelImpl() +void ReceiverImpl::closeImpl() { if (state != CANCELLED) { state = CANCELLED; |
