summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-02-10 22:44:18 +0000
committerStephen D. Huston <shuston@apache.org>2010-02-10 22:44:18 +0000
commitfb7dd0362adbd0bbf863e3c13455accd3a40307c (patch)
tree35c89b26ec11835ef55babe4463af08bee1810e8
parent2851a87cf05e227db905868ac5282787dd64336c (diff)
downloadqpid-python-fb7dd0362adbd0bbf863e3c13455accd3a40307c.tar.gz
Add comment that destructor doesn't close connection; see QPID-2395
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@908706 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/include/qpid/client/Connection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/client/Connection.h b/qpid/cpp/include/qpid/client/Connection.h
index b5026d1135..4d92d4b804 100644
--- a/qpid/cpp/include/qpid/client/Connection.h
+++ b/qpid/cpp/include/qpid/client/Connection.h
@@ -71,11 +71,15 @@ class Connection
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();
/**