#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2007 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()
syntax highlighted by Code2HTML, v. 0.9.1