You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2009/02/26 20:57:13 UTC
svn commit: r748286 - /qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp
Author: gsim
Date: Thu Feb 26 19:57:13 2009
New Revision: 748286
URL: http://svn.apache.org/viewvc?rev=748286&view=rev
Log:
Send session.detached back to server in response to a detach.
Modified:
qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp?rev=748286&r1=748285&r2=748286&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp Thu Feb 26 19:57:13 2009
@@ -512,6 +512,7 @@
if (id.getName() != _name) throw InternalErrorException("Incorrect session name");
setState(DETACHED);
QPID_LOG(info, "Session detached by peer: " << id);
+ proxy.detached(_name, DETACH_CODE_NORMAL);
}
void SessionImpl::detached(const std::string& _name, uint8_t _code) {
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org