summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/Connection.h')
-rw-r--r--cpp/src/qpid/client/Connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/Connection.h b/cpp/src/qpid/client/Connection.h
index d2612ca754..32b2200f25 100644
--- a/cpp/src/qpid/client/Connection.h
+++ b/cpp/src/qpid/client/Connection.h
@@ -25,7 +25,7 @@
#include <string>
#include "Channel.h"
#include "ConnectionImpl.h"
-#include "qpid/client/Session.h"
+#include "qpid/client/Session_0_10.h"
#include "qpid/framing/AMQP_HighestVersion.h"
#include "qpid/framing/Uuid.h"
@@ -135,13 +135,13 @@ class Connection
* that the broker may discard the session state. Default is 0,
* meaning the session cannot be resumed.
*/
- Session newSession(uint32_t detachedLifetime=0);
+ Session_0_10 newSession(uint32_t detachedLifetime=0);
/**
* Resume a suspendded session. A session may be resumed
* on a different connection to the one that created it.
*/
- void resume(Session& session);
+ void resume(Session_0_10& session);
};
}} // namespace qpid::client