summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/broker/SessionState.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/qpid/broker/SessionState.h')
-rw-r--r--qpid/cpp/src/qpid/broker/SessionState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/SessionState.h b/qpid/cpp/src/qpid/broker/SessionState.h
index 23dc3b897d..ca6d6bf530 100644
--- a/qpid/cpp/src/qpid/broker/SessionState.h
+++ b/qpid/cpp/src/qpid/broker/SessionState.h
@@ -82,6 +82,8 @@ class SessionState : public qpid::SessionState,
void attach(SessionHandler& handler);
void disableOutput();
+ SessionHandler* getHandler() { return handler; }
+
/** @pre isAttached() */
framing::AMQP_ClientProxy& getProxy();