diff options
author | Alan Conway <aconway@apache.org> | 2007-01-19 21:33:27 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-01-19 21:33:27 +0000 |
commit | e861284318186f8d9cd64a7ddcc28b8d20b98721 (patch) | |
tree | 6dac612d65297dc5f104350884fc01385c69ecda /cpp/lib/broker/MessageHandlerImpl.h | |
parent | 226be67c91b25a5ba8efdd9ba88566033ec97718 (diff) | |
download | qpid-python-e861284318186f8d9cd64a7ddcc28b8d20b98721.tar.gz |
Last big refactoring for 0-9 framing. Still need additional tests &
debugging but the overall structure is all in place.
* configure.ac: Added -Wno_virtual_overload warning
* ChannelTest.cpp, MessageBuilderTest.cpp: Fixed virtual overload warnings.
* ChannelAdapter.cpp: Common base for client/broker adapters.
Creates invocation context, handles request/resposne IDs.
* CppGenerator.java:
- Proxies send methods using MethodContext.
* Various .h files: removed unnecessary #includes, added to requred .cpp files.
* ConnectionContext: renamed from SessionContext.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/MessageHandlerImpl.h')
-rw-r--r-- | cpp/lib/broker/MessageHandlerImpl.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/cpp/lib/broker/MessageHandlerImpl.h b/cpp/lib/broker/MessageHandlerImpl.h index d97d29153a..0eb9e119f5 100644 --- a/cpp/lib/broker/MessageHandlerImpl.h +++ b/cpp/lib/broker/MessageHandlerImpl.h @@ -37,62 +37,62 @@ class MessageHandlerImpl : public qpid::framing::AMQP_ServerOperations::MessageH MessageHandlerImpl(Channel& ch, Connection& c, Broker& b) : channel(ch), connection(c), broker(b) {} - void append(const qpid::framing::MethodContext&, + void append(const framing::MethodContext&, const std::string& reference, const std::string& bytes ); - void cancel(const qpid::framing::MethodContext&, + void cancel(const framing::MethodContext&, const std::string& destination ); - void checkpoint(const qpid::framing::MethodContext&, + void checkpoint(const framing::MethodContext&, const std::string& reference, const std::string& identifier ); - void close(const qpid::framing::MethodContext&, + void close(const framing::MethodContext&, const std::string& reference ); - void consume(const qpid::framing::MethodContext&, + void consume(const framing::MethodContext&, u_int16_t ticket, const std::string& queue, const std::string& destination, bool noLocal, bool noAck, bool exclusive, - const qpid::framing::FieldTable& filter ); + const framing::FieldTable& filter ); - void empty( const qpid::framing::MethodContext& ); + void empty( const framing::MethodContext& ); - void get(const qpid::framing::MethodContext&, + void get(const framing::MethodContext&, u_int16_t ticket, const std::string& queue, const std::string& destination, bool noAck ); - void offset(const qpid::framing::MethodContext&, + void offset(const framing::MethodContext&, u_int64_t value ); - void ok( const qpid::framing::MethodContext& ); + void ok( const framing::MethodContext& ); - void open(const qpid::framing::MethodContext&, + void open(const framing::MethodContext&, const std::string& reference ); - void qos(const qpid::framing::MethodContext&, + void qos(const framing::MethodContext&, u_int32_t prefetchSize, u_int16_t prefetchCount, bool global ); - void recover(const qpid::framing::MethodContext&, + void recover(const framing::MethodContext&, bool requeue ); - void reject(const qpid::framing::MethodContext&, + void reject(const framing::MethodContext&, u_int16_t code, const std::string& text ); - void resume(const qpid::framing::MethodContext&, + void resume(const framing::MethodContext&, const std::string& reference, const std::string& identifier ); - void transfer(const qpid::framing::MethodContext&, + void transfer(const framing::MethodContext&, u_int16_t ticket, const std::string& destination, bool redelivered, @@ -113,8 +113,8 @@ class MessageHandlerImpl : public qpid::framing::AMQP_ServerOperations::MessageH const std::string& appId, const std::string& transactionId, const std::string& securityToken, - const qpid::framing::FieldTable& applicationHeaders, - qpid::framing::Content body ); + const framing::FieldTable& applicationHeaders, + framing::Content body ); }; }} // namespace qpid::broker |