summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Dispatcher.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-05-06 12:44:35 +0000
committerAlan Conway <aconway@apache.org>2009-05-06 12:44:35 +0000
commit5d89f0791bec9417c3dc59a1903a17a1f7e78e52 (patch)
treee9a3380010d27a136c5bf9164d1b0e87c78f5227 /cpp/src/qpid/client/Dispatcher.cpp
parentce5bcdea89da659e34bbddf3263c761d495f3386 (diff)
downloadqpid-python-5d89f0791bec9417c3dc59a1903a17a1f7e78e52.tar.gz
Remove client::Execution and FrameSet from the public API.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772182 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Dispatcher.cpp')
-rw-r--r--cpp/src/qpid/client/Dispatcher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/Dispatcher.cpp b/cpp/src/qpid/client/Dispatcher.cpp
index 9efc205b23..0eb1203e16 100644
--- a/cpp/src/qpid/client/Dispatcher.cpp
+++ b/cpp/src/qpid/client/Dispatcher.cpp
@@ -20,6 +20,7 @@
*/
#include "Dispatcher.h"
#include "SubscriptionImpl.h"
+#include "SessionImpl.h"
#include "qpid/framing/FrameSet.h"
#include "qpid/framing/MessageTransferBody.h"
@@ -45,9 +46,8 @@ Dispatcher::Dispatcher(const Session& s, const std::string& q)
autoStop(true),
failoverHandler(0)
{
- queue = q.empty() ?
- session.getExecution().getDemux().getDefault() :
- session.getExecution().getDemux().get(q);
+ Demux& demux = SessionBase_0_10Access(session).get()->getDemux();
+ queue = q.empty() ? demux.getDefault() : demux.get(q);
}
void Dispatcher::start()