예제 #1
0
        def turnOff(self, current=None):
            raise NotImplementedError(
                "servant method 'turnOff' not implemented")

        def __str__(self):
            return IcePy.stringify(self, _M_IotController._t_DeviceDisp)

        __repr__ = __str__

    _M_IotController._t_DeviceDisp = IcePy.defineClass(
        '::IotController::Device', Device, (), None, ())
    Device._ice_type = _M_IotController._t_DeviceDisp

    Device._op_getInfo = IcePy.Operation(
        'getInfo', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (), (), ((), _M_IotController._t_DeviceInfo, False, 0), ())
    Device._op_turnOn = IcePy.Operation('turnOn', Ice.OperationMode.Normal,
                                        Ice.OperationMode.Normal, False, None,
                                        (), (), (), None, ())
    Device._op_turnOff = IcePy.Operation('turnOff', Ice.OperationMode.Normal,
                                         Ice.OperationMode.Normal, False, None,
                                         (), (), (), None, ())

    _M_IotController.Device = Device
    del Device

_M_IotController._t_Radio = IcePy.defineValue('::IotController::Radio',
                                              Ice.Value, -1, (), False, True,
                                              None, ())
        ice_staticId = staticmethod(ice_staticId)

    _M_omero.model._t_DetectorTypePrx = IcePy.defineProxy(
        '::omero::model::DetectorType', DetectorTypePrx)

    _M_omero.model._t_DetectorType = IcePy.declareClass(
        '::omero::model::DetectorType')

    _M_omero.model._t_DetectorType = IcePy.defineClass(
        '::omero::model::DetectorType', DetectorType, -1, (), True, False,
        _M_omero.model._t_IObject, (),
        (('_value', (), _M_omero._t_RString, False, 0), ))
    DetectorType._ice_type = _M_omero.model._t_DetectorType

    DetectorType._op_getValue = IcePy.Operation(
        'getValue', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (), (), ((), _M_omero._t_RString, False, 0), ())
    DetectorType._op_setValue = IcePy.Operation(
        'setValue', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (((), _M_omero._t_RString, False, 0), ), (), None, ())

    _M_omero.model.DetectorType = DetectorType
    del DetectorType

    _M_omero.model.DetectorTypePrx = DetectorTypePrx
    del DetectorTypePrx

# End of module omero.model

__name__ = 'omero'
예제 #3
0
            return '::IcePatch2::FileServer'

        ice_staticId = staticmethod(ice_staticId)

    _M_IcePatch2._t_FileServerPrx = IcePy.defineProxy(
        '::IcePatch2::FileServer', FileServerPrx)

    _M_IcePatch2._t_FileServer = IcePy.defineClass('::IcePatch2::FileServer',
                                                   FileServer, -1, (), True,
                                                   False, None, (), ())
    FileServer._ice_type = _M_IcePatch2._t_FileServer

    FileServer._op_getFileInfoSeq = IcePy.Operation(
        'getFileInfoSeq', Ice.OperationMode.Idempotent,
        Ice.OperationMode.Nonmutating, False, None, (),
        (((), IcePy._t_int, False, 0), ), (),
        ((), _M_IcePatch2._t_FileInfoSeq, False, 0),
        (_M_IcePatch2._t_PartitionOutOfRangeException,
         _M_IcePatch2._t_FileSizeRangeException))
    FileServer._op_getFileInfoSeq.deprecate(
        "getFileInfoSeq() is deprecated, use getLargeFileInfoSeq() instead.")
    FileServer._op_getLargeFileInfoSeq = IcePy.Operation(
        'getLargeFileInfoSeq', Ice.OperationMode.Idempotent,
        Ice.OperationMode.Nonmutating, False, None, (),
        (((), IcePy._t_int, False, 0), ), (),
        ((), _M_IcePatch2._t_LargeFileInfoSeq, False, 0),
        (_M_IcePatch2._t_PartitionOutOfRangeException, ))
    FileServer._op_getChecksumSeq = IcePy.Operation(
        'getChecksumSeq', Ice.OperationMode.Idempotent,
        Ice.OperationMode.Nonmutating, False, None, (), (), (),
        ((), _M_IcePatch2._t_ByteSeqSeq, False, 0), ())
예제 #4
0
        ice_staticId = staticmethod(ice_staticId)

    _M_omero.model._t_LinkPrx = IcePy.defineProxy('::omero::model::Link',
                                                  LinkPrx)

    _M_omero.model._t_Link = IcePy.declareClass('::omero::model::Link')

    _M_omero.model._t_Link = IcePy.defineClass(
        '::omero::model::Link', Link, -1, (), True, False,
        _M_omero.model._t_IObject, (),
        (('_version', (), _M_omero._t_RInt, False, 0), ))
    Link._ice_type = _M_omero.model._t_Link

    Link._op_getVersion = IcePy.Operation('getVersion',
                                          Ice.OperationMode.Normal,
                                          Ice.OperationMode.Normal, False,
                                          None, (), (), (),
                                          ((), _M_omero._t_RInt, False, 0), ())
    Link._op_setVersion = IcePy.Operation(
        'setVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_omero._t_RInt, False, 0), ), (), None, ())

    _M_omero.model.Link = Link
    del Link

    _M_omero.model.LinkPrx = LinkPrx
    del LinkPrx

# End of module omero.model

__name__ = 'omero'
예제 #5
0
            return _M_bfd.kafkaconsumerclient.KafkaConsumerClientManager._op_hadoopGetTopicList.invoke(self, ((prefix, password), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_bfd.kafkaconsumerclient.KafkaConsumerClientManagerPrx.ice_checkedCast(proxy, '::bfd::kafkaconsumerclient::KafkaConsumerClientManager', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_bfd.kafkaconsumerclient.KafkaConsumerClientManagerPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_bfd.kafkaconsumerclient._t_KafkaConsumerClientManagerPrx = IcePy.defineProxy('::bfd::kafkaconsumerclient::KafkaConsumerClientManager', KafkaConsumerClientManagerPrx)

    _M_bfd.kafkaconsumerclient._t_KafkaConsumerClientManager = IcePy.defineClass('::bfd::kafkaconsumerclient::KafkaConsumerClientManager', KafkaConsumerClientManager, (), True, None, (), ())
    KafkaConsumerClientManager.ice_type = _M_bfd.kafkaconsumerclient._t_KafkaConsumerClientManager

    KafkaConsumerClientManager._op_getUserID = IcePy.Operation('getUserID', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (), (), IcePy._t_long, ())
    KafkaConsumerClientManager._op_close = IcePy.Operation('close', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long)), (), None, ())
    KafkaConsumerClientManager._op_closeAndDelete = IcePy.Operation('closeAndDelete', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long)), (), None, ())
    KafkaConsumerClientManager._op_setConsumeMethod = IcePy.Operation('setConsumeMethod', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_int)), (), IcePy._t_int, ())
    KafkaConsumerClientManager._op_get = IcePy.Operation('get', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long)), (), _M_bfd.kafkaconsumerclient._t_RetInfo, ())
    KafkaConsumerClientManager._op_getFromBegin = IcePy.Operation('getFromBegin', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long)), (), _M_bfd.kafkaconsumerclient._t_RetInfo, ())
    KafkaConsumerClientManager._op_getPeriod = IcePy.Operation('getPeriod', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long)), (), _M_bfd.kafkaconsumerclient._t_RetInfo, ())
    KafkaConsumerClientManager._op_getPeriodFromBegin = IcePy.Operation('getPeriodFromBegin', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long)), (), _M_bfd.kafkaconsumerclient._t_RetInfo, ())
    KafkaConsumerClientManager._op_getArray = IcePy.Operation('getArray', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long), ((), IcePy._t_int)), (), _M_bfd.kafkaconsumerclient._t_RetInfoSeq, ())
    KafkaConsumerClientManager._op_getArrayFromBegin = IcePy.Operation('getArrayFromBegin', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long), ((), IcePy._t_int)), (), _M_bfd.kafkaconsumerclient._t_RetInfoSeq, ())
    KafkaConsumerClientManager._op_getArrayPeriod = IcePy.Operation('getArrayPeriod', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long), ((), IcePy._t_int)), (), _M_bfd.kafkaconsumerclient._t_RetInfoSeq, ())
    KafkaConsumerClientManager._op_getArrayPeriodFromBegin = IcePy.Operation('getArrayPeriodFromBegin', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long), ((), IcePy._t_int)), (), _M_bfd.kafkaconsumerclient._t_RetInfoSeq, ())
    KafkaConsumerClientManager._op_getBlock = IcePy.Operation('getBlock', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long)), (), _M_bfd.kafkaconsumerclient._t_RetInfo, ())
    KafkaConsumerClientManager._op_getFromBeginBlock = IcePy.Operation('getFromBeginBlock', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long)), (), _M_bfd.kafkaconsumerclient._t_RetInfo, ())
    KafkaConsumerClientManager._op_getArrayBlock = IcePy.Operation('getArrayBlock', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long), ((), IcePy._t_int)), (), _M_bfd.kafkaconsumerclient._t_RetInfoSeq, ())
    KafkaConsumerClientManager._op_getArrayFromBeginBlock = IcePy.Operation('getArrayFromBeginBlock', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string), ((), IcePy._t_string), ((), IcePy._t_long), ((), IcePy._t_int)), (), _M_bfd.kafkaconsumerclient._t_RetInfoSeq, ())
예제 #6
0
            return _M_Ice.Locator._op_getRegistry.end(self, _r)

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_Ice.LocatorPrx.ice_checkedCast(proxy, '::Ice::Locator', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_Ice.LocatorPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_Ice._t_LocatorPrx = IcePy.defineProxy('::Ice::Locator', LocatorPrx)

    _M_Ice._t_Locator = IcePy.defineClass('::Ice::Locator', Locator, (), True, None, (), ())
    Locator._ice_type = _M_Ice._t_Locator

    Locator._op_findObjectById = IcePy.Operation('findObjectById', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, True, (), (((), _M_Ice._t_Identity),), (), IcePy._t_ObjectPrx, (_M_Ice._t_ObjectNotFoundException,))
    Locator._op_findAdapterById = IcePy.Operation('findAdapterById', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, True, (), (((), IcePy._t_string),), (), IcePy._t_ObjectPrx, (_M_Ice._t_AdapterNotFoundException,))
    Locator._op_getRegistry = IcePy.Operation('getRegistry', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, (), (), (), _M_Ice._t_LocatorRegistryPrx, ())

    _M_Ice.Locator = Locator
    del Locator

    _M_Ice.LocatorPrx = LocatorPrx
    del LocatorPrx

if not _M_Ice.__dict__.has_key('LocatorRegistry'):
    _M_Ice.LocatorRegistry = Ice.createTempClass()
    class LocatorRegistry(Ice.Object):
        '''The Ice locator registry interface. This interface is used by
servers to register adapter endpoints with the locator.
예제 #7
0
        @staticmethod
        def ice_staticId():
            return '::Bank::AccountManager'

        def createAccount(self, firstName, lastName, pin, income, current=None):
            raise NotImplementedError("servant method 'createAccount' not implemented")

        def getLoan(self, pin, password, howMuch, currency, current=None):
            raise NotImplementedError("servant method 'getLoan' not implemented")

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

        def __str__(self):
            return IcePy.stringify(self, _M_Bank._t_AccountManagerDisp)

        __repr__ = __str__

    _M_Bank._t_AccountManagerDisp = IcePy.defineClass('::Bank::AccountManager', AccountManager, (), None, ())
    AccountManager._ice_type = _M_Bank._t_AccountManagerDisp

    AccountManager._op_createAccount = IcePy.Operation('createAccount', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0), ((), IcePy._t_int, False, 0)), (), ((), _M_Bank._t_RegistrationInfo, False, 0), (_M_Bank._t_AccountException,))
    AccountManager._op_getLoan = IcePy.Operation('getLoan', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0), ((), IcePy._t_int, False, 0), ((), _M_Bank._t_Currency, False, 0)), (), ((), _M_Bank._t_LoanInfo, False, 0), (_M_Bank._t_LoginException, _M_Bank._t_CurrencyException))
    AccountManager._op_inspectAccount = IcePy.Operation('inspectAccount', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0)), (), ((), _M_Bank._t_AccountInfo, False, 0), (_M_Bank._t_LoginException,))

    _M_Bank.AccountManager = AccountManager
    del AccountManager

# End of module Bank
        (('_version', (), _M_omero._t_RInt, False, 0),
         ('_manufacturer', (), _M_omero._t_RString, False, 0),
         ('_model', (), _M_omero._t_RString, False, 0),
         ('_power', (), _M_omero.model._t_Power, False, 0),
         ('_lotNumber', (), _M_omero._t_RString, False, 0),
         ('_serialNumber', (), _M_omero._t_RString, False, 0),
         ('_instrument', (), _M_omero.model._t_Instrument, False, 0),
         ('_annotationLinksSeq',
          (), _M_omero.model._t_LightSourceAnnotationLinksSeq, False, 0),
         ('_annotationLinksLoaded', (), IcePy._t_bool, False, 0),
         ('_annotationLinksCountPerOwner',
          (), _M_omero.sys._t_CountMap, False, 0)))
    LightSource._ice_type = _M_omero.model._t_LightSource

    LightSource._op_getVersion = IcePy.Operation(
        'getVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_omero._t_RInt, False, 0), ())
    LightSource._op_setVersion = IcePy.Operation(
        'setVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_omero._t_RInt, False, 0), ), (), None, ())
    LightSource._op_getManufacturer = IcePy.Operation(
        'getManufacturer', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_omero._t_RString, False, 0), ())
    LightSource._op_setManufacturer = IcePy.Operation(
        'setManufacturer', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_omero._t_RString, False, 0), ), (), None, ())
    LightSource._op_getModel = IcePy.Operation(
        'getModel', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (), (), ((), _M_omero._t_RString, False, 0), ())
    LightSource._op_setModel = IcePy.Operation(
        'setModel', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
         ('_datasetLinksSeq',
          (), _M_omero.model._t_ProjectDatasetLinksSeq, False, 0),
         ('_datasetLinksLoaded', (), IcePy._t_bool, False, 0),
         ('_datasetLinksCountPerOwner',
          (), _M_omero.sys._t_CountMap, False, 0),
         ('_annotationLinksSeq',
          (), _M_omero.model._t_ProjectAnnotationLinksSeq, False, 0),
         ('_annotationLinksLoaded', (), IcePy._t_bool, False, 0),
         ('_annotationLinksCountPerOwner',
          (), _M_omero.sys._t_CountMap, False, 0),
         ('_name', (), _M_omero._t_RString, False, 0),
         ('_description', (), _M_omero._t_RString, False, 0)))
    Project._ice_type = _M_omero.model._t_Project

    Project._op_getVersion = IcePy.Operation(
        'getVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_omero._t_RInt, False, 0), ())
    Project._op_setVersion = IcePy.Operation(
        'setVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_omero._t_RInt, False, 0), ), (), None, ())
    Project._op_unloadDatasetLinks = IcePy.Operation('unloadDatasetLinks',
                                                     Ice.OperationMode.Normal,
                                                     Ice.OperationMode.Normal,
                                                     False, None, (), (), (),
                                                     None, ())
    Project._op_sizeOfDatasetLinks = IcePy.Operation(
        'sizeOfDatasetLinks', Ice.OperationMode.Normal,
        Ice.OperationMode.Normal, False, None, (), (), (),
        ((), IcePy._t_int, False, 0), ())
    Project._op_copyDatasetLinks = IcePy.Operation(
        'copyDatasetLinks', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
예제 #10
0
# Copyright 2010-2021 The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.

# -*- coding: utf-8
import Ice, IcePy, sys, tempfile, os

ice = Ice.initialize(sys.argv)

proxy = ice.stringToProxy('Meta:tcp -h 127.0.0.1 -p 6502')

try:
    slice = IcePy.Operation('getSlice', Ice.OperationMode.Idempotent,
                            Ice.OperationMode.Idempotent, True, (), (), (),
                            IcePy._t_string, ()).invoke(proxy, ((), None))

    (slicefiledesc, slicefilepath) = tempfile.mkstemp(suffix='.ice')
    slicefile = os.fdopen(slicefiledesc, 'w')
    slicefile.write(slice)
    slicefile.flush()
    Ice.loadSlice('', ['-I' + Ice.getSliceDir(), slicefilepath])
    slicefile.close()
    os.remove(slicefilepath)

    print 'Using dynamic slice'
except Exception:
    Ice.loadSlice('', ['-I' + Ice.getSliceDir(), 'Murmur.ice'])
    print 'Using bundled slice'
예제 #11
0
        def getPassword(self, current=None):
            raise NotImplementedError(
                "servant method 'getPassword' not implemented")

        def __str__(self):
            return IcePy.stringify(self, _M_BankService._t_AccountDisp)

        __repr__ = __str__

    _M_BankService._t_AccountDisp = IcePy.defineClass('::BankService::Account',
                                                      Account, (), None, ())
    Account._ice_type = _M_BankService._t_AccountDisp

    Account._op_getAccountDetails = IcePy.Operation(
        'getAccountDetails', Ice.OperationMode.Normal,
        Ice.OperationMode.Normal, False, None, (), (), (),
        ((), _M_BankService._t_AccountDetails, False, 0), ())
    Account._op_getPassword = IcePy.Operation(
        'getPassword', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), IcePy._t_string, False, 0), ())

    _M_BankService.Account = Account
    del Account

_M_BankService._t_Bank = IcePy.defineValue('::BankService::Bank', Ice.Value,
                                           -1, (), False, True, None, ())

if 'BankPrx' not in _M_BankService.__dict__:
    _M_BankService.BankPrx = Ice.createTempClass()

    class BankPrx(Ice.ObjectPrx):
            Returns: A future object for the invocation.
            Throws:
            ParseException -- Raised if an error occurred during parsing.
            """
            raise NotImplementedError("servant method 'parse' not implemented")

        def __str__(self):
            return IcePy.stringify(self, _M_IceGrid._t_FileParserDisp)

        __repr__ = __str__

    _M_IceGrid._t_FileParserDisp = IcePy.defineClass('::IceGrid::FileParser',
                                                     FileParser, (), None, ())
    FileParser._ice_type = _M_IceGrid._t_FileParserDisp

    FileParser._op_parse = IcePy.Operation(
        'parse', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent,
        False, None, (), (((), IcePy._t_string, False, 0),
                          ((), _M_IceGrid._t_AdminPrx, False, 0)), (),
        ((), _M_IceGrid._t_ApplicationDescriptor, False, 0),
        (_M_IceGrid._t_ParseException, ))

    _M_IceGrid.FileParser = FileParser
    del FileParser

# End of module IceGrid

Ice.sliceChecksums["::IceGrid::FileParser"] = "b847ccf3e3db7cbba649ec7cc464faf"
Ice.sliceChecksums[
    "::IceGrid::ParseException"] = "dec9aacba8b3ba76afc5de1cc3489598"
                                                     EllipsePrx)

    _M_omero.model._t_Ellipse = IcePy.declareClass('::omero::model::Ellipse')

    _M_omero.model._t_Ellipse = IcePy.defineClass(
        '::omero::model::Ellipse', Ellipse, -1, (), True, False,
        _M_omero.model._t_Shape, (),
        (('_x', (), _M_omero._t_RDouble, False, 0),
         ('_y', (), _M_omero._t_RDouble, False, 0),
         ('_radiusX', (), _M_omero._t_RDouble, False, 0),
         ('_radiusY', (), _M_omero._t_RDouble, False, 0),
         ('_textValue', (), _M_omero._t_RString, False, 0)))
    Ellipse._ice_type = _M_omero.model._t_Ellipse

    Ellipse._op_getX = IcePy.Operation('getX', Ice.OperationMode.Normal,
                                       Ice.OperationMode.Normal, False, None,
                                       (), (), (),
                                       ((), _M_omero._t_RDouble, False, 0), ())
    Ellipse._op_setX = IcePy.Operation('setX', Ice.OperationMode.Normal,
                                       Ice.OperationMode.Normal, False, None,
                                       (),
                                       (((), _M_omero._t_RDouble, False, 0), ),
                                       (), None, ())
    Ellipse._op_getY = IcePy.Operation('getY', Ice.OperationMode.Normal,
                                       Ice.OperationMode.Normal, False, None,
                                       (), (), (),
                                       ((), _M_omero._t_RDouble, False, 0), ())
    Ellipse._op_setY = IcePy.Operation('setY', Ice.OperationMode.Normal,
                                       Ice.OperationMode.Normal, False, None,
                                       (),
                                       (((), _M_omero._t_RDouble, False, 0), ),
                                       (), None, ())
예제 #14
0
        def ice_staticId():
            return '::ManageMusic::ManageFile'

        ice_staticId = staticmethod(ice_staticId)

    _M_ManageMusic._t_ManageFilePrx = IcePy.defineProxy(
        '::ManageMusic::ManageFile', ManageFilePrx)

    _M_ManageMusic._t_ManageFile = IcePy.defineClass(
        '::ManageMusic::ManageFile', ManageFile, -1, (), True, False, None, (),
        ())
    ManageFile._ice_type = _M_ManageMusic._t_ManageFile

    ManageFile._op_delete = IcePy.Operation('delete', Ice.OperationMode.Normal,
                                            Ice.OperationMode.Normal, False,
                                            None, (),
                                            (((), IcePy._t_string, False, 0),
                                             ((), IcePy._t_int, False, 0)), (),
                                            None, ())
    ManageFile._op_newMusic = IcePy.Operation(
        'newMusic', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (((), _M_ManageMusic._t_Sound, False, 0),
                   ((), IcePy._t_string, False, 0),
                   ((), IcePy._t_int, False, 0)), (), None, ())

    _M_ManageMusic.ManageFile = ManageFile
    del ManageFile

    _M_ManageMusic.ManageFilePrx = ManageFilePrx
    del ManageFilePrx

if 'Network' not in _M_ManageMusic.__dict__:
예제 #15
0
def MumbleCtlIce(connstring, slicefile=None, icesecret=None):
    """ Choose the correct Ice handler to use (1.1.8 or 1.2.x), and make sure the
        Murmur version matches the slice Version.

        Optional parameters are the path to the slice file and the Ice secret
        necessary to authenticate to Murmur.

        The path can be omitted only if running Murmur 1.2.3 or later, which
        exports a getSlice method to retrieve the Slice from.
    """

    prop = Ice.createProperties([])
    prop.setProperty("Ice.ImplicitContext", "Shared")
    prop.setProperty("Ice.MessageSizeMax", "65535")

    idd = Ice.InitializationData()
    idd.properties = prop

    ice = Ice.initialize(idd)

    if icesecret:
        ice.getImplicitContext().put("secret", icesecret.encode("utf-8"))

    prx = ice.stringToProxy(connstring.encode("utf-8"))

    try:
        prx.ice_ping()
    except Ice.Exception:
        raise EnvironmentError(
            "Murmur does not appear to be listening on this address (Ice ping failed)."
        )

    try:
        import Murmur
    except ImportError:
        # Try loading the Slice from Murmur directly via its getSlice method.
        # See scripts/testdynamic.py in Mumble's Git repository.
        try:
            slice = IcePy.Operation('getSlice', Ice.OperationMode.Idempotent,
                                    Ice.OperationMode.Idempotent, True, (), (),
                                    (), IcePy._t_string,
                                    ()).invoke(prx, ((), None))
        except (TypeError, Ice.OperationNotExistException):
            if not slicefile:
                raise EnvironmentError(
                    "You didn't configure a slice file. Please set the SLICE variable in settings.py."
                )
            if not exists(slicefile):
                raise EnvironmentError(
                    "The slice file does not exist: '%s' - please check the settings."
                    % slicefile)
            if " " in slicefile:
                raise EnvironmentError(
                    "You have a space char in your Slice path. This will confuse Ice, please check."
                )
            if not slicefile.endswith(".ice"):
                raise EnvironmentError(
                    "The slice file name MUST end with '.ice'.")

            try:
                loadSlice(slicefile)
            except RuntimeError:
                raise RuntimeError(
                    "Slice preprocessing failed. Please check your server's error log."
                )
        else:
            if os_name == "nt":
                # It weren't Windows if it didn't need to be treated differently. *sigh*
                temppath = join(tempfile.gettempdir(), "Murmur.ice")
                slicetemp = open(temppath, "w+b")
                try:
                    slicetemp.write(slice)
                finally:
                    slicetemp.close()
                try:
                    loadSlice(temppath)
                except RuntimeError:
                    raise RuntimeError(
                        "Slice preprocessing failed. Please check your server's error log."
                    )
                finally:
                    unlink(temppath)
            else:
                slicetemp = tempfile.NamedTemporaryFile(suffix='.ice')
                try:
                    slicetemp.write(slice)
                    slicetemp.flush()
                    loadSlice(slicetemp.name)
                except RuntimeError:
                    raise RuntimeError(
                        "Slice preprocessing failed. Please check your server's error log."
                    )
                finally:
                    slicetemp.close()

        import Murmur

    meta = Murmur.MetaPrx.checkedCast(prx)

    murmurversion = meta.getVersion()[:3]

    if murmurversion == (1, 1, 8):
        return MumbleCtlIce_118(connstring, meta)

    elif murmurversion[:2] == (1, 3):
        return MumbleCtlIce_123(connstring, meta)
        #if   murmurversion[2] < 2:
        #    return MumbleCtlIce_120( connstring, meta )

        #elif murmurversion[2] == 2:
        #    return MumbleCtlIce_122( connstring, meta )

        #elif murmurversion[2] >= 3:
        #    return MumbleCtlIce_123( connstring, meta )

    raise NotImplementedError(
        "No ctl object available for Murmur version %d.%d.%d" %
        tuple(murmurversion))
예제 #16
0
        def ice_staticId():
            return '::jderobot::Visualization'

        ice_staticId = staticmethod(ice_staticId)

    _M_jderobot._t_VisualizationPrx = IcePy.defineProxy(
        '::jderobot::Visualization', VisualizationPrx)

    _M_jderobot._t_Visualization = IcePy.defineClass(
        '::jderobot::Visualization', Visualization, -1, (), True, False, None,
        (), ())
    Visualization._ice_type = _M_jderobot._t_Visualization

    Visualization._op_drawSegment = IcePy.Operation(
        'drawSegment', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_jderobot._t_bufferSegments, False, 0), ), (),
        None, ())
    Visualization._op_getSegment = IcePy.Operation(
        'getSegment', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_jderobot._t_bufferSegments, False, 0),
        ())
    Visualization._op_drawPoint = IcePy.Operation(
        'drawPoint', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (((), _M_jderobot._t_bufferPoints, False, 0), ), (), None,
        ())
    Visualization._op_getPoints = IcePy.Operation(
        'getPoints', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (), (), ((), _M_jderobot._t_bufferPoints, False, 0), ())
    Visualization._op_clearAll = IcePy.Operation('clearAll',
                                                 Ice.OperationMode.Normal,
                                                 Ice.OperationMode.Normal,
        '::omero::model::FilesetEntry', FilesetEntryPrx)

    _M_omero.model._t_FilesetEntry = IcePy.declareClass(
        '::omero::model::FilesetEntry')

    _M_omero.model._t_FilesetEntry = IcePy.defineClass(
        '::omero::model::FilesetEntry', FilesetEntry, -1, (), True, False,
        _M_omero.model._t_IObject, (),
        (('_version', (), _M_omero._t_RInt, False, 0),
         ('_fileset', (), _M_omero.model._t_Fileset, False, 0),
         ('_originalFile', (), _M_omero.model._t_OriginalFile, False, 0),
         ('_clientPath', (), _M_omero._t_RString, False, 0)))
    FilesetEntry._ice_type = _M_omero.model._t_FilesetEntry

    FilesetEntry._op_getVersion = IcePy.Operation(
        'getVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_omero._t_RInt, False, 0), ())
    FilesetEntry._op_setVersion = IcePy.Operation(
        'setVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_omero._t_RInt, False, 0), ), (), None, ())
    FilesetEntry._op_getFileset = IcePy.Operation(
        'getFileset', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_omero.model._t_Fileset, False, 0), ())
    FilesetEntry._op_setFileset = IcePy.Operation(
        'setFileset', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_omero.model._t_Fileset, False, 0), ), (),
        None, ())
    FilesetEntry._op_getOriginalFile = IcePy.Operation(
        'getOriginalFile', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (),
        ((), _M_omero.model._t_OriginalFile, False, 0), ())
예제 #18
0
        uncheckedCast = staticmethod(uncheckedCast)

        def ice_staticId():
            return '::Demo::Device'

        ice_staticId = staticmethod(ice_staticId)

    _M_Demo._t_DevicePrx = IcePy.defineProxy('::Demo::Device', DevicePrx)

    _M_Demo._t_Device = IcePy.defineClass('::Demo::Device', Device, -1, (),
                                          True, False, None, (), ())
    Device._ice_type = _M_Demo._t_Device

    Device._op_getState = IcePy.Operation('getState', Ice.OperationMode.Normal,
                                          Ice.OperationMode.Normal, False,
                                          None, (), (), (),
                                          ((), IcePy._t_string, False, 0), ())
    Device._op_feedBattery = IcePy.Operation('feedBattery',
                                             Ice.OperationMode.Normal,
                                             Ice.OperationMode.Normal, False,
                                             None, (), (), (), None, ())
    Device._op_listActions = IcePy.Operation(
        'listActions', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_Demo._t_stringSeq, False, 0), ())

    _M_Demo.Device = Device
    del Device

    _M_Demo.DevicePrx = DevicePrx
    del DevicePrx
예제 #19
0
        def ice_staticId():
            return '::jderobot::recorder'

        ice_staticId = staticmethod(ice_staticId)

    _M_jderobot._t_recorderPrx = IcePy.defineProxy('::jderobot::recorder',
                                                   recorderPrx)

    _M_jderobot._t_recorder = IcePy.defineClass('::jderobot::recorder',
                                                recorder, -1, (), True, False,
                                                None, (), ())
    recorder._ice_type = _M_jderobot._t_recorder

    recorder._op_saveLog = IcePy.Operation('saveLog', Ice.OperationMode.Normal,
                                           Ice.OperationMode.Normal, False,
                                           None, (),
                                           (((), IcePy._t_string, False, 0),
                                            ((), IcePy._t_int, False, 0)), (),
                                           ((), IcePy._t_bool, False, 0), ())
    recorder._op_saveVideo = IcePy.Operation(
        'saveVideo', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (),
        (((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0),
         ((), IcePy._t_int, False, 0)), (), ((), IcePy._t_bool, False, 0), ())

    _M_jderobot.recorder = recorder
    del recorder

    _M_jderobot.recorderPrx = recorderPrx
    del recorderPrx

# End of module jderobot
예제 #20
0
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_IceGrid.QueryPrx.ice_uncheckedCast(proxy, facet)

        uncheckedCast = staticmethod(uncheckedCast)

    _M_IceGrid._t_QueryPrx = IcePy.defineProxy('::IceGrid::Query', QueryPrx)

    _M_IceGrid._t_Query = IcePy.defineClass('::IceGrid::Query', Query, (),
                                            True, None, (), ())
    Query._ice_type = _M_IceGrid._t_Query

    Query._op_findObjectById = IcePy.Operation('findObjectById',
                                               Ice.OperationMode.Idempotent,
                                               Ice.OperationMode.Nonmutating,
                                               False, (),
                                               (((), _M_Ice._t_Identity), ),
                                               (), IcePy._t_ObjectPrx, ())
    Query._op_findObjectByType = IcePy.Operation('findObjectByType',
                                                 Ice.OperationMode.Idempotent,
                                                 Ice.OperationMode.Nonmutating,
                                                 False, (),
                                                 (((), IcePy._t_string), ), (),
                                                 IcePy._t_ObjectPrx, ())
    Query._op_findObjectByTypeOnLeastLoadedNode = IcePy.Operation(
        'findObjectByTypeOnLeastLoadedNode', Ice.OperationMode.Idempotent,
        Ice.OperationMode.Nonmutating, False, (),
        (((), IcePy._t_string), ((), _M_IceGrid._t_LoadSample)), (),
        IcePy._t_ObjectPrx, ())
    Query._op_findAllObjectsByType = IcePy.Operation(
        'findAllObjectsByType', Ice.OperationMode.Idempotent,
예제 #21
0
    _M_omero.model._t_PlaneInfoAnnotationLinkPrx = IcePy.defineProxy(
        '::omero::model::PlaneInfoAnnotationLink', PlaneInfoAnnotationLinkPrx)

    _M_omero.model._t_PlaneInfoAnnotationLink = IcePy.declareClass(
        '::omero::model::PlaneInfoAnnotationLink')

    _M_omero.model._t_PlaneInfoAnnotationLink = IcePy.defineClass(
        '::omero::model::PlaneInfoAnnotationLink', PlaneInfoAnnotationLink, -1,
        (), True, False, _M_omero.model._t_IObject, (),
        (('_version', (), _M_omero._t_RInt, False, 0),
         ('_parent', (), _M_omero.model._t_PlaneInfo, False, 0),
         ('_child', (), _M_omero.model._t_Annotation, False, 0)))
    PlaneInfoAnnotationLink._ice_type = _M_omero.model._t_PlaneInfoAnnotationLink

    PlaneInfoAnnotationLink._op_getVersion = IcePy.Operation(
        'getVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_omero._t_RInt, False, 0), ())
    PlaneInfoAnnotationLink._op_setVersion = IcePy.Operation(
        'setVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_omero._t_RInt, False, 0), ), (), None, ())
    PlaneInfoAnnotationLink._op_getParent = IcePy.Operation(
        'getParent', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (), (), ((), _M_omero.model._t_PlaneInfo, False, 0), ())
    PlaneInfoAnnotationLink._op_setParent = IcePy.Operation(
        'setParent', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (((), _M_omero.model._t_PlaneInfo, False, 0), ), (), None,
        ())
    PlaneInfoAnnotationLink._op_getChild = IcePy.Operation(
        'getChild', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (), (), ((), _M_omero.model._t_Annotation, False, 0), ())
    PlaneInfoAnnotationLink._op_setChild = IcePy.Operation(
예제 #22
0
            return ('::Ice::Object', '::metaServer::msFunction')

        def ice_id(self, current=None):
            return '::metaServer::msFunction'

        @staticmethod
        def ice_staticId():
            return '::metaServer::msFunction'

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

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

        def __str__(self):
            return IcePy.stringify(self, _M_metaServer._t_msFunctionDisp)

        __repr__ = __str__

    _M_metaServer._t_msFunctionDisp = IcePy.defineClass('::metaServer::msFunction', msFunction, (), None, ())
    msFunction._ice_type = _M_metaServer._t_msFunctionDisp

    msFunction._op_parse = IcePy.Operation('parse', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0)), (), None, ())
    msFunction._op_receive = IcePy.Operation('receive', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_metaServer._t_playList, False, 0), ())

    _M_metaServer.msFunction = msFunction
    del msFunction

# End of module metaServer
예제 #23
0
        def uncheckedCast(proxy, facet=None):
            return _M_SRTControl.telescopePrx.ice_uncheckedCast(proxy, facet)

        uncheckedCast = staticmethod(uncheckedCast)

    _M_SRTControl._t_telescopePrx = IcePy.defineProxy(
        '::SRTControl::telescope', telescopePrx)

    _M_SRTControl._t_telescope = IcePy.defineClass('::SRTControl::telescope',
                                                   telescope, -1, (), True,
                                                   False, None, (), ())
    telescope._ice_type = _M_SRTControl._t_telescope

    telescope._op_message = IcePy.Operation(
        'message', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (((), IcePy._t_string, False, 0), ),
        (((), IcePy._t_string, False, 0), ), None, ())
    telescope._op_SRTGetSerialPorts = IcePy.Operation(
        'SRTGetSerialPorts', Ice.OperationMode.Normal,
        Ice.OperationMode.Normal, False, None, (), (),
        (((), _M_SRTControl._t_ports, False, 0), ), None, ())
    telescope._op_SRTSetSerialPort = IcePy.Operation(
        'SRTSetSerialPort', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), IcePy._t_string, False, 0), ),
        (((), IcePy._t_string, False, 0), ), None, ())
    telescope._op_SRTinit = IcePy.Operation(
        'SRTinit', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (((), IcePy._t_string, False, 0), ),
        (((), IcePy._t_string, False, 0), ), None, ())
    telescope._op_SRTStow = IcePy.Operation(
        'SRTStow', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
            return _M_omero.model.PowerPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

        def ice_staticId():
            return '::omero::model::Power'
        ice_staticId = staticmethod(ice_staticId)

    _M_omero.model._t_PowerPrx = IcePy.defineProxy('::omero::model::Power', PowerPrx)

    _M_omero.model._t_Power = IcePy.defineClass('::omero::model::Power', Power, -1, (), True, False, None, (), (
        ('_value', (), IcePy._t_double, False, 0),
        ('_unit', (), _M_omero.model.enums._t_UnitsPower, False, 0)
    ))
    Power._ice_type = _M_omero.model._t_Power

    Power._op_getValue = IcePy.Operation('getValue', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), IcePy._t_double, False, 0), ())
    Power._op_setValue = IcePy.Operation('setValue', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_double, False, 0),), (), None, ())
    Power._op_getUnit = IcePy.Operation('getUnit', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_omero.model.enums._t_UnitsPower, False, 0), ())
    Power._op_setUnit = IcePy.Operation('setUnit', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_omero.model.enums._t_UnitsPower, False, 0),), (), None, ())
    Power._op_getSymbol = IcePy.Operation('getSymbol', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), IcePy._t_string, False, 0), ())
    Power._op_copy = IcePy.Operation('copy', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_omero.model._t_Power, False, 0), ())

    _M_omero.model.Power = Power
    del Power

    _M_omero.model.PowerPrx = PowerPrx
    del PowerPrx

# End of module omero.model

__name__ = 'omero'
예제 #25
0
        '::omero::model::Laser', Laser, -1, (), True, False,
        _M_omero.model._t_LightSource, (),
        (('_type', (), _M_omero.model._t_LaserType, False, 0),
         ('_laserMedium', (), _M_omero.model._t_LaserMedium, False, 0),
         ('_frequencyMultiplication',
          (), _M_omero._t_RInt, False, 0), ('_tuneable',
                                            (), _M_omero._t_RBool, False, 0),
         ('_pulse', (), _M_omero.model._t_Pulse, False, 0),
         ('_wavelength', (), _M_omero.model._t_Length, False, 0),
         ('_pockelCell', (), _M_omero._t_RBool, False, 0),
         ('_pump', (), _M_omero.model._t_LightSource, False, 0),
         ('_repetitionRate', (), _M_omero.model._t_Frequency, False, 0)))
    Laser._ice_type = _M_omero.model._t_Laser

    Laser._op_getType = IcePy.Operation(
        'getType', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (), (), ((), _M_omero.model._t_LaserType, False, 0), ())
    Laser._op_setType = IcePy.Operation(
        'setType', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        None, (), (((), _M_omero.model._t_LaserType, False, 0), ), (), None,
        ())
    Laser._op_getLaserMedium = IcePy.Operation(
        'getLaserMedium', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (), (), ((), _M_omero.model._t_LaserMedium, False, 0),
        ())
    Laser._op_setLaserMedium = IcePy.Operation(
        'setLaserMedium', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_omero.model._t_LaserMedium, False, 0), ), (),
        None, ())
    Laser._op_getFrequencyMultiplication = IcePy.Operation(
        'getFrequencyMultiplication', Ice.OperationMode.Normal,
예제 #26
0
            return '::omero::model::QuantumDef'
        ice_staticId = staticmethod(ice_staticId)

    _M_omero.model._t_QuantumDefPrx = IcePy.defineProxy('::omero::model::QuantumDef', QuantumDefPrx)

    _M_omero.model._t_QuantumDef = IcePy.declareClass('::omero::model::QuantumDef')

    _M_omero.model._t_QuantumDef = IcePy.defineClass('::omero::model::QuantumDef', QuantumDef, -1, (), True, False, _M_omero.model._t_IObject, (), (
        ('_version', (), _M_omero._t_RInt, False, 0),
        ('_cdStart', (), _M_omero._t_RInt, False, 0),
        ('_cdEnd', (), _M_omero._t_RInt, False, 0),
        ('_bitResolution', (), _M_omero._t_RInt, False, 0)
    ))
    QuantumDef._ice_type = _M_omero.model._t_QuantumDef

    QuantumDef._op_getVersion = IcePy.Operation('getVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_omero._t_RInt, False, 0), ())
    QuantumDef._op_setVersion = IcePy.Operation('setVersion', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_omero._t_RInt, False, 0),), (), None, ())
    QuantumDef._op_getCdStart = IcePy.Operation('getCdStart', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_omero._t_RInt, False, 0), ())
    QuantumDef._op_setCdStart = IcePy.Operation('setCdStart', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_omero._t_RInt, False, 0),), (), None, ())
    QuantumDef._op_getCdEnd = IcePy.Operation('getCdEnd', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_omero._t_RInt, False, 0), ())
    QuantumDef._op_setCdEnd = IcePy.Operation('setCdEnd', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_omero._t_RInt, False, 0),), (), None, ())
    QuantumDef._op_getBitResolution = IcePy.Operation('getBitResolution', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_omero._t_RInt, False, 0), ())
    QuantumDef._op_setBitResolution = IcePy.Operation('setBitResolution', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_omero._t_RInt, False, 0),), (), None, ())

    _M_omero.model.QuantumDef = QuantumDef
    del QuantumDef

    _M_omero.model.QuantumDefPrx = QuantumDefPrx
    del QuantumDefPrx

# End of module omero.model
예제 #27
0
파일: Ice.py 프로젝트: stick/zeroc-ice
    _destroyed = False
    _callbackInProgress = False
    _condVar = threading.Condition()
    _signalPolicy = HandleSignals


#
# Define Ice::Object and Ice::ObjectPrx.
#
IcePy._t_Object = IcePy.defineClass('::Ice::Object', Object, -1, (), False,
                                    False, None, (), ())
IcePy._t_ObjectPrx = IcePy.defineProxy('::Ice::Object', ObjectPrx)
Object._ice_type = IcePy._t_Object

Object._op_ice_isA = IcePy.Operation('ice_isA', OperationMode.Idempotent,
                                     OperationMode.Nonmutating, False, None,
                                     (), (((), IcePy._t_string, False, 0), ),
                                     (), ((), IcePy._t_bool, False, 0), ())
Object._op_ice_ping = IcePy.Operation('ice_ping', OperationMode.Idempotent,
                                      OperationMode.Nonmutating, False, None,
                                      (), (), (), None, ())
Object._op_ice_ids = IcePy.Operation('ice_ids', OperationMode.Idempotent,
                                     OperationMode.Nonmutating, False, None,
                                     (), (), (), ((), _t_StringSeq, False, 0),
                                     ())
Object._op_ice_id = IcePy.Operation('ice_id', OperationMode.Idempotent,
                                    OperationMode.Nonmutating, False, None, (),
                                    (), (), ((), IcePy._t_string, False, 0),
                                    ())

IcePy._t_LocalObject = IcePy.defineClass('::Ice::LocalObject', object, -1, (),
                                         False, False, None, (), ())
예제 #28
0
        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_SHControl.SignalHoundPrx.ice_checkedCast(
                proxy, '::SHControl::SignalHound', facetOrCtx, _ctx)

        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_SHControl.SignalHoundPrx.ice_uncheckedCast(proxy, facet)

        uncheckedCast = staticmethod(uncheckedCast)

    _M_SHControl._t_SignalHoundPrx = IcePy.defineProxy(
        '::SHControl::SignalHound', SignalHoundPrx)

    _M_SHControl._t_SignalHound = IcePy.defineClass('::SHControl::SignalHound',
                                                    SignalHound, (), True,
                                                    None, (), ())
    SignalHound._ice_type = _M_SHControl._t_SignalHound

    SignalHound._op_message = IcePy.Operation(
        'message', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False,
        (), (((), IcePy._t_string), ), (((), IcePy._t_string), ), None, ())

    _M_SHControl.SignalHound = SignalHound
    del SignalHound

    _M_SHControl.SignalHoundPrx = SignalHoundPrx
    del SignalHoundPrx

# End of module SHControl
예제 #29
0
        def uncheckedCast(proxy, facet=None):
            return _M_omero.model.FileAnnotationPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

        def ice_staticId():
            return '::omero::model::FileAnnotation'
        ice_staticId = staticmethod(ice_staticId)

    _M_omero.model._t_FileAnnotationPrx = IcePy.defineProxy('::omero::model::FileAnnotation', FileAnnotationPrx)

    _M_omero.model._t_FileAnnotation = IcePy.declareClass('::omero::model::FileAnnotation')

    _M_omero.model._t_FileAnnotation = IcePy.defineClass('::omero::model::FileAnnotation', FileAnnotation, -1, (), True, False, _M_omero.model._t_TypeAnnotation, (), (('_file', (), _M_omero.model._t_OriginalFile, False, 0),))
    FileAnnotation._ice_type = _M_omero.model._t_FileAnnotation

    FileAnnotation._op_getFile = IcePy.Operation('getFile', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_omero.model._t_OriginalFile, False, 0), ())
    FileAnnotation._op_setFile = IcePy.Operation('setFile', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_omero.model._t_OriginalFile, False, 0),), (), None, ())

    _M_omero.model.FileAnnotation = FileAnnotation
    del FileAnnotation

    _M_omero.model.FileAnnotationPrx = FileAnnotationPrx
    del FileAnnotationPrx

# End of module omero.model

__name__ = 'omero'

# End of module omero
예제 #30
0
        def uncheckedCast(proxy, facet=None):
            return _M_jderobot.CMDVelPrx.ice_uncheckedCast(proxy, facet)

        uncheckedCast = staticmethod(uncheckedCast)

        def ice_staticId():
            return '::jderobot::CMDVel'

        ice_staticId = staticmethod(ice_staticId)

    _M_jderobot._t_CMDVelPrx = IcePy.defineProxy('::jderobot::CMDVel',
                                                 CMDVelPrx)

    _M_jderobot._t_CMDVel = IcePy.defineClass('::jderobot::CMDVel', CMDVel, -1,
                                              (), True, False, None, (), ())
    CMDVel._ice_type = _M_jderobot._t_CMDVel

    CMDVel._op_setCMDVelData = IcePy.Operation(
        'setCMDVelData', Ice.OperationMode.Normal, Ice.OperationMode.Normal,
        False, None, (), (((), _M_jderobot._t_CMDVelData, False, 0), ), (),
        ((), IcePy._t_int, False, 0), ())

    _M_jderobot.CMDVel = CMDVel
    del CMDVel

    _M_jderobot.CMDVelPrx = CMDVelPrx
    del CMDVelPrx

# End of module jderobot