summaryrefslogtreecommitdiff
path: root/cpp/test/IcePack/deployer/Service.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-07-18 19:47:14 +0000
committerBernard Normier <bernard@zeroc.com>2003-07-18 19:47:14 +0000
commit3c02842b6143c6ce9297feecd7c9497312c76da8 (patch)
tree478210bed985772e2957ee0a65b9cd3f5f390234 /cpp/test/IcePack/deployer/Service.cpp
parentuse lazy initialization of communicator for each request (diff)
downloadice-3c02842b6143c6ce9297feecd7c9497312c76da8.tar.bz2
ice-3c02842b6143c6ce9297feecd7c9497312c76da8.tar.xz
ice-3c02842b6143c6ce9297feecd7c9497312c76da8.zip
Major Freeze update
Diffstat (limited to 'cpp/test/IcePack/deployer/Service.cpp')
-rw-r--r--cpp/test/IcePack/deployer/Service.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/cpp/test/IcePack/deployer/Service.cpp b/cpp/test/IcePack/deployer/Service.cpp
index c8535eb1b84..8cb518b199f 100644
--- a/cpp/test/IcePack/deployer/Service.cpp
+++ b/cpp/test/IcePack/deployer/Service.cpp
@@ -33,8 +33,8 @@ public:
virtual ~ServiceI();
virtual void start(const string&,
- const CommunicatorPtr&,
- const StringSeq&);
+ const CommunicatorPtr&,
+ const StringSeq&);
virtual void stop();
};
@@ -49,7 +49,7 @@ public:
virtual void start(const string&,
const CommunicatorPtr&,
const StringSeq&,
- const Freeze::DBEnvironmentPtr&);
+ const std::string&);
virtual void stop();
};
@@ -112,13 +112,8 @@ void
FreezeServiceI::start(const string& name,
const CommunicatorPtr& communicator,
const StringSeq& args,
- const Freeze::DBEnvironmentPtr& dbEnv)
+ const std::string& envName)
{
- //
- // Ensure that we can create an environment.
- //
- Freeze::DBPtr db = dbEnv->openDB("testdb", true);
-
Ice::PropertiesPtr properties = communicator->getProperties();
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter(name);