summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProxyFactory.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-11-24 17:29:58 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-11-24 17:29:58 +0000
commit1126cea5189d035934f98822078f2ae23d9739ec (patch)
tree759430bdf201db72abddcd9bb83bed6fb034a6d2 /cpp/src/Ice/ProxyFactory.cpp
parentCode cleanup (diff)
downloadice-1126cea5189d035934f98822078f2ae23d9739ec.tar.bz2
ice-1126cea5189d035934f98822078f2ae23d9739ec.tar.xz
ice-1126cea5189d035934f98822078f2ae23d9739ec.zip
Added propertyToProxy
Diffstat (limited to 'cpp/src/Ice/ProxyFactory.cpp')
-rw-r--r--cpp/src/Ice/ProxyFactory.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/ProxyFactory.cpp b/cpp/src/Ice/ProxyFactory.cpp
index 8bf47bd1952..183d3df977d 100644
--- a/cpp/src/Ice/ProxyFactory.cpp
+++ b/cpp/src/Ice/ProxyFactory.cpp
@@ -48,6 +48,13 @@ IceInternal::ProxyFactory::proxyToString(const ObjectPrx& proxy) const
}
ObjectPrx
+IceInternal::ProxyFactory::propertyToProxy(const string& prefix) const
+{
+ ReferencePtr ref = _instance->referenceFactory()->createFromProperties(prefix);
+ return referenceToProxy(ref);
+}
+
+ObjectPrx
IceInternal::ProxyFactory::streamToProxy(BasicStream* s) const
{
Identity ident;