summaryrefslogtreecommitdiff
path: root/cpp/src/qmf/engine/BrokerProxyImpl.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-10-23 18:31:10 +0000
committerTed Ross <tross@apache.org>2009-10-23 18:31:10 +0000
commita63be09b172c9091b87dedaceaa755777b914756 (patch)
tree38d0db1f7796903e2ec588ca375311c8368c1592 /cpp/src/qmf/engine/BrokerProxyImpl.cpp
parentc677d6ffec635f28e3e48255cfca3508a13b40ae (diff)
downloadqpid-python-a63be09b172c9091b87dedaceaa755777b914756.tar.gz
Removed references to broker and agent bank from API, replaced with the
more generic (and forward compatible) "key". In the Ruby binding, ensured that ruby objects reference their own copies of the wrapped c++ objects to protect from problems when the c++ objects are deleted out from under the wrappers. Added agent discriminator to the console::objects method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829167 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qmf/engine/BrokerProxyImpl.cpp')
-rw-r--r--cpp/src/qmf/engine/BrokerProxyImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qmf/engine/BrokerProxyImpl.cpp b/cpp/src/qmf/engine/BrokerProxyImpl.cpp
index 0a1769f891..2d955b0c26 100644
--- a/cpp/src/qmf/engine/BrokerProxyImpl.cpp
+++ b/cpp/src/qmf/engine/BrokerProxyImpl.cpp
@@ -741,6 +741,7 @@ bool MethodContext::handleMessage(uint8_t opcode, uint32_t sequence, const strin
//==================================================================
AgentProxy::AgentProxy(AgentProxyImpl* i) : impl(i) {}
+AgentProxy::AgentProxy(const AgentProxy& from) : impl(new AgentProxyImpl(*(from.impl))) {}
AgentProxy::~AgentProxy() { delete impl; }
const char* AgentProxy::getLabel() const { return impl->getLabel().c_str(); }
uint32_t AgentProxy::getBrokerBank() const { return impl->getBrokerBank(); }