/usr/lib/python3/dist-packages/Ice_EndpointTypes_ice.py is in python3-zeroc-ice 3.5.1-6.4ubuntu1.
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 | # **********************************************************************
#
# Copyright (c) 2003-2013 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.5.1
#
# <auto-generated>
#
# Generated from file `EndpointTypes.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#
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.'''
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
|