diff options
Diffstat (limited to 'cppe/demo/IceE/hello/Client.cpp')
-rw-r--r-- | cppe/demo/IceE/hello/Client.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cppe/demo/IceE/hello/Client.cpp b/cppe/demo/IceE/hello/Client.cpp index d57ab9edc92..736207e559b 100644 --- a/cppe/demo/IceE/hello/Client.cpp +++ b/cppe/demo/IceE/hello/Client.cpp @@ -28,9 +28,9 @@ menu() } int -run(int argc, char* argv[], const IceE::CommunicatorPtr& communicator) +run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - IceE::PropertiesPtr properties = communicator->getProperties(); + Ice::PropertiesPtr properties = communicator->getProperties(); const char* proxyProperty = "Hello.Proxy"; string proxy = properties->getProperty(proxyProperty); if(proxy.empty()) @@ -39,7 +39,7 @@ run(int argc, char* argv[], const IceE::CommunicatorPtr& communicator) return EXIT_FAILURE; } - IceE::ObjectPrx base = communicator->stringToProxy(proxy); + Ice::ObjectPrx base = communicator->stringToProxy(proxy); HelloPrx twoway = HelloPrx::checkedCast(base->ice_twoway()->ice_timeout(-1)); if(!twoway) { @@ -122,7 +122,7 @@ run(int argc, char* argv[], const IceE::CommunicatorPtr& communicator) menu(); } } - catch(const IceE::Exception& ex) + catch(const Ice::Exception& ex) { fprintf(stderr, "%s\n", ex.toString().c_str()); } @@ -136,16 +136,16 @@ int main(int argc, char* argv[]) { int status; - IceE::CommunicatorPtr communicator; + Ice::CommunicatorPtr communicator; try { - IceE::PropertiesPtr properties = IceE::createProperties(); + Ice::PropertiesPtr properties = Ice::createProperties(); properties->load("config"); - communicator = IceE::initializeWithProperties(argc, argv, properties); + communicator = Ice::initializeWithProperties(argc, argv, properties); status = run(argc, argv, communicator); } - catch(const IceE::Exception& ex) + catch(const Ice::Exception& ex) { fprintf(stderr, "%s\n", ex.toString().c_str()); status = EXIT_FAILURE; @@ -157,7 +157,7 @@ main(int argc, char* argv[]) { communicator->destroy(); } - catch(const IceE::Exception& ex) + catch(const Ice::Exception& ex) { fprintf(stderr, "%s\n", ex.toString().c_str()); status = EXIT_FAILURE; |