summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SessionContext.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-02-26 08:40:13 +0000
committerGordon Sim <gsim@apache.org>2008-02-26 08:40:13 +0000
commitcba1dfa2cb3315d9b0aae2900172fafa2e3961da (patch)
tree0b8a6882a4cd4b78baf2a434fd1b1f9665154dc0 /cpp/src/qpid/broker/SessionContext.h
parent1a8807f7219689eaa1fcf8ce1bd96de9fe287b95 (diff)
downloadqpid-python-cba1dfa2cb3315d9b0aae2900172fafa2e3961da.tar.gz
Use sessions reference to broker rather than connections in semantic state as the sessions ref is valid even when not attached.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631128 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionContext.h')
-rw-r--r--cpp/src/qpid/broker/SessionContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/SessionContext.h b/cpp/src/qpid/broker/SessionContext.h
index 63dd02cede..a289310b15 100644
--- a/cpp/src/qpid/broker/SessionContext.h
+++ b/cpp/src/qpid/broker/SessionContext.h
@@ -40,6 +40,7 @@ class SessionContext : public sys::OutputControl
virtual ~SessionContext(){}
virtual ConnectionState& getConnection() = 0;
virtual framing::AMQP_ClientProxy& getProxy() = 0;
+ virtual Broker& getBroker() = 0;
};
}} // namespace qpid::broker