summaryrefslogtreecommitdiff
path: root/python/test/Ice/objects/Server.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2016-01-19 16:46:11 -0800
committerMark Spruiell <mes@zeroc.com>2016-01-19 16:46:11 -0800
commitd5dd7c866e9e1dc59dc7e127eb39f641530bf823 (patch)
tree61771e4f322a7138b643d5325a6d10acea30fb84 /python/test/Ice/objects/Server.py
parentDeprecate ice_name and add ice_id (diff)
downloadice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.tar.bz2
ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.tar.xz
ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.zip
ICE-6861 - removing public stream API
Diffstat (limited to 'python/test/Ice/objects/Server.py')
-rwxr-xr-xpython/test/Ice/objects/Server.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/test/Ice/objects/Server.py b/python/test/Ice/objects/Server.py
index e3d588b2da4..a2d01523c08 100755
--- a/python/test/Ice/objects/Server.py
+++ b/python/test/Ice/objects/Server.py
@@ -25,9 +25,9 @@ def MyValueFactory(type):
assert(False) # Should never be reached
def run(args, communicator):
- communicator.addValueFactory(MyValueFactory, '::Test::I')
- communicator.addValueFactory(MyValueFactory, '::Test::J')
- communicator.addValueFactory(MyValueFactory, '::Test::H')
+ communicator.getValueFactoryManager().add(MyValueFactory, '::Test::I')
+ communicator.getValueFactoryManager().add(MyValueFactory, '::Test::J')
+ communicator.getValueFactoryManager().add(MyValueFactory, '::Test::H')
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010")
adapter = communicator.createObjectAdapter("TestAdapter")