zeroc-ice 3.7.11__cp314-cp314-macosx_10_15_universal2.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. Glacier2/Metrics_ice.py +82 -0
  2. Glacier2/PermissionsVerifierF_ice.py +32 -0
  3. Glacier2/PermissionsVerifier_ice.py +284 -0
  4. Glacier2/RouterF_ice.py +28 -0
  5. Glacier2/Router_ice.py +618 -0
  6. Glacier2/SSLInfo_ice.py +179 -0
  7. Glacier2/Session_ice.py +1103 -0
  8. Glacier2/__init__.py +226 -0
  9. Ice/BuiltinSequences_ice.py +65 -0
  10. Ice/CommunicatorF_ice.py +27 -0
  11. Ice/Communicator_ice.py +469 -0
  12. Ice/ConnectionF_ice.py +33 -0
  13. Ice/Connection_ice.py +680 -0
  14. Ice/Current_ice.py +175 -0
  15. Ice/EndpointF_ice.py +45 -0
  16. Ice/EndpointTypes_ice.py +54 -0
  17. Ice/Endpoint_ice.py +304 -0
  18. Ice/FacetMap_ice.py +27 -0
  19. Ice/Identity_ice.py +133 -0
  20. Ice/ImplicitContextF_ice.py +27 -0
  21. Ice/ImplicitContext_ice.py +119 -0
  22. Ice/InstrumentationF_ice.py +38 -0
  23. Ice/Instrumentation_ice.py +566 -0
  24. Ice/LocalException_ice.py +1715 -0
  25. Ice/LocatorF_ice.py +32 -0
  26. Ice/Locator_ice.py +728 -0
  27. Ice/LoggerF_ice.py +27 -0
  28. Ice/Logger_ice.py +96 -0
  29. Ice/Metrics_ice.py +864 -0
  30. Ice/ObjectAdapterF_ice.py +27 -0
  31. Ice/ObjectAdapter_ice.py +461 -0
  32. Ice/ObjectFactory_ice.py +68 -0
  33. Ice/PluginF_ice.py +30 -0
  34. Ice/Plugin_ice.py +136 -0
  35. Ice/ProcessF_ice.py +28 -0
  36. Ice/Process_ice.py +175 -0
  37. Ice/PropertiesAdmin_ice.py +247 -0
  38. Ice/PropertiesF_ice.py +31 -0
  39. Ice/Properties_ice.py +199 -0
  40. Ice/Py3/IceFuture.py +52 -0
  41. Ice/Py3/__init__.py +3 -0
  42. Ice/RemoteLogger_ice.py +617 -0
  43. Ice/RouterF_ice.py +28 -0
  44. Ice/Router_ice.py +350 -0
  45. Ice/ServantLocatorF_ice.py +27 -0
  46. Ice/ServantLocator_ice.py +110 -0
  47. Ice/SliceChecksumDict_ice.py +29 -0
  48. Ice/ValueFactory_ice.py +125 -0
  49. Ice/Version_ice.py +217 -0
  50. Ice/__init__.py +2008 -0
  51. IceBox/IceBox_ice.py +644 -0
  52. IceBox/__init__.py +10 -0
  53. IceGrid/Admin_ice.py +6662 -0
  54. IceGrid/Descriptor_ice.py +1795 -0
  55. IceGrid/Exception_ice.py +592 -0
  56. IceGrid/FileParser_ice.py +171 -0
  57. IceGrid/PluginFacade_ice.py +288 -0
  58. IceGrid/Registry_ice.py +985 -0
  59. IceGrid/Session_ice.py +406 -0
  60. IceGrid/UserAccountMapper_ice.py +166 -0
  61. IceGrid/__init__.py +17 -0
  62. IceMX/__init__.py +12 -0
  63. IcePatch2/FileInfo_ice.py +287 -0
  64. IcePatch2/FileServer_ice.py +555 -0
  65. IcePatch2/__init__.py +11 -0
  66. IcePy.cpython-314-darwin.so +0 -0
  67. IceStorm/IceStorm_ice.py +1265 -0
  68. IceStorm/Metrics_ice.py +106 -0
  69. IceStorm/__init__.py +10 -0
  70. slice/Glacier2/Metrics.ice +88 -0
  71. slice/Glacier2/PermissionsVerifier.ice +111 -0
  72. slice/Glacier2/PermissionsVerifierF.ice +30 -0
  73. slice/Glacier2/Router.ice +186 -0
  74. slice/Glacier2/RouterF.ice +29 -0
  75. slice/Glacier2/SSLInfo.ice +59 -0
  76. slice/Glacier2/Session.ice +274 -0
  77. slice/Ice/BuiltinSequences.ice +59 -0
  78. slice/Ice/Communicator.ice +676 -0
  79. slice/Ice/CommunicatorF.ice +31 -0
  80. slice/Ice/Connection.ice +516 -0
  81. slice/Ice/ConnectionF.ice +33 -0
  82. slice/Ice/Current.ice +170 -0
  83. slice/Ice/Endpoint.ice +291 -0
  84. slice/Ice/EndpointF.ice +43 -0
  85. slice/Ice/EndpointTypes.ice +48 -0
  86. slice/Ice/FacetMap.ice +36 -0
  87. slice/Ice/Identity.ice +75 -0
  88. slice/Ice/ImplicitContext.ice +119 -0
  89. slice/Ice/ImplicitContextF.ice +30 -0
  90. slice/Ice/Instrumentation.ice +509 -0
  91. slice/Ice/InstrumentationF.ice +38 -0
  92. slice/Ice/LocalException.ice +1040 -0
  93. slice/Ice/Locator.ice +239 -0
  94. slice/Ice/LocatorF.ice +32 -0
  95. slice/Ice/Logger.ice +99 -0
  96. slice/Ice/LoggerF.ice +31 -0
  97. slice/Ice/Metrics.ice +436 -0
  98. slice/Ice/ObjectAdapter.ice +710 -0
  99. slice/Ice/ObjectAdapterF.ice +31 -0
  100. slice/Ice/ObjectFactory.ice +71 -0
  101. slice/Ice/Plugin.ice +131 -0
  102. slice/Ice/PluginF.ice +36 -0
  103. slice/Ice/Process.ice +64 -0
  104. slice/Ice/ProcessF.ice +31 -0
  105. slice/Ice/Properties.ice +244 -0
  106. slice/Ice/PropertiesAdmin.ice +87 -0
  107. slice/Ice/PropertiesF.ice +32 -0
  108. slice/Ice/RemoteLogger.ice +226 -0
  109. slice/Ice/Router.ice +103 -0
  110. slice/Ice/RouterF.ice +31 -0
  111. slice/Ice/ServantLocator.ice +136 -0
  112. slice/Ice/ServantLocatorF.ice +31 -0
  113. slice/Ice/SliceChecksumDict.ice +36 -0
  114. slice/Ice/ValueFactory.ice +133 -0
  115. slice/Ice/Version.ice +51 -0
  116. slice/IceBT/ConnectionInfo.ice +59 -0
  117. slice/IceBT/EndpointInfo.ice +57 -0
  118. slice/IceBT/Types.ice +45 -0
  119. slice/IceBox/IceBox.ice +216 -0
  120. slice/IceGrid/Admin.ice +1957 -0
  121. slice/IceGrid/Descriptor.ice +1094 -0
  122. slice/IceGrid/Exception.ice +396 -0
  123. slice/IceGrid/FileParser.ice +72 -0
  124. slice/IceGrid/PluginFacade.ice +329 -0
  125. slice/IceGrid/Registry.ice +269 -0
  126. slice/IceGrid/Session.ice +128 -0
  127. slice/IceGrid/UserAccountMapper.ice +69 -0
  128. slice/IceIAP/ConnectionInfo.ice +74 -0
  129. slice/IceIAP/EndpointInfo.ice +68 -0
  130. slice/IcePatch2/FileInfo.ice +85 -0
  131. slice/IcePatch2/FileServer.ice +191 -0
  132. slice/IceSSL/ConnectionInfo.ice +54 -0
  133. slice/IceSSL/ConnectionInfoF.ice +31 -0
  134. slice/IceSSL/EndpointInfo.ice +45 -0
  135. slice/IceStorm/IceStorm.ice +414 -0
  136. slice/IceStorm/Metrics.ice +83 -0
  137. slice2py.py +21 -0
  138. zeroc_ice-3.7.11.dist-info/METADATA +97 -0
  139. zeroc_ice-3.7.11.dist-info/RECORD +142 -0
  140. zeroc_ice-3.7.11.dist-info/WHEEL +5 -0
  141. zeroc_ice-3.7.11.dist-info/entry_points.txt +2 -0
  142. zeroc_ice-3.7.11.dist-info/top_level.txt +10 -0
slice/Ice/Locator.ice ADDED
@@ -0,0 +1,239 @@
1
+ //
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
3
+ //
4
+
5
+ #pragma once
6
+
7
+ [["cpp:dll-export:ICE_API"]]
8
+ [["cpp:doxygen:include:Ice/Ice.h"]]
9
+ [["cpp:header-ext:h"]]
10
+
11
+ [["ice-prefix"]]
12
+
13
+ [["js:module:ice"]]
14
+ [["js:cjs-module"]]
15
+
16
+ [["objc:dll-export:ICE_API"]]
17
+ [["objc:header-dir:objc"]]
18
+
19
+ [["python:pkgdir:Ice"]]
20
+
21
+ #include <Ice/Identity.ice>
22
+ #include <Ice/Process.ice>
23
+
24
+ #ifndef __SLICE2JAVA_COMPAT__
25
+ [["java:package:com.zeroc"]]
26
+ #endif
27
+
28
+ ["objc:prefix:ICE"]
29
+ module Ice
30
+ {
31
+
32
+ /**
33
+ *
34
+ * This exception is raised if an adapter cannot be found.
35
+ *
36
+ **/
37
+ exception AdapterNotFoundException
38
+ {
39
+ }
40
+
41
+ /**
42
+ *
43
+ * This exception is raised if the replica group provided by the
44
+ * server is invalid.
45
+ *
46
+ **/
47
+ exception InvalidReplicaGroupIdException
48
+ {
49
+ }
50
+
51
+ /**
52
+ *
53
+ * This exception is raised if a server tries to set endpoints for
54
+ * an adapter that is already active.
55
+ *
56
+ **/
57
+ exception AdapterAlreadyActiveException
58
+ {
59
+ }
60
+
61
+ /**
62
+ *
63
+ * This exception is raised if an object cannot be found.
64
+ *
65
+ **/
66
+ exception ObjectNotFoundException
67
+ {
68
+ }
69
+
70
+ /**
71
+ *
72
+ * This exception is raised if a server cannot be found.
73
+ *
74
+ **/
75
+ exception ServerNotFoundException
76
+ {
77
+ }
78
+
79
+ interface LocatorRegistry;
80
+
81
+ /**
82
+ *
83
+ * The Ice locator interface. This interface is used by clients to
84
+ * lookup adapters and objects. It is also used by servers to get the
85
+ * locator registry proxy.
86
+ *
87
+ * <p class="Note">The {@link Locator} interface is intended to be used by
88
+ * Ice internals and by locator implementations. Regular user code
89
+ * should not attempt to use any functionality of this interface
90
+ * directly.
91
+ *
92
+ **/
93
+ interface Locator
94
+ {
95
+ /**
96
+ *
97
+ * Find an object by identity and return a proxy that contains
98
+ * the adapter ID or endpoints which can be used to access the
99
+ * object.
100
+ *
101
+ * @param id The identity.
102
+ *
103
+ * @return The proxy, or null if the object is not active.
104
+ *
105
+ * @throws ObjectNotFoundException Raised if the object cannot
106
+ * be found.
107
+ *
108
+ **/
109
+ ["amd", "nonmutating", "cpp:const"] idempotent Object* findObjectById(Identity id)
110
+ throws ObjectNotFoundException;
111
+
112
+ /**
113
+ *
114
+ * Find an adapter by id and return a proxy that contains
115
+ * its endpoints.
116
+ *
117
+ * @param id The adapter id.
118
+ *
119
+ * @return The adapter proxy, or null if the adapter is not active.
120
+ *
121
+ * @throws AdapterNotFoundException Raised if the adapter cannot be
122
+ * found.
123
+ *
124
+ **/
125
+ ["amd", "nonmutating", "cpp:const"] idempotent Object* findAdapterById(string id)
126
+ throws AdapterNotFoundException;
127
+
128
+ /**
129
+ *
130
+ * Get the locator registry.
131
+ *
132
+ * @return The locator registry.
133
+ *
134
+ **/
135
+ ["nonmutating", "cpp:const"] idempotent LocatorRegistry* getRegistry();
136
+ }
137
+
138
+ /**
139
+ *
140
+ * The Ice locator registry interface. This interface is used by
141
+ * servers to register adapter endpoints with the locator.
142
+ *
143
+ * <p class="Note"> The {@link LocatorRegistry} interface is intended to be used
144
+ * by Ice internals and by locator implementations. Regular user
145
+ * code should not attempt to use any functionality of this interface
146
+ * directly.
147
+ *
148
+ **/
149
+ interface LocatorRegistry
150
+ {
151
+ /**
152
+ *
153
+ * Set the adapter endpoints with the locator registry.
154
+ *
155
+ * @param id The adapter id.
156
+ *
157
+ * @param proxy The adapter proxy (a dummy direct proxy created
158
+ * by the adapter). The direct proxy contains the adapter
159
+ * endpoints.
160
+ *
161
+ * @throws AdapterNotFoundException Raised if the adapter cannot
162
+ * be found, or if the locator only allows
163
+ * registered adapters to set their active proxy and the
164
+ * adapter is not registered with the locator.
165
+ *
166
+ * @throws AdapterAlreadyActiveException Raised if an adapter with the same
167
+ * id is already active.
168
+ *
169
+ **/
170
+ ["amd"] idempotent void setAdapterDirectProxy(string id, Object* proxy)
171
+ throws AdapterNotFoundException, AdapterAlreadyActiveException;
172
+
173
+ /**
174
+ *
175
+ * Set the adapter endpoints with the locator registry.
176
+ *
177
+ * @param adapterId The adapter id.
178
+ *
179
+ * @param replicaGroupId The replica group id.
180
+ *
181
+ * @param p The adapter proxy (a dummy direct proxy created
182
+ * by the adapter). The direct proxy contains the adapter
183
+ * endpoints.
184
+ *
185
+ * @throws AdapterNotFoundException Raised if the adapter cannot
186
+ * be found, or if the locator only allows registered adapters to
187
+ * set their active proxy and the adapter is not registered with
188
+ * the locator.
189
+ *
190
+ * @throws AdapterAlreadyActiveException Raised if an adapter with the same
191
+ * id is already active.
192
+ *
193
+ * @throws InvalidReplicaGroupIdException Raised if the given
194
+ * replica group doesn't match the one registered with the
195
+ * locator registry for this object adapter.
196
+ *
197
+ **/
198
+ ["amd"] idempotent void setReplicatedAdapterDirectProxy(string adapterId, string replicaGroupId, Object* p)
199
+ throws AdapterNotFoundException, AdapterAlreadyActiveException, InvalidReplicaGroupIdException;
200
+
201
+ /**
202
+ *
203
+ * Set the process proxy for a server.
204
+ *
205
+ * @param id The server id.
206
+ *
207
+ * @param proxy The process proxy.
208
+ *
209
+ * @throws ServerNotFoundException Raised if the server cannot
210
+ * be found.
211
+ *
212
+ **/
213
+ ["amd"] idempotent void setServerProcessProxy(string id, Process* proxy)
214
+ throws ServerNotFoundException;
215
+ }
216
+
217
+ /**
218
+ *
219
+ * This interface should be implemented by services implementing the
220
+ * Ice::Locator interface. It should be advertised through an Ice
221
+ * object with the identity `Ice/LocatorFinder'. This allows clients
222
+ * to retrieve the locator proxy with just the endpoint information of
223
+ * the service.
224
+ *
225
+ **/
226
+ interface LocatorFinder
227
+ {
228
+ /**
229
+ *
230
+ * Get the locator proxy implemented by the process hosting this
231
+ * finder object. The proxy might point to several replicas.
232
+ *
233
+ * @return The locator proxy.
234
+ *
235
+ **/
236
+ Locator* getLocator();
237
+ }
238
+
239
+ }
slice/Ice/LocatorF.ice ADDED
@@ -0,0 +1,32 @@
1
+ //
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
3
+ //
4
+
5
+ #pragma once
6
+
7
+ [["cpp:dll-export:ICE_API"]]
8
+ [["cpp:doxygen:include:Ice/Ice.h"]]
9
+ [["cpp:header-ext:h"]]
10
+
11
+ [["ice-prefix"]]
12
+
13
+ [["js:module:ice"]]
14
+ [["js:cjs-module"]]
15
+
16
+ [["objc:dll-export:ICE_API"]]
17
+ [["objc:header-dir:objc"]]
18
+
19
+ [["python:pkgdir:Ice"]]
20
+
21
+ #ifndef __SLICE2JAVA_COMPAT__
22
+ [["java:package:com.zeroc"]]
23
+ #endif
24
+
25
+ ["objc:prefix:ICE"]
26
+ module Ice
27
+ {
28
+
29
+ interface Locator;
30
+ interface LocatorRegistry;
31
+
32
+ }
slice/Ice/Logger.ice ADDED
@@ -0,0 +1,99 @@
1
+ //
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
3
+ //
4
+
5
+ #pragma once
6
+
7
+ [["cpp:dll-export:ICE_API"]]
8
+ [["cpp:doxygen:include:Ice/Ice.h"]]
9
+ [["cpp:header-ext:h"]]
10
+
11
+ [["ice-prefix"]]
12
+
13
+ [["js:module:ice"]]
14
+ [["js:cjs-module"]]
15
+
16
+ [["objc:dll-export:ICE_API"]]
17
+ [["objc:header-dir:objc"]]
18
+
19
+ [["python:pkgdir:Ice"]]
20
+
21
+ #ifndef __SLICE2JAVA_COMPAT__
22
+ [["java:package:com.zeroc"]]
23
+ #endif
24
+
25
+ ["objc:prefix:ICE"]
26
+ module Ice
27
+ {
28
+
29
+ /**
30
+ *
31
+ * The Ice message logger. Applications can provide their own logger
32
+ * by implementing this interface and installing it in a communicator.
33
+ *
34
+ **/
35
+ local interface Logger
36
+ {
37
+ /**
38
+ *
39
+ * Print a message. The message is printed literally, without
40
+ * any decorations such as executable name or time stamp.
41
+ *
42
+ * @param message The message to log.
43
+ **/
44
+ ["swift:noexcept"] void print(string message);
45
+
46
+ /**
47
+ *
48
+ * Log a trace message.
49
+ *
50
+ * @param category The trace category.
51
+ *
52
+ * @param message The trace message to log.
53
+ *
54
+ **/
55
+ ["swift:noexcept"] void trace(string category, string message);
56
+
57
+ /**
58
+ *
59
+ * Log a warning message.
60
+ *
61
+ * @param message The warning message to log.
62
+ *
63
+ * @see #error
64
+ *
65
+ **/
66
+ ["swift:noexcept"] void warning(string message);
67
+
68
+ /**
69
+ *
70
+ * Log an error message.
71
+ *
72
+ * @param message The error message to log.
73
+ *
74
+ * @see #warning
75
+ *
76
+ **/
77
+ ["swift:noexcept"] void error(string message);
78
+
79
+ /**
80
+ *
81
+ * Returns this logger's prefix.
82
+ *
83
+ * @return The prefix.
84
+ *
85
+ **/
86
+ ["swift:noexcept"] string getPrefix();
87
+
88
+ /**
89
+ *
90
+ * Returns a clone of the logger with a new prefix.
91
+ *
92
+ * @param prefix The new prefix for the logger.
93
+ * @return A logger instance.
94
+ *
95
+ */
96
+ ["swift:noexcept", "swift:nonnull"] Logger cloneWithPrefix(string prefix);
97
+ }
98
+
99
+ }
slice/Ice/LoggerF.ice ADDED
@@ -0,0 +1,31 @@
1
+ //
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
3
+ //
4
+
5
+ #pragma once
6
+
7
+ [["cpp:dll-export:ICE_API"]]
8
+ [["cpp:doxygen:include:Ice/Ice.h"]]
9
+ [["cpp:header-ext:h"]]
10
+
11
+ [["ice-prefix"]]
12
+
13
+ [["js:module:ice"]]
14
+ [["js:cjs-module"]]
15
+
16
+ [["objc:dll-export:ICE_API"]]
17
+ [["objc:header-dir:objc"]]
18
+
19
+ [["python:pkgdir:Ice"]]
20
+
21
+ #ifndef __SLICE2JAVA_COMPAT__
22
+ [["java:package:com.zeroc"]]
23
+ #endif
24
+
25
+ ["objc:prefix:ICE"]
26
+ module Ice
27
+ {
28
+
29
+ local interface Logger;
30
+
31
+ }