summaryrefslogtreecommitdiff
path: root/py/demo/Ice/callback/Client.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-12 13:50:05 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-12 13:50:05 +0000
commit892bc25c813ced27f04bd872423109f0bd868b6f (patch)
treecda7ba37c46f0ba676f62c60975c30ef40fd7fa5 /py/demo/Ice/callback/Client.py
parentFix bug 973 (diff)
downloadice-892bc25c813ced27f04bd872423109f0bd868b6f.tar.bz2
ice-892bc25c813ced27f04bd872423109f0bd868b6f.tar.xz
ice-892bc25c813ced27f04bd872423109f0bd868b6f.zip
Removed/fixed use of stringToIdentity. Fixed bug 973
Diffstat (limited to 'py/demo/Ice/callback/Client.py')
-rw-r--r--py/demo/Ice/callback/Client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/demo/Ice/callback/Client.py b/py/demo/Ice/callback/Client.py
index 33b01c5cda6..6ca521c225c 100644
--- a/py/demo/Ice/callback/Client.py
+++ b/py/demo/Ice/callback/Client.py
@@ -53,11 +53,11 @@ class Client(Ice.Application):
batchDatagram = Demo.CallbackSenderPrx.uncheckedCast(twoway.ice_batchDatagram())
adapter = self.communicator().createObjectAdapter("Callback.Client")
- adapter.add(CallbackReceiverI(), Ice.stringToIdentity("callbackReceiver"))
+ adapter.add(CallbackReceiverI(), self.communicator().stringToIdentity("callbackReceiver"))
adapter.activate()
twowayR = Demo.CallbackReceiverPrx.uncheckedCast(
- adapter.createProxy(Ice.stringToIdentity("callbackReceiver")))
+ adapter.createProxy(self.communicator().stringToIdentity("callbackReceiver")))
onewayR = Demo.CallbackReceiverPrx.uncheckedCast(twowayR.ice_oneway())
datagramR = Demo.CallbackReceiverPrx.uncheckedCast(twowayR.ice_datagram())