/usr/lib/python2.7/dist-packages/Ice/EndpointTypes_ice.py is in python-zeroc-ice 3.7.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | # -*- coding: utf-8 -*-
# **********************************************************************
#
# Copyright (c) 2003-2017 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.
#
# **********************************************************************
#
# Ice version 3.7.0
#
# <auto-generated>
#
# Generated from file `EndpointTypes.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#
from sys import version_info as _version_info_
import Ice, IcePy
# Start of module Ice
_M_Ice = Ice.openModule('Ice')
__name__ = 'Ice'
if 'EndpointSelectionType' not in _M_Ice.__dict__:
_M_Ice.EndpointSelectionType = Ice.createTempClass()
class EndpointSelectionType(Ice.EnumBase):
"""
Determines the order in which the Ice run time uses the endpoints
in a proxy when establishing a connection.
Enumerators:
Random -- Random causes the endpoints to be arranged in a random order.
Ordered -- Ordered forces the Ice run time to use the endpoints in the
order they appeared in the proxy.
"""
def __init__(self, _n, _v):
Ice.EnumBase.__init__(self, _n, _v)
def valueOf(self, _n):
if _n in self._enumerators:
return self._enumerators[_n]
return None
valueOf = classmethod(valueOf)
EndpointSelectionType.Random = EndpointSelectionType("Random", 0)
EndpointSelectionType.Ordered = EndpointSelectionType("Ordered", 1)
EndpointSelectionType._enumerators = { 0:EndpointSelectionType.Random, 1:EndpointSelectionType.Ordered }
_M_Ice._t_EndpointSelectionType = IcePy.defineEnum('::Ice::EndpointSelectionType', EndpointSelectionType, (), EndpointSelectionType._enumerators)
_M_Ice.EndpointSelectionType = EndpointSelectionType
del EndpointSelectionType
# End of module Ice
|