# -*- coding: utf-8 -*-
#
# Copyright (c) ZeroC, Inc. All rights reserved.
#
#
# Ice version 3.7.2
#
# <auto-generated>
#
# Generated from file `Progress.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#

from sys import version_info as _version_info_
import Ice, IcePy

# Start of module Smartswitch
_M_Smartswitch = Ice.openModule('Smartswitch')
__name__ = 'Smartswitch'

_M_Smartswitch._t_Progress = IcePy.defineValue('::Smartswitch::Progress', Ice.Value, -1, (), False, True, None, ())

if 'ProgressPrx' not in _M_Smartswitch.__dict__:
    _M_Smartswitch.ProgressPrx = Ice.createTempClass()
    class ProgressPrx(Ice.ObjectPrx):

        def inc(self, context=None):
            return _M_Smartswitch.Progress._op_inc.invoke(self, ((), context))

        def incAsync(self, context=None):
            return _M_Smartswitch.Progress._op_inc.invokeAsync(self, ((), context))

        def begin_inc(self, _response=None, _ex=None, _sent=None, context=None):
            return _M_Smartswitch.Progress._op_inc.begin(self, ((), _response, _ex, _sent, context))

        def end_inc(self, _r):
            return _M_Smartswitch.Progress._op_inc.end(self, _r)

        @staticmethod
        def checkedCast(proxy, facetOrContext=None, context=None):
            return _M_Smartswitch.ProgressPrx.ice_checkedCast(proxy, '::Smartswitch::Progress', facetOrContext, context)

        @staticmethod
        def uncheckedCast(proxy, facet=None):
            return _M_Smartswitch.ProgressPrx.ice_uncheckedCast(proxy, facet)

        @staticmethod
        def ice_staticId():
            return '::Smartswitch::Progress'
    _M_Smartswitch._t_ProgressPrx = IcePy.defineProxy('::Smartswitch::Progress', ProgressPrx)

    _M_Smartswitch.ProgressPrx = ProgressPrx
    del ProgressPrx

    _M_Smartswitch.Progress = Ice.createTempClass()
    class Progress(Ice.Object):

        def ice_ids(self, current=None):
            return ('::Ice::Object', '::Smartswitch::Progress')

        def ice_id(self, current=None):
            return '::Smartswitch::Progress'

        @staticmethod
        def ice_staticId():
            return '::Smartswitch::Progress'

        def inc(self, current=None):
            raise NotImplementedError("servant method 'inc' not implemented")

        def __str__(self):
            return IcePy.stringify(self, _M_Smartswitch._t_ProgressDisp)

        __repr__ = __str__

    _M_Smartswitch._t_ProgressDisp = IcePy.defineClass('::Smartswitch::Progress', Progress, (), None, ())
    Progress._ice_type = _M_Smartswitch._t_ProgressDisp

    Progress._op_inc = IcePy.Operation('inc', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), None, ())

    _M_Smartswitch.Progress = Progress
    del Progress

# End of module Smartswitch
