diff options
| author | Alan Conway <aconway@apache.org> | 2008-09-24 17:34:08 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-09-24 17:34:08 +0000 |
| commit | a2a56cf9a7483e165fb579d0b519b284d02009e3 (patch) | |
| tree | 11264fc87ea6e54c54b476e245ad4ee9c83faaeb /cpp/src/qpid/broker | |
| parent | 30be110b6914959a1eaee4803ff8c1c9938db7bb (diff) | |
| download | qpid-python-a2a56cf9a7483e165fb579d0b519b284d02009e3.tar.gz | |
Cluster replicates session command sequence state and consumers to newcomers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@698666 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticState.h | 6 | ||||
| -rw-r--r-- | cpp/src/qpid/broker/SessionAdapter.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.h b/cpp/src/qpid/broker/SemanticState.h index 0c56885f8f..2170fe4e2e 100644 --- a/cpp/src/qpid/broker/SemanticState.h +++ b/cpp/src/qpid/broker/SemanticState.h @@ -110,6 +110,12 @@ class SemanticState : public sys::OutputTask, bool doOutput(); std::string getName() const { return name; } + + bool isAckExpected() const { return ackExpected; } + bool isAcquire() const { return acquire; } + bool isWindowing() const { return windowing; } + uint32_t getMsgCredit() const { return msgCredit; } + uint32_t getByteCredit() const { return byteCredit; } }; private: diff --git a/cpp/src/qpid/broker/SessionAdapter.cpp b/cpp/src/qpid/broker/SessionAdapter.cpp index 003e206bff..64b0b80446 100644 --- a/cpp/src/qpid/broker/SessionAdapter.cpp +++ b/cpp/src/qpid/broker/SessionAdapter.cpp @@ -436,7 +436,7 @@ SessionAdapter::MessageHandlerImpl::subscribe(const string& queueName, uint8_t acceptMode, uint8_t acquireMode, bool exclusive, - const string& /*resumeId*/,//TODO implement resume behaviour + const string& /*resumeId*/,//TODO implement resume behaviour. Need to update cluster. uint64_t /*resumeTtl*/, const FieldTable& arguments) { |
