summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/BrokerMessage.h
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2006-12-20 22:29:38 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2006-12-20 22:29:38 +0000
commit786c13d1833f626bf47262dd16ea48c81ac3887f (patch)
treea24df1b5de4584d3055a754235e93bdee1ad0075 /cpp/lib/broker/BrokerMessage.h
parentdc0593dbce33328266edade35431a6571342786c (diff)
downloadqpid-python-786c13d1833f626bf47262dd16ea48c81ac3887f.tar.gz
Support for multi version, merge part 1. - can still refactor out dup use of
version object in client and server opperations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/BrokerMessage.h')
-rw-r--r--cpp/lib/broker/BrokerMessage.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/lib/broker/BrokerMessage.h b/cpp/lib/broker/BrokerMessage.h
index 3bf70551d3..39142546bc 100644
--- a/cpp/lib/broker/BrokerMessage.h
+++ b/cpp/lib/broker/BrokerMessage.h
@@ -25,6 +25,7 @@
#include <boost/shared_ptr.hpp>
#include <AMQContentBody.h>
#include <AMQHeaderBody.h>
+#include <ProtocolVersion.h>
#include <BasicHeaderProperties.h>
#include <ConnectionToken.h>
#include <Content.h>
@@ -37,6 +38,7 @@ namespace qpid {
class MessageStore;
using qpid::framing::string;
+
/**
* Represents an AMQP message, i.e. a header body, a list of
* content bodies and some details about the publication
@@ -76,12 +78,14 @@ namespace qpid {
int channel,
const string& consumerTag,
u_int64_t deliveryTag,
- u_int32_t framesize);
+ u_int32_t framesize,
+ qpid::framing::ProtocolVersion* version);
void sendGetOk(qpid::framing::OutputHandler* out,
int channel,
u_int32_t messageCount,
u_int64_t deliveryTag,
- u_int32_t framesize);
+ u_int32_t framesize,
+ qpid::framing::ProtocolVersion* version);
void redeliver();
qpid::framing::BasicHeaderProperties* getHeaderProperties();