summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/HandlerImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/HandlerImpl.h')
-rw-r--r--cpp/src/qpid/broker/HandlerImpl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/HandlerImpl.h b/cpp/src/qpid/broker/HandlerImpl.h
index 410d400c9d..4c51e2a826 100644
--- a/cpp/src/qpid/broker/HandlerImpl.h
+++ b/cpp/src/qpid/broker/HandlerImpl.h
@@ -20,7 +20,7 @@
*/
#include "SemanticState.h"
-#include "SessionState.h"
+#include "SessionContext.h"
#include "ConnectionState.h"
namespace qpid {
@@ -35,13 +35,13 @@ class Broker;
class HandlerImpl {
protected:
SemanticState& state;
- SessionState& session;
+ SessionContext& session;
HandlerImpl(SemanticState& s) : state(s), session(s.getSession()) {}
framing::AMQP_ClientProxy& getProxy() { return session.getProxy(); }
ConnectionState& getConnection() { return session.getConnection(); }
- Broker& getBroker() { return session.getBroker(); }
+ Broker& getBroker() { return session.getConnection().getBroker(); }
};
}} // namespace qpid::broker