summaryrefslogtreecommitdiff
path: root/cpp/test/IceSSL/configuration/TestI.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-04-07 13:43:58 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-04-07 13:43:58 +0000
commit3bc9a99c18f06527b7e14cc73b29a285fd4ec13e (patch)
tree65401c32f72cbd63c46c94129a40464a30a83aca /cpp/test/IceSSL/configuration/TestI.cpp
parentFix (diff)
downloadice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.tar.bz2
ice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.tar.xz
ice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.zip
Bug 803 - changed communicator initialization.
Diffstat (limited to 'cpp/test/IceSSL/configuration/TestI.cpp')
-rw-r--r--cpp/test/IceSSL/configuration/TestI.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/test/IceSSL/configuration/TestI.cpp b/cpp/test/IceSSL/configuration/TestI.cpp
index e11349159d7..e93aae72de0 100644
--- a/cpp/test/IceSSL/configuration/TestI.cpp
+++ b/cpp/test/IceSSL/configuration/TestI.cpp
@@ -29,15 +29,16 @@ ServerI::destroy()
Test::ServerPrx
ServerFactoryI::createServer(const Test::Properties& props, const Current& current)
{
- PropertiesPtr properties = createProperties();
+ InitializationData initData;
+ initData.properties = createProperties();
for(Test::Properties::const_iterator p = props.begin(); p != props.end(); ++p)
{
- properties->setProperty(p->first, p->second);
+ initData.properties->setProperty(p->first, p->second);
}
int argc = 0;
char* argv[] = { "" };
- CommunicatorPtr communicator = initializeWithProperties(argc, argv, properties);
+ CommunicatorPtr communicator = initialize(argc, argv, initData);
ObjectAdapterPtr adapter = communicator->createObjectAdapterWithEndpoints("ServerAdapter", "ssl");
ServerIPtr server = new ServerI(communicator);
ObjectPrx obj = adapter->addWithUUID(server);