diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-07-05 11:09:55 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-07-05 11:09:55 +0000 |
commit | 9b8cc712d4a41d71840416776bc94ee8485bb9b3 (patch) | |
tree | 7d467fdd6a66bc2b5878d82070d45adbd5c20414 /cppe/test/IceE/inheritance/TestI.cpp | |
parent | cleaning the cache method out of ReferenceFactory (diff) | |
download | ice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.tar.bz2 ice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.tar.xz ice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.zip |
Changed Ice to IceE EVERYWHERE!!!
Diffstat (limited to 'cppe/test/IceE/inheritance/TestI.cpp')
-rw-r--r-- | cppe/test/IceE/inheritance/TestI.cpp | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/cppe/test/IceE/inheritance/TestI.cpp b/cppe/test/IceE/inheritance/TestI.cpp new file mode 100644 index 00000000000..385826015a0 --- /dev/null +++ b/cppe/test/IceE/inheritance/TestI.cpp @@ -0,0 +1,128 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#include <IceE/IceE.h> +#include <TestI.h> + +using namespace Test; + +MA::CAPrx +CAI_::caop(const MA::CAPrx& p, const IceE::Current&) +{ + return p; +} + +MB::CBPrx +CBI::cbop(const MB::CBPrx& p, const IceE::Current&) +{ + return p; +} + +MA::CCPrx +CCI::ccop(const MA::CCPrx& p, const IceE::Current&) +{ + return p; +} + +MA::CDPrx +CDI::cdop(const MA::CDPrx& p, const IceE::Current&) +{ + return p; +} + +MA::IAPrx +IAI::iaop(const MA::IAPrx& p, const IceE::Current&) +{ + return p; +} + +MB::IB1Prx +IB1I::ib1op(const MB::IB1Prx& p, const IceE::Current&) +{ + return p; +} + +MB::IB2Prx +IB2I::ib2op(const MB::IB2Prx& p, const IceE::Current&) +{ + return p; +} + +MA::ICPrx +ICI::icop(const MA::ICPrx& p, const IceE::Current&) +{ + return p; +} + +InitialI::InitialI(const IceE::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 IceE::Current&) +{ + _adapter->getCommunicator()->shutdown(); +} + +MA::CAPrx +InitialI::caop(const IceE::Current&) +{ + return _ca; +} + +MB::CBPrx +InitialI::cbop(const IceE::Current&) +{ + return _cb; +} + +MA::CCPrx +InitialI::ccop(const IceE::Current&) +{ + return _cc; +} + +MA::CDPrx +InitialI::cdop(const IceE::Current&) +{ + return _cd; +} + +MA::IAPrx +InitialI::iaop(const IceE::Current&) +{ + return _ia; +} + +MB::IB1Prx +InitialI::ib1op(const IceE::Current&) +{ + return _ib1; +} + +MB::IB2Prx +InitialI::ib2op(const IceE::Current&) +{ + return _ib2; +} + +MA::ICPrx +InitialI::icop(const IceE::Current&) +{ + return _ic; +} |