diff options
author | Alan Conway <aconway@apache.org> | 2009-05-06 12:44:35 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-05-06 12:44:35 +0000 |
commit | 5d89f0791bec9417c3dc59a1903a17a1f7e78e52 (patch) | |
tree | e9a3380010d27a136c5bf9164d1b0e87c78f5227 /cpp/src/qpid/client/SubscriptionImpl.cpp | |
parent | ce5bcdea89da659e34bbddf3263c761d495f3386 (diff) | |
download | qpid-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/SubscriptionImpl.cpp')
-rw-r--r-- | cpp/src/qpid/client/SubscriptionImpl.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/SubscriptionImpl.cpp b/cpp/src/qpid/client/SubscriptionImpl.cpp index fb5808f3a6..c0f58ed4e7 100644 --- a/cpp/src/qpid/client/SubscriptionImpl.cpp +++ b/cpp/src/qpid/client/SubscriptionImpl.cpp @@ -21,11 +21,13 @@ #include "AsyncSession.h" #include "SubscriptionImpl.h" +#include "SessionImpl.h" #include "SubscriptionManagerImpl.h" #include "MessageImpl.h" #include "CompletionImpl.h" #include "SubscriptionManager.h" #include "SubscriptionSettings.h" +#include "SessionBase_0_10Access.h" #include "PrivateImplRef.h" namespace qpid { @@ -153,7 +155,9 @@ void SubscriptionImpl::received(Message& m) { Demux::QueuePtr SubscriptionImpl::divert() { - demuxRule = std::auto_ptr<ScopedDivert>(new ScopedDivert(name, manager.getSession().getExecution().getDemux())); + Session session(manager.getSession()); + Demux& demux = SessionBase_0_10Access(session).get()->getDemux(); + demuxRule = std::auto_ptr<ScopedDivert>(new ScopedDivert(name, demux)); return demuxRule->getQueue(); } |