summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2009-07-09 20:20:45 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2009-07-09 20:20:45 +0000
commitc25ed489bd7a5ae7fce248dcc105b9ad7f6a1e65 (patch)
treed218e0634c2c88dbe9fadf368f05fbe0432eaf31 /cpp
parentb41529bdbcf4de94161284b1dc97d1ef34d46401 (diff)
downloadqpid-python-c25ed489bd7a5ae7fce248dcc105b9ad7f6a1e65.tar.gz
Move helper functions out of the public interface, as they are unsafe
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792665 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/PersistableMessage.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/PersistableMessage.h b/cpp/src/qpid/broker/PersistableMessage.h
index 17bf774377..ae96d3ab32 100644
--- a/cpp/src/qpid/broker/PersistableMessage.h
+++ b/cpp/src/qpid/broker/PersistableMessage.h
@@ -65,6 +65,9 @@ class PersistableMessage : public Persistable
*/
int asyncDequeueCounter;
+ void enqueueAsync();
+ void dequeueAsync();
+
bool contentReleased;
syncList synclist;
@@ -78,6 +81,7 @@ class PersistableMessage : public Persistable
MessageStore* store;
+
public:
typedef boost::shared_ptr<PersistableMessage> shared_ptr;
@@ -101,7 +105,6 @@ class PersistableMessage : public Persistable
QPID_BROKER_EXTERN void enqueueAsync(PersistableQueue::shared_ptr queue,
MessageStore* _store);
- QPID_BROKER_EXTERN void enqueueAsync();
QPID_BROKER_EXTERN bool isDequeueComplete();
@@ -110,8 +113,6 @@ class PersistableMessage : public Persistable
QPID_BROKER_EXTERN void dequeueAsync(PersistableQueue::shared_ptr queue,
MessageStore* _store);
- QPID_BROKER_EXTERN void dequeueAsync();
-
bool isStoredOnQueue(PersistableQueue::shared_ptr queue);
void addToSyncList(PersistableQueue::shared_ptr queue, MessageStore* _store);