summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/messaging/ConnectionImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/messaging/ConnectionImpl.h')
-rw-r--r--cpp/src/qpid/messaging/ConnectionImpl.h3
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