From d5dd7c866e9e1dc59dc7e127eb39f641530bf823 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Tue, 19 Jan 2016 16:46:11 -0800 Subject: ICE-6861 - removing public stream API --- cpp/src/Ice/ProxyFactory.cpp | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'cpp/src/Ice/ProxyFactory.cpp') diff --git a/cpp/src/Ice/ProxyFactory.cpp b/cpp/src/Ice/ProxyFactory.cpp index 0b69caf3d82..dd15ae5b21d 100644 --- a/cpp/src/Ice/ProxyFactory.cpp +++ b/cpp/src/Ice/ProxyFactory.cpp @@ -15,7 +15,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -70,7 +71,7 @@ IceInternal::ProxyFactory::proxyToProperty(const ObjectPrxPtr& proxy, const stri } ObjectPrxPtr -IceInternal::ProxyFactory::streamToProxy(BasicStream* s) const +IceInternal::ProxyFactory::streamToProxy(InputStream* s) const { Identity ident; s->read(ident); @@ -79,21 +80,6 @@ IceInternal::ProxyFactory::streamToProxy(BasicStream* s) const return referenceToProxy(ref); } -void -IceInternal::ProxyFactory::proxyToStream(const ObjectPrxPtr& proxy, BasicStream* s) const -{ - if(proxy) - { - s->write(proxy->__reference()->getIdentity()); - proxy->__reference()->streamWrite(s); - } - else - { - Identity ident; - s->write(ident); - } -} - ObjectPrxPtr IceInternal::ProxyFactory::referenceToProxy(const ReferencePtr& ref) const { -- cgit v1.2.3