summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/HandlerImpl.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-02-25 16:56:29 +0000
committerGordon Sim <gsim@apache.org>2008-02-25 16:56:29 +0000
commit773cc35a38cd34095f8800259ee7a2165a817053 (patch)
tree24c6b26d43ae2f95a7ad7be695bbe57ddbc4b641 /cpp/src/qpid/broker/HandlerImpl.h
parentf4e2d3de5df7bbaae41053191638734a991fd21c (diff)
downloadqpid-python-773cc35a38cd34095f8800259ee7a2165a817053.tar.gz
Some refactoring of the 0-10 codepath (being migrated to final spec) that primarily colocates the current session and execution layers to facilitate implementing the new session layer that will now encompass this behaviour.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@630934 13f79535-47bb-0310-9956-ffa450edef68
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