diff options
Diffstat (limited to 'cppe/test/IceE/inheritance/TestI.cpp')
-rw-r--r-- | cppe/test/IceE/inheritance/TestI.cpp | 132 |
1 files changed, 0 insertions, 132 deletions
diff --git a/cppe/test/IceE/inheritance/TestI.cpp b/cppe/test/IceE/inheritance/TestI.cpp deleted file mode 100644 index 90631c30944..00000000000 --- a/cppe/test/IceE/inheritance/TestI.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 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 <TestCommon.h> -#include <TestI.h> - -using namespace Test; - -MA::CAPrx -CAI_::caop(const MA::CAPrx& p, const Ice::Current&) -{ - return p; -} - -MB::CBPrx -CBI::cbop(const MB::CBPrx& p, const Ice::Current&) -{ - return p; -} - -MA::CCPrx -CCI::ccop(const MA::CCPrx& p, const Ice::Current&) -{ - return p; -} - -MA::CDPrx -CDI::cdop(const MA::CDPrx& p, const Ice::Current&) -{ - return p; -} - -MA::IAPrx -IAI::iaop(const MA::IAPrx& p, const Ice::Current&) -{ - return p; -} - -MB::IB1Prx -IB1I::ib1op(const MB::IB1Prx& p, const Ice::Current&) -{ - return p; -} - -MB::IB2Prx -IB2I::ib2op(const MB::IB2Prx& p, const Ice::Current&) -{ - return p; -} - -MA::ICPrx -ICI::icop(const MA::ICPrx& p, const Ice::Current&) -{ - return p; -} - -InitialI::InitialI(const Ice::ObjectAdapterPtr& adapter) : - _adapter(adapter) -{ - _ca = MA::CAPrx::uncheckedCast(_adapter->addWithUUID(new CAI_)); - _cb = MB::CBPrx::uncheckedCast(_adapter->addWithUUID(new CBI)); - _cc = MA::CCPrx::uncheckedCast(_adapter->addWithUUID(new CCI)); - _cd = MA::CDPrx::uncheckedCast(_adapter->addWithUUID(new CDI)); - _ia = MA::IAPrx::uncheckedCast(_adapter->addWithUUID(new IAI)); - _ib1 = MB::IB1Prx::uncheckedCast(_adapter->addWithUUID(new IB1I)); - _ib2 = MB::IB2Prx::uncheckedCast(_adapter->addWithUUID(new IB2I)); - _ic = MA::ICPrx::uncheckedCast(_adapter->addWithUUID(new ICI)); -} - -void -InitialI::shutdown(const Ice::Current&) -{ - _adapter->getCommunicator()->shutdown(); -#ifdef _WIN32_WCE - tprintf("The server has shutdown, close the window to terminate the server."); -#endif -} - -MA::CAPrx -InitialI::caop(const Ice::Current&) -{ - return _ca; -} - -MB::CBPrx -InitialI::cbop(const Ice::Current&) -{ - return _cb; -} - -MA::CCPrx -InitialI::ccop(const Ice::Current&) -{ - return _cc; -} - -MA::CDPrx -InitialI::cdop(const Ice::Current&) -{ - return _cd; -} - -MA::IAPrx -InitialI::iaop(const Ice::Current&) -{ - return _ia; -} - -MB::IB1Prx -InitialI::ib1op(const Ice::Current&) -{ - return _ib1; -} - -MB::IB2Prx -InitialI::ib2op(const Ice::Current&) -{ - return _ib2; -} - -MA::ICPrx -InitialI::icop(const Ice::Current&) -{ - return _ic; -} |