diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-02 17:54:37 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-02 17:54:37 +0000 |
commit | fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2 (patch) | |
tree | 18b8689b8fd5ad29c46281dee27ad3cc7faffefe /cppe/src/IceE/ProxyFactory.cpp | |
parent | removing client/server separation (diff) | |
download | ice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.tar.bz2 ice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.tar.xz ice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.zip |
More string converter optimizations
Diffstat (limited to 'cppe/src/IceE/ProxyFactory.cpp')
-rw-r--r-- | cppe/src/IceE/ProxyFactory.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cppe/src/IceE/ProxyFactory.cpp b/cppe/src/IceE/ProxyFactory.cpp index e0b11a8a4b9..819714945be 100644 --- a/cppe/src/IceE/ProxyFactory.cpp +++ b/cppe/src/IceE/ProxyFactory.cpp @@ -52,7 +52,8 @@ ObjectPrx IceInternal::ProxyFactory::streamToProxy(BasicStream* s) const { Identity ident; - ident.__read(s); + s->read(ident.name, false); + s->read(ident.category, false); ReferencePtr ref = _instance->referenceFactory()->create(ident, s); return referenceToProxy(ref); @@ -63,13 +64,14 @@ IceInternal::ProxyFactory::proxyToStream(const ObjectPrx& proxy, BasicStream* s) { if(proxy) { - proxy->__reference()->getIdentity().__write(s); + s->write(proxy->__reference()->getIdentity().name, false); + s->write(proxy->__reference()->getIdentity().category, false); proxy->__reference()->streamWrite(s); } else { - Identity ident; - ident.__write(s); + s->write("", false); // name + s->write("", false); // category } } |