summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProxyFactory.cpp
diff options
context:
space:
mode:
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;