diff options
author | Gordon Sim <gsim@apache.org> | 2007-03-30 15:50:07 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-03-30 15:50:07 +0000 |
commit | 33d8343d134a391fa7d0a338fafad1a22ff58dc3 (patch) | |
tree | 7c8b9ef3ea62852eb38548be87f908b2892e12a2 /cpp/lib/broker/BrokerMessageMessage.h | |
parent | 8fc571ee337add8f2c4ab1f1ebc0c4784c58e2bf (diff) | |
download | qpid-python-33d8343d134a391fa7d0a338fafad1a22ff58dc3.tar.gz |
Refactored the MessageStore interface to restrict visibility of broker core from store implementations.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524139 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/BrokerMessageMessage.h')
-rw-r--r-- | cpp/lib/broker/BrokerMessageMessage.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/lib/broker/BrokerMessageMessage.h b/cpp/lib/broker/BrokerMessageMessage.h index a13a63a416..1da171fba8 100644 --- a/cpp/lib/broker/BrokerMessageMessage.h +++ b/cpp/lib/broker/BrokerMessageMessage.h @@ -71,11 +71,11 @@ class MessageMessage: public Message{ const framing::FieldTable& getApplicationHeaders(); bool isPersistent(); - void encode(framing::Buffer& buffer); - void encodeHeader(framing::Buffer& buffer); - uint32_t encodedSize(); - uint32_t encodedHeaderSize(); - uint32_t encodedContentSize(); + void encode(framing::Buffer& buffer) const; + void encodeHeader(framing::Buffer& buffer) const; + uint32_t encodedSize() const; + uint32_t encodedHeaderSize() const; + uint32_t encodedContentSize() const; uint64_t expectedContentSize(); void decodeHeader(framing::Buffer& buffer); void decodeContent(framing::Buffer& buffer, uint32_t contentChunkSize = 0); @@ -86,7 +86,7 @@ class MessageMessage: public Message{ uint32_t framesize); framing::MessageTransferBody* copyTransfer(const framing::ProtocolVersion& version, const std::string& destination, - const framing::Content& body); + const framing::Content& body) const; framing::RequestId requestId; const TransferPtr transfer; |