diff options
author | Benoit Foucher <benoit@zeroc.com> | 2004-06-02 21:17:40 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2004-06-02 21:17:40 +0000 |
commit | c209ff436f4268b8db689a2dd17615456eea78ce (patch) | |
tree | 5feb8607988706851bfdfdd5ba2d3924ba5b8f6c /cpp/test/IcePack/deployer/Service.cpp | |
parent | Fixed to AMD code generation. (diff) | |
download | ice-c209ff436f4268b8db689a2dd17615456eea78ce.tar.bz2 ice-c209ff436f4268b8db689a2dd17615456eea78ce.tar.xz ice-c209ff436f4268b8db689a2dd17615456eea78ce.zip |
Merged icepack_refactoring2_branch, many IcePack changes.
Diffstat (limited to 'cpp/test/IcePack/deployer/Service.cpp')
-rw-r--r-- | cpp/test/IcePack/deployer/Service.cpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/cpp/test/IcePack/deployer/Service.cpp b/cpp/test/IcePack/deployer/Service.cpp index 7a5986804c0..04727b90a99 100644 --- a/cpp/test/IcePack/deployer/Service.cpp +++ b/cpp/test/IcePack/deployer/Service.cpp @@ -9,7 +9,6 @@ #include <Ice/Ice.h> #include <IceBox/IceBox.h> -#include <Freeze/Freeze.h> #include <TestI.h> #ifndef TEST_SERVICE_API @@ -34,21 +33,6 @@ public: virtual void stop(); }; -class TEST_SERVICE_API FreezeServiceI : public ::IceBox::FreezeService -{ -public: - - FreezeServiceI(); - virtual ~FreezeServiceI(); - - virtual void start(const string&, - const CommunicatorPtr&, - const StringSeq&, - const std::string&); - - virtual void stop(); -}; - extern "C" { @@ -61,12 +45,6 @@ create(CommunicatorPtr communicator) return new ServiceI; } -TEST_SERVICE_API ::IceBox::FreezeService* -createFreezeService(CommunicatorPtr communicator) -{ - return new FreezeServiceI; -} - } ServiceI::ServiceI() @@ -95,29 +73,3 @@ ServiceI::stop() { } -FreezeServiceI::FreezeServiceI() -{ -} - -FreezeServiceI::~FreezeServiceI() -{ -} - -void -FreezeServiceI::start(const string& name, - const CommunicatorPtr& communicator, - const StringSeq& args, - const std::string& envName) -{ - Ice::PropertiesPtr properties = communicator->getProperties(); - - Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter(name); - Ice::ObjectPtr object = new TestI(adapter, communicator->getProperties()); - adapter->add(object, Ice::stringToIdentity(properties->getProperty(name + ".Identity"))); - adapter->activate(); -} - -void -FreezeServiceI::stop() -{ -} |