summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ConnectionImpl.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-06-26 12:25:58 +0000
committerGordon Sim <gsim@apache.org>2008-06-26 12:25:58 +0000
commita6cddcf74022b7475202c49eb030b10b497a05b3 (patch)
tree8f7079ffa05263430b7f4a9b9be9cd976a7de2d7 /cpp/src/qpid/client/ConnectionImpl.h
parent09d5c6124935cd46f0afbd6a916b4731836b45d8 (diff)
downloadqpid-python-a6cddcf74022b7475202c49eb030b10b497a05b3.tar.gz
QPID-1137: don't treat connection as opened if the open never succeeds
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671877 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ConnectionImpl.h')
-rw-r--r--cpp/src/qpid/client/ConnectionImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ConnectionImpl.h b/cpp/src/qpid/client/ConnectionImpl.h
index 089e73335d..b02dda5af7 100644
--- a/cpp/src/qpid/client/ConnectionImpl.h
+++ b/cpp/src/qpid/client/ConnectionImpl.h
@@ -72,7 +72,7 @@ class ConnectionImpl : public Bounds,
~ConnectionImpl();
void open(const std::string& host, int port);
- bool isOpen() const { return !isClosed && !isClosing; }
+ bool isOpen() const;
void addSession(const boost::shared_ptr<SessionImpl>&);