diff options
Diffstat (limited to 'qpid/cpp/src/qpid/broker/DirectExchange.h')
-rw-r--r-- | qpid/cpp/src/qpid/broker/DirectExchange.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qpid/cpp/src/qpid/broker/DirectExchange.h b/qpid/cpp/src/qpid/broker/DirectExchange.h index a6f9cf91af..bb85a85b7a 100644 --- a/qpid/cpp/src/qpid/broker/DirectExchange.h +++ b/qpid/cpp/src/qpid/broker/DirectExchange.h @@ -7,9 +7,9 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -31,7 +31,7 @@ namespace qpid { namespace broker { -class DirectExchange : public virtual Exchange { +class QPID_BROKER_CLASS_EXTERN DirectExchange : public virtual Exchange { typedef qpid::sys::CopyOnWriteArray<Binding::shared_ptr> Queues; struct BoundKey { Queues queues; @@ -43,16 +43,16 @@ class DirectExchange : public virtual Exchange { public: static const std::string typeName; - + QPID_BROKER_EXTERN DirectExchange(const std::string& name, management::Manageable* parent = 0, Broker* broker = 0); QPID_BROKER_EXTERN DirectExchange(const std::string& _name, - bool _durable, + bool _durable, const qpid::framing::FieldTable& _args, management::Manageable* parent = 0, Broker* broker = 0); - virtual std::string getType() const { return typeName; } - + virtual std::string getType() const { return typeName; } + QPID_BROKER_EXTERN virtual bool bind(boost::shared_ptr<Queue> queue, const std::string& routingKey, const qpid::framing::FieldTable* args); |