diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-17 03:53:34 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-17 03:53:34 +0000 |
commit | 04cb7fa855e0d6acfa259857e70899fd521421b4 (patch) | |
tree | d0d3ff70a2f3762dd374d13cc44b2e5275cd87f3 /cpp/src/Ice/Stream.cpp | |
parent | lots of Freeze fixes (diff) | |
download | ice-04cb7fa855e0d6acfa259857e70899fd521421b4.tar.bz2 ice-04cb7fa855e0d6acfa259857e70899fd521421b4.tar.xz ice-04cb7fa855e0d6acfa259857e70899fd521421b4.zip |
fixes, fixes, fixes..
Diffstat (limited to 'cpp/src/Ice/Stream.cpp')
-rw-r--r-- | cpp/src/Ice/Stream.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/src/Ice/Stream.cpp b/cpp/src/Ice/Stream.cpp index 089c30607bb..f544a4c2541 100644 --- a/cpp/src/Ice/Stream.cpp +++ b/cpp/src/Ice/Stream.cpp @@ -13,8 +13,8 @@ #include <Ice/Object.h> #include <Ice/Proxy.h> #include <Ice/ProxyFactory.h> -#include <Ice/ValueFactory.h> -#include <Ice/ValueFactoryManager.h> +#include <Ice/ServantFactory.h> +#include <Ice/ServantFactoryManager.h> #include <Ice/LocalException.h> using namespace std; @@ -812,7 +812,7 @@ IceInternal::Stream::write(const ObjectPtr& v) } void -IceInternal::Stream::read(ObjectPtr& v, const string& signatureType) +IceInternal::Stream::read(ObjectPtr& v, const string& type) { vector<string> classIds; read(classIds); @@ -820,7 +820,7 @@ IceInternal::Stream::read(ObjectPtr& v, const string& signatureType) vector<string>::const_iterator p; for (p = classIds.begin(); p != classIds.end(); ++p) { - ValueFactoryPtr factory = _instance->valueFactoryManager()->lookup(*p); + ServantFactoryPtr factory = _instance->valueFactoryManager()->lookup(*p); if (factory) { @@ -829,16 +829,16 @@ IceInternal::Stream::read(ObjectPtr& v, const string& signatureType) for (; p != classIds.end(); ++p) { - if (*p == signatureType) + if (*p == type) { return; } } - throw ValueUnmarshalException(__FILE__, __LINE__); + throw ServantUnmarshalException(__FILE__, __LINE__); } - if (*p == signatureType) + if (*p == type) { return; } @@ -846,5 +846,5 @@ IceInternal::Stream::read(ObjectPtr& v, const string& signatureType) skipEncaps(); } - throw ValueUnmarshalException(__FILE__, __LINE__); + throw ServantUnmarshalException(__FILE__, __LINE__); } |