summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/value/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-17 03:53:34 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-17 03:53:34 +0000
commit04cb7fa855e0d6acfa259857e70899fd521421b4 (patch)
treed0d3ff70a2f3762dd374d13cc44b2e5275cd87f3 /cpp/demo/Ice/value/Client.cpp
parentlots of Freeze fixes (diff)
downloadice-04cb7fa855e0d6acfa259857e70899fd521421b4.tar.bz2
ice-04cb7fa855e0d6acfa259857e70899fd521421b4.tar.xz
ice-04cb7fa855e0d6acfa259857e70899fd521421b4.zip
fixes, fixes, fixes..
Diffstat (limited to 'cpp/demo/Ice/value/Client.cpp')
-rw-r--r--cpp/demo/Ice/value/Client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/demo/Ice/value/Client.cpp b/cpp/demo/Ice/value/Client.cpp
index 5c3dc9e8f6d..c64f4aeea14 100644
--- a/cpp/demo/Ice/value/Client.cpp
+++ b/cpp/demo/Ice/value/Client.cpp
@@ -52,7 +52,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
initial->printer(printer, printerProxy);
}
- catch(const Ice::NoFactoryException& ex)
+ catch(const Ice::NoServantFactoryException& ex)
{
cout << "==> " << ex << endl;
}
@@ -63,8 +63,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
<< "[press enter]\n";
cin.getline(&c, 1);
- Ice::ValueFactoryPtr factory = new Factory;
- communicator->installValueFactory(factory, "::Printer");
+ Ice::ServantFactoryPtr factory = new Factory;
+ communicator->installServantFactory(factory, "::Printer");
initial->printer(printer, printerProxy);
cout << "==> " << printer->_message << endl;
@@ -113,7 +113,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
<< "[press enter]\n";
cin.getline(&c, 1);
- communicator->installValueFactory(factory, "::DerivedPrinter");
+ communicator->installServantFactory(factory, "::DerivedPrinter");
derivedAsBase = initial->derivedPrinter();
DerivedPrinterPtr derived = DerivedPrinterPtr::dynamicCast(derivedAsBase);