diff options
author | Alan Conway <aconway@apache.org> | 2006-12-19 17:55:16 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2006-12-19 17:55:16 +0000 |
commit | 19e767250f689cac7ab950f68e6421a4490f76f6 (patch) | |
tree | 81df6cd819e1f0fa23c71f4761978445c4353904 /cpp/lib/broker/SessionHandlerImpl.h | |
parent | 7edf1cc45ee35542df2ba4e3ebd2bc4d9e9dd9b9 (diff) | |
download | qpid-python-19e767250f689cac7ab950f68e6421a4490f76f6.tar.gz |
* cpp/gen/Makefile.am: fixed generated code dependencies.
* *Channel,SessionHandlerImpl,FramingTest: added FieldTable argument
to consume() to conform to updated XML.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488745 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/SessionHandlerImpl.h')
-rw-r--r-- | cpp/lib/broker/SessionHandlerImpl.h | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/cpp/lib/broker/SessionHandlerImpl.h b/cpp/lib/broker/SessionHandlerImpl.h index 043ad8bf98..7e631b4505 100644 --- a/cpp/lib/broker/SessionHandlerImpl.h +++ b/cpp/lib/broker/SessionHandlerImpl.h @@ -61,7 +61,7 @@ struct ConnectionException : public std::exception { }; class Settings { -public: + public: const u_int32_t timeout;//timeout for auto-deleted queues (in ms) const u_int64_t stagingThreshold; @@ -125,7 +125,6 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler, public: inline ConnectionHandlerImpl(SessionHandlerImpl* _parent) : parent(_parent) {} - // Change to match new code generator function signature (adding const to string& and FieldTable&) - kpvdr 2006-11-20 virtual void startOk(u_int16_t channel, const qpid::framing::FieldTable& clientProperties, const string& mechanism, const string& response, const string& locale); @@ -172,7 +171,6 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler, public: inline ExchangeHandlerImpl(SessionHandlerImpl* _parent) : parent(_parent) {} - // Change to match new code generator function signature (adding const to string& and FieldTable&) - kpvdr 2006-11-20 virtual void declare(u_int16_t channel, u_int16_t ticket, const string& exchange, const string& type, bool passive, bool durable, bool autoDelete, bool internal, bool nowait, const qpid::framing::FieldTable& arguments); @@ -189,17 +187,14 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler, public: inline QueueHandlerImpl(SessionHandlerImpl* _parent) : parent(_parent) {} - // Change to match new code generator function signature (adding const to string& and FieldTable&) - kpvdr 2006-11-20 virtual void declare(u_int16_t channel, u_int16_t ticket, const string& queue, bool passive, bool durable, bool exclusive, bool autoDelete, bool nowait, const qpid::framing::FieldTable& arguments); - // Change to match new code generator function signature (adding const to string& and FieldTable&) - kpvdr 2006-11-20 virtual void bind(u_int16_t channel, u_int16_t ticket, const string& queue, const string& exchange, const string& routingKey, bool nowait, const qpid::framing::FieldTable& arguments); - - // Change to match new code generator function signature (adding const to string&) - kpvdr 2006-11-20 + virtual void purge(u_int16_t channel, u_int16_t ticket, const string& queue, bool nowait); @@ -216,19 +211,18 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler, inline BasicHandlerImpl(SessionHandlerImpl* _parent) : parent(_parent) {} virtual void qos(u_int16_t channel, u_int32_t prefetchSize, u_int16_t prefetchCount, bool global); - - // Change to match new code generator function signature (adding const to string&) - kpvdr 2006-11-20 - virtual void consume(u_int16_t channel, u_int16_t ticket, const string& queue, const string& consumerTag, - bool noLocal, bool noAck, bool exclusive, bool nowait); + + virtual void consume( + u_int16_t channel, u_int16_t ticket, const string& queue, + const string& consumerTag, bool noLocal, bool noAck, + bool exclusive, bool nowait, + const qpid::framing::FieldTable& fields); - // Change to match new code generator function signature (adding const to string&) - kpvdr 2006-11-20 virtual void cancel(u_int16_t channel, const string& consumerTag, bool nowait); - // Change to match new code generator function signature (adding const to string&) - kpvdr 2006-11-20 virtual void publish(u_int16_t channel, u_int16_t ticket, const string& exchange, const string& routingKey, bool mandatory, bool immediate); - // Change to match new code generator function signature (adding const to string&) - kpvdr 2006-11-20 virtual void get(u_int16_t channel, u_int16_t ticket, const string& queue, bool noAck); virtual void ack(u_int16_t channel, u_int64_t deliveryTag, bool multiple); @@ -242,7 +236,7 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler, class TxHandlerImpl : public virtual TxHandler{ SessionHandlerImpl* parent; - public: + public: TxHandlerImpl(SessionHandlerImpl* _parent) : parent(_parent) {} virtual ~TxHandlerImpl() {} virtual void select(u_int16_t channel); |