From 833239ec44ea87a1b619eef3de55afde56c7ee45 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Thu, 3 Apr 2008 12:41:40 +0000 Subject: Patch from Ted Ross (see QPID-893): This patch enables management of plugged-in store modules. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644287 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Queue.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/broker/Queue.h') diff --git a/cpp/src/qpid/broker/Queue.h b/cpp/src/qpid/broker/Queue.h index 880b048103..8b92784b9a 100644 --- a/cpp/src/qpid/broker/Queue.h +++ b/cpp/src/qpid/broker/Queue.h @@ -60,7 +60,8 @@ namespace qpid { * registered consumers or be stored until dequeued or until one * or more consumers registers. */ - class Queue : public boost::enable_shared_from_this, public PersistableQueue, public management::Manageable { + class Queue : public boost::enable_shared_from_this, + public PersistableQueue, public management::Manageable { typedef std::set Listeners; typedef std::deque Messages; @@ -106,7 +107,7 @@ namespace qpid { Queue(const string& name, bool autodelete = false, MessageStore* const store = 0, const OwnershipToken* const owner = 0, - Manageable* parent = 0); + management::Manageable* parent = 0); ~Queue(); bool dispatch(Consumer&); @@ -183,6 +184,8 @@ namespace qpid { static Queue::shared_ptr decode(QueueRegistry& queues, framing::Buffer& buffer); static void tryAutoDelete(Broker& broker, Queue::shared_ptr); + virtual void setExternalQueueStore(ExternalQueueStore* inst); + // Manageable entry points management::ManagementObject::shared_ptr GetManagementObject (void) const; management::Manageable::status_t -- cgit v1.2.1