diff options
Diffstat (limited to 'qpid/cpp/src/qpid/broker/NodeClone.h')
-rw-r--r-- | qpid/cpp/src/qpid/broker/NodeClone.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/qpid/cpp/src/qpid/broker/NodeClone.h b/qpid/cpp/src/qpid/broker/NodeClone.h deleted file mode 100644 index 71cac619ad..0000000000 --- a/qpid/cpp/src/qpid/broker/NodeClone.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef QPID_BROKER_NODEPROPAGATOR_H -#define QPID_BROKER_NODEPROPAGATOR_H - -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * 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 - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -#include "qpid/broker/Exchange.h" - -namespace qpid { -namespace broker { - -class Broker; - -/** - * Pseudo-exchange for recreating local queues and/or exchanges on - * receipt of QMF events indicating their creation on another node - */ -class NodeClone : public Exchange -{ - public: - NodeClone(const std::string&, Broker&); - ~NodeClone(); - std::string getType() const; - bool bind(boost::shared_ptr<Queue>, const std::string&, const qpid::framing::FieldTable*); - bool unbind(boost::shared_ptr<Queue>, const std::string&, const qpid::framing::FieldTable*); - void route(Deliverable&, const std::string&, const qpid::framing::FieldTable*); - bool isBound(boost::shared_ptr<Queue>, const std::string* const, const qpid::framing::FieldTable* const); - - static bool isNodeCloneDestination(const std::string&); - static boost::shared_ptr<Exchange> create(const std::string&, Broker&); - static const std::string typeName; - private: - Broker& broker; -}; -}} // namespace qpid::broker - -#endif /*!QPID_BROKER_NODEPROPAGATOR_H*/ |