From 781e357a2e4703af1d292d1169ad9f1249792330 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Wed, 27 May 2009 12:29:18 -0230 Subject: Bug 3964 - improve endpoint info --- cpp/src/Ice/EndpointFactoryManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/src/Ice/EndpointFactoryManager.cpp') 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 #include -#include +#include #include #include #include @@ -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 -- cgit v1.2.3