summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/NullMessageStore.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-12-06 17:51:42 +0000
committerGordon Sim <gsim@apache.org>2006-12-06 17:51:42 +0000
commitf2d0f0cfbfebb082e92f28b8d1b2987a0f20acf6 (patch)
treed71e0a7854dcfbef75040ee426b53f6369e0cc7a /cpp/lib/broker/NullMessageStore.h
parentf8c692d37104a95ad245402ffe0d7d6b7c4ea816 (diff)
downloadqpid-python-f2d0f0cfbfebb082e92f28b8d1b2987a0f20acf6.tar.gz
Allow non-durable messages to be lazy-loaded. Cleanup of lazy-loaded messages
that are never enqueued. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/NullMessageStore.h')
-rw-r--r--cpp/lib/broker/NullMessageStore.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/lib/broker/NullMessageStore.h b/cpp/lib/broker/NullMessageStore.h
index 61afe36281..913d6b0a8d 100644
--- a/cpp/lib/broker/NullMessageStore.h
+++ b/cpp/lib/broker/NullMessageStore.h
@@ -38,12 +38,12 @@ namespace qpid {
virtual void create(const Queue& queue, const qpid::framing::FieldTable& settings);
virtual void destroy(const Queue& queue);
virtual void recover(RecoveryManager& queues, const MessageStoreSettings* const settings = 0);
- virtual void stage(Message::shared_ptr& msg);
- virtual void destroy(Message::shared_ptr& msg);
+ virtual void stage(Message* const msg);
+ virtual void destroy(Message* const msg);
virtual void appendContent(Message* const msg, const std::string& data);
virtual void loadContent(Message* const msg, std::string& data, u_int64_t offset, u_int32_t length);
- virtual void enqueue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid);
- virtual void dequeue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid);
+ virtual void enqueue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const string * const xid);
+ virtual void dequeue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const string * const xid);
virtual void committed(const string * const xid);
virtual void aborted(const string * const xid);
virtual std::auto_ptr<TransactionContext> begin();