You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by sh...@apache.org on 2010/02/10 23:44:18 UTC
svn commit: r908706 - /qpid/trunk/qpid/cpp/include/qpid/client/Connection.h
Author: shuston
Date: Wed Feb 10 22:44:18 2010
New Revision: 908706
URL: http://svn.apache.org/viewvc?rev=908706&view=rev
Log:
Add comment that destructor doesn't close connection; see QPID-2395
Modified:
qpid/trunk/qpid/cpp/include/qpid/client/Connection.h
Modified: qpid/trunk/qpid/cpp/include/qpid/client/Connection.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/client/Connection.h?rev=908706&r1=908705&r2=908706&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/client/Connection.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/client/Connection.h Wed Feb 10 22:44:18 2010
@@ -71,11 +71,15 @@
public:
/**
- * Creates a connection object, but does not open the connection.
+ * Creates a Connection object, but does not open the connection.
* @see open()
*/
QPID_CLIENT_EXTERN Connection();
+ /**
+ * Destroys a Connection object but does not close the connection if it
+ * was open. @see close()
+ */
QPID_CLIENT_EXTERN ~Connection();
/**
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org