summaryrefslogtreecommitdiff
path: root/cpp
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
commitddbad5ba3e5c98804490d323afc6b72997aa4ed8 (patch)
treedd3440f44777389685a04c172da5377abbc35883 /cpp
parentaf54d4b8647053485d40b648c45cff1bb9df99d9 (diff)
downloadqpid-python-ddbad5ba3e5c98804490d323afc6b72997aa4ed8.tar.gz
Add comment that destructor doesn't close connection; see QPID-2395
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@908706 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/qpid/client/Connection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/include/qpid/client/Connection.h b/cpp/include/qpid/client/Connection.h
index b5026d1135..4d92d4b804 100644
--- a/cpp/include/qpid/client/Connection.h
+++ b/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();
/**