summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/TopicExchange.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-10-31 18:33:40 +0000
committerGordon Sim <gsim@apache.org>2006-10-31 18:33:40 +0000
commit0487ea40bc6568765cdec75a36273eeb26fae854 (patch)
tree02a18d9d2dfe1852013633320a858970fc784fd4 /cpp/src/qpid/broker/TopicExchange.h
parent1150be6d66a943d899e25af4cb876e7f68c657d9 (diff)
downloadqpid-python-0487ea40bc6568765cdec75a36273eeb26fae854.tar.gz
Hid locking within exchange registry, switched to shared_ptr for exchanges, added some extra error handling and tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/TopicExchange.h')
-rw-r--r--cpp/src/qpid/broker/TopicExchange.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/TopicExchange.h b/cpp/src/qpid/broker/TopicExchange.h
index 9f08153a2e..19ea732fbc 100644
--- a/cpp/src/qpid/broker/TopicExchange.h
+++ b/cpp/src/qpid/broker/TopicExchange.h
@@ -77,6 +77,8 @@ class TopicExchange : public virtual Exchange{
static const std::string typeName;
TopicExchange(const string& name);
+
+ virtual std::string getType(){ return typeName; }
virtual void bind(Queue::shared_ptr queue, const string& routingKey, qpid::framing::FieldTable* args);