summaryrefslogtreecommitdiff
path: root/python/test/Ice/proxy/TestI.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/proxy/TestI.py')
-rw-r--r--python/test/Ice/proxy/TestI.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/python/test/Ice/proxy/TestI.py b/python/test/Ice/proxy/TestI.py
new file mode 100644
index 00000000000..72464f6d2ca
--- /dev/null
+++ b/python/test/Ice/proxy/TestI.py
@@ -0,0 +1,28 @@
+# **********************************************************************
+#
+# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
+#
+# This copy of Ice is licensed to you under the terms described in the
+# ICE_LICENSE file included in this distribution.
+#
+# **********************************************************************
+
+import Ice, Test
+import time
+
+class MyDerivedClassI(Test.MyDerivedClass):
+ def __init__(self):
+ self.ctx = None
+
+ def shutdown(self, current=None):
+ current.adapter.getCommunicator().shutdown()
+
+ def getContext(self, current):
+ return self.ctx
+
+ def echo(self, obj, current):
+ return obj
+
+ def ice_isA(self, s, current):
+ self.ctx = current.ctx
+ return Test.MyDerivedClass.ice_isA(self, s, current)