diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 18:31:39 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 18:31:39 +0200 |
commit | d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba (patch) | |
tree | 3a5711cfe1b206f26d000a6630c721c9608e850d /cppe/test/IceE/exceptions/Server.cpp | |
parent | Bug 3014 - isAbsolute incorrect (diff) | |
download | ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.tar.bz2 ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.tar.xz ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.zip |
Removed SL and IceE code
Diffstat (limited to 'cppe/test/IceE/exceptions/Server.cpp')
-rw-r--r-- | cppe/test/IceE/exceptions/Server.cpp | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/cppe/test/IceE/exceptions/Server.cpp b/cppe/test/IceE/exceptions/Server.cpp deleted file mode 100644 index 3766b81011f..00000000000 --- a/cppe/test/IceE/exceptions/Server.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved. -// -// This copy of Ice-E is licensed to you under the terms described in the -// ICEE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#include <IceE/IceE.h> -#include <TestApplication.h> -#include <TestI.h> - -using namespace std; - -class ExceptionsTestApplication : public TestApplication -{ -public: - - ExceptionsTestApplication() : - TestApplication("exceptions server") - { - } - - virtual int - run(int argc, char* argv[]) - { - Ice::InitializationData initData; - initData.properties = Ice::createProperties(); - initData.properties->setProperty("Ice.Warn.Dispatch", "0"); - initData.properties->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000"); - - loadConfig(initData.properties); - initData.logger = getLogger(); - setCommunicator(Ice::initialize(argc, argv, initData)); - - Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter"); - Ice::ObjectPtr object = new ThrowerI(adapter); - adapter->add(object, communicator()->stringToIdentity("thrower")); - adapter->activate(); - -#ifndef _WIN32_WCE - communicator()->waitForShutdown(); -#endif - - return EXIT_SUCCESS; - } -}; - -#ifdef _WIN32_WCE - -int WINAPI -WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) -{ - ExceptionsTestApplication app; - return app.main(hInstance); -} - -#else - -int -main(int argc, char** argv) -{ - ExceptionsTestApplication app; - return app.main(argc, argv); -} - -#endif |