summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qmf
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
commit0207a7cd0c71cec7f488c8c326ce05825073a57a (patch)
treebecf9af4173acb81f88de40a95e75ef720aa5d78 /qpid/cpp/src/qmf
parent1582837c2d1e25b21a169ec3a5ad4eee7e88e04b (diff)
downloadqpid-python-0207a7cd0c71cec7f488c8c326ce05825073a57a.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@829167 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf')
-rw-r--r--qpid/cpp/src/qmf/engine/BrokerProxyImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qmf/engine/BrokerProxyImpl.cpp b/qpid/cpp/src/qmf/engine/BrokerProxyImpl.cpp
index 0a1769f891..2d955b0c26 100644
--- a/qpid/cpp/src/qmf/engine/BrokerProxyImpl.cpp
+++ b/qpid/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(); }