diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-05-27 12:29:18 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-05-27 12:29:18 -0230 |
commit | 781e357a2e4703af1d292d1169ad9f1249792330 (patch) | |
tree | b49458392e6e3d99dc97e5f817d499276768a1d4 /cpp/src/Ice/EndpointFactoryManager.cpp | |
parent | Bug 3502: Improve javadoc support in Eclipse (diff) | |
download | ice-781e357a2e4703af1d292d1169ad9f1249792330.tar.bz2 ice-781e357a2e4703af1d292d1169ad9f1249792330.tar.xz ice-781e357a2e4703af1d292d1169ad9f1249792330.zip |
Bug 3964 - improve endpoint info
Diffstat (limited to 'cpp/src/Ice/EndpointFactoryManager.cpp')
-rw-r--r-- | cpp/src/Ice/EndpointFactoryManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/EndpointFactoryManager.cpp b/cpp/src/Ice/EndpointFactoryManager.cpp index b32b3cdce90..0c1e823712e 100644 --- a/cpp/src/Ice/EndpointFactoryManager.cpp +++ b/cpp/src/Ice/EndpointFactoryManager.cpp @@ -9,7 +9,7 @@ #include <Ice/EndpointFactoryManager.h> #include <Ice/Endpoint.h> -#include <Ice/UnknownEndpointI.h> +#include <Ice/OpaqueEndpointI.h> #include <Ice/BasicStream.h> #include <Ice/LocalException.h> #include <Ice/Instance.h> @@ -118,7 +118,7 @@ IceInternal::EndpointFactoryManager::create(const string& str, bool oaEndpoint) bs.i = bs.b.begin(); short type; bs.read(type); - EndpointIPtr ue = new IceInternal::UnknownEndpointI(type, &bs); + EndpointIPtr ue = new IceInternal::OpaqueEndpointI(type, &bs); cerr << "Normal: " << e->toString() << endl; cerr << "Opaque: " << ue->toString() << endl; return e; @@ -131,7 +131,7 @@ IceInternal::EndpointFactoryManager::create(const string& str, bool oaEndpoint) // if(protocol == "opaque") { - EndpointIPtr ue = new UnknownEndpointI(str.substr(end)); + EndpointIPtr ue = new OpaqueEndpointI(str.substr(end)); factory = get(ue->type()); if(factory) { @@ -165,7 +165,7 @@ IceInternal::EndpointFactoryManager::read(BasicStream* s) const return factory->read(s); } - return new UnknownEndpointI(type, s); + return new OpaqueEndpointI(type, s); } void |