diff options
author | Gordon Sim <gsim@apache.org> | 2009-11-17 17:34:55 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-11-17 17:34:55 +0000 |
commit | 99c896bf60506c66f339d2ce51d4dca2725968af (patch) | |
tree | 5658e1d6c3ad6adfb2823dbbabefa5b66c951274 /cpp/src/qpid/messaging/ConnectionImpl.h | |
parent | 054f31c5dd081bf0476ac8cc4db4ece722a465a5 (diff) | |
download | qpid-python-99c896bf60506c66f339d2ce51d4dca2725968af.tar.gz |
QPID-664: Allow application to set session name and retrieve session using that name; close all sessions when connection is closed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/messaging/ConnectionImpl.h')
-rw-r--r-- | cpp/src/qpid/messaging/ConnectionImpl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/ConnectionImpl.h b/cpp/src/qpid/messaging/ConnectionImpl.h index aa9e5b5fbe..ce60f6f9fc 100644 --- a/cpp/src/qpid/messaging/ConnectionImpl.h +++ b/cpp/src/qpid/messaging/ConnectionImpl.h @@ -37,7 +37,8 @@ class ConnectionImpl : public virtual qpid::RefCounted public: virtual ~ConnectionImpl() {} virtual void close() = 0; - virtual Session newSession() = 0; + virtual Session newSession(const std::string& name) = 0; + virtual Session getSession(const std::string& name) const = 0; private: }; }} // namespace qpid::messaging |