diff options
| author | Gordon Sim <gsim@apache.org> | 2007-09-12 14:49:12 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-09-12 14:49:12 +0000 |
| commit | 46b15e2c2f9e454fd7041f1e6ad723d093bee052 (patch) | |
| tree | 34af4f367c3b5b46955ce070384a99adb742b562 /cpp/src/qpid/client/ExecutionHandler.h | |
| parent | 86255826a849d7d8ced73009274a5bee909a0923 (diff) | |
| download | qpid-python-46b15e2c2f9e454fd7041f1e6ad723d093bee052.tar.gz | |
In ClientChannel: Use subscribe and flush in place of get; use per-subscriber flow control for managing prefetches.
In brokers Session: set credit to 0 when subscription is created (modified python tests accordingly)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@574979 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ExecutionHandler.h')
| -rw-r--r-- | cpp/src/qpid/client/ExecutionHandler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/ExecutionHandler.h b/cpp/src/qpid/client/ExecutionHandler.h index 3078f6bc3a..88424b555a 100644 --- a/cpp/src/qpid/client/ExecutionHandler.h +++ b/cpp/src/qpid/client/ExecutionHandler.h @@ -27,10 +27,10 @@ #include "qpid/framing/FrameSet.h" #include "qpid/framing/MethodContent.h" #include "qpid/framing/SequenceNumber.h" -#include "BlockingQueue.h" #include "ChainableFrameHandler.h" #include "CompletionTracker.h" #include "Correlator.h" +#include "Demux.h" #include "Execution.h" namespace qpid { @@ -46,7 +46,7 @@ class ExecutionHandler : framing::FrameSet::shared_ptr arriving; Correlator correlation; CompletionTracker completion; - BlockingQueue<framing::FrameSet::shared_ptr> received; + Demux demux; framing::ProtocolVersion version; uint64_t maxFrameSize; framing::AccumulatedAck completionStatus; @@ -79,7 +79,7 @@ public: void setMaxFrameSize(uint64_t size) { maxFrameSize = size; } Correlator& getCorrelator() { return correlation; } CompletionTracker& getCompletionTracker() { return completion; } - BlockingQueue<framing::FrameSet::shared_ptr>& getReceived() { return received; } + Demux& getDemux() { return demux; } }; }} |
