summaryrefslogtreecommitdiff
path: root/py/test/Ice/retry/TestI.py
blob: ba9e3606bac584703e23e3625583572c8cdec366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2006 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

class RetryI(Test.Retry):

    def op(self, kill, current=None):
    	if kill:
	    current.con.close(True)

    def shutdown(self, current=None):
        current.adapter.getCommunicator().shutdown()