diff options
author | Gordon Sim <gsim@apache.org> | 2006-10-11 08:24:42 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-10-11 08:24:42 +0000 |
commit | 4fcd0a1f4d52dffe2c524af06882470dd4a48213 (patch) | |
tree | 7639836ccd43e6cf41372856735074fbb9e21443 /cpp/broker/inc/Message.h | |
parent | 4b3a1e69274b04888866e3a239854dd061c57f98 (diff) | |
download | qpid-python-4fcd0a1f4d52dffe2c524af06882470dd4a48213.tar.gz |
Implementation of basic_get.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462729 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/broker/inc/Message.h')
-rw-r--r-- | cpp/broker/inc/Message.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/cpp/broker/inc/Message.h b/cpp/broker/inc/Message.h index 7b2c2bc848..94b9aa5bdd 100644 --- a/cpp/broker/inc/Message.h +++ b/cpp/broker/inc/Message.h @@ -49,6 +49,9 @@ namespace qpid { content_list content; u_int64_t size; + void sendContent(qpid::framing::OutputHandler* out, + int channel, u_int32_t framesize); + public: typedef std::tr1::shared_ptr<Message> shared_ptr; @@ -61,9 +64,16 @@ namespace qpid { bool isComplete(); const ConnectionToken* const getPublisher(); - void deliver(qpid::framing::OutputHandler* out, int channel, - string& consumerTag, u_int64_t deliveryTag, + void deliver(qpid::framing::OutputHandler* out, + int channel, + const string& consumerTag, + u_int64_t deliveryTag, u_int32_t framesize); + void sendGetOk(qpid::framing::OutputHandler* out, + int channel, + u_int32_t messageCount, + u_int64_t deliveryTag, + u_int32_t framesize); void redeliver(); qpid::framing::BasicHeaderProperties* getHeaderProperties(); |