zeroc-ice 3.7.11__cp314-cp314-win_amd64.whl → 3.8.0.post1__cp314-cp314-win_amd64.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.
- Glacier2/CannotCreateSessionException.py +40 -0
- Glacier2/IdentitySet.py +293 -0
- Glacier2/IdentitySet_forward.py +10 -0
- Glacier2/PermissionDeniedException.py +40 -0
- Glacier2/PermissionsVerifier.py +189 -0
- Glacier2/PermissionsVerifier_forward.py +10 -0
- Glacier2/Router.py +661 -0
- Glacier2/Router_forward.py +10 -0
- Glacier2/SSLInfo.py +62 -0
- Glacier2/SSLPermissionsVerifier.py +186 -0
- Glacier2/SSLPermissionsVerifier_forward.py +10 -0
- Glacier2/SSLSessionManager.py +192 -0
- Glacier2/SSLSessionManager_forward.py +10 -0
- Glacier2/Session.py +161 -0
- Glacier2/SessionControl.py +407 -0
- Glacier2/SessionControl_forward.py +10 -0
- Glacier2/SessionManager.py +189 -0
- Glacier2/SessionManager_forward.py +10 -0
- Glacier2/SessionNotExistException.py +39 -0
- Glacier2/Session_forward.py +10 -0
- Glacier2/StringSet.py +289 -0
- Glacier2/StringSet_forward.py +10 -0
- Glacier2/__init__.py +78 -225
- Glacier2/py.typed +0 -0
- Ice/AdapterAlreadyActiveException.py +35 -0
- Ice/AdapterNotFoundException.py +35 -0
- Ice/BTEndpointType.py +18 -0
- Ice/BTSEndpointType.py +18 -0
- Ice/Blobject.py +42 -0
- Ice/BoolSeq.py +10 -0
- Ice/Builtin.py +11 -0
- Ice/ByteSeq.py +10 -0
- Ice/Communicator.py +633 -0
- Ice/CompressBatch.py +25 -0
- Ice/Context.py +10 -0
- Ice/Current.py +47 -0
- Ice/Dispatch.py +122 -0
- Ice/DoubleSeq.py +10 -0
- Ice/EncodingVersion.py +41 -0
- Ice/EndpointSelectionType.py +22 -0
- Ice/EventLoopAdapter.py +52 -0
- Ice/Exception.py +27 -0
- Ice/FloatSeq.py +10 -0
- Ice/FormatType.py +22 -0
- Ice/Future.py +375 -0
- Ice/IcePyTypes.py +49 -0
- Ice/Identity.py +40 -0
- Ice/IdentitySeq.py +12 -0
- Ice/ImplicitContext.py +119 -0
- Ice/InitializationData.py +65 -0
- Ice/IntSeq.py +10 -0
- Ice/InvalidReplicaGroupIdException.py +34 -0
- Ice/InvocationFuture.py +155 -0
- Ice/LocalException.py +12 -0
- Ice/LocalExceptions.py +534 -0
- Ice/Locator.py +332 -0
- Ice/LocatorFinder.py +163 -0
- Ice/LocatorFinder_forward.py +10 -0
- Ice/LocatorRegistry.py +387 -0
- Ice/LocatorRegistry_forward.py +10 -0
- Ice/Locator_forward.py +10 -0
- Ice/LogMessage.py +51 -0
- Ice/LogMessageSeq.py +12 -0
- Ice/LogMessageType.py +51 -0
- Ice/LogMessageTypeSeq.py +12 -0
- Ice/Logger.py +100 -0
- Ice/LoggerAdmin.py +380 -0
- Ice/LoggerAdmin_forward.py +10 -0
- Ice/LongSeq.py +10 -0
- Ice/Object.py +150 -0
- Ice/ObjectAdapter.py +621 -0
- Ice/ObjectNotFoundException.py +35 -0
- Ice/ObjectProxySeq.py +12 -0
- Ice/ObjectPrx.py +934 -0
- Ice/ObjectPrx_forward.py +7 -0
- Ice/ObjectSeq.py +12 -0
- Ice/OperationMode.py +52 -0
- Ice/Process.py +217 -0
- Ice/ProcessLogger.py +41 -0
- Ice/Process_forward.py +10 -0
- Ice/Properties.py +371 -0
- Ice/PropertiesAdmin.py +302 -0
- Ice/PropertiesAdmin_forward.py +10 -0
- Ice/PropertyDict.py +10 -0
- Ice/ProtocolVersion.py +39 -0
- Ice/Proxy.py +126 -0
- Ice/RemoteLogger.py +238 -0
- Ice/RemoteLoggerAlreadyAttachedException.py +34 -0
- Ice/RemoteLogger_forward.py +10 -0
- Ice/ReplyStatus.py +91 -0
- Ice/Router.py +322 -0
- Ice/RouterFinder.py +163 -0
- Ice/RouterFinder_forward.py +10 -0
- Ice/Router_forward.py +10 -0
- Ice/SSLEndpointType.py +18 -0
- Ice/ServantLocator.py +88 -0
- Ice/ServerNotFoundException.py +34 -0
- Ice/ShortSeq.py +10 -0
- Ice/SliceChecksumDict.py +10 -0
- Ice/SliceInfo.py +22 -0
- Ice/SlicedData.py +14 -0
- Ice/StringSeq.py +10 -0
- Ice/TCPEndpointType.py +18 -0
- Ice/ToStringMode.py +34 -0
- Ice/UDPEndpointType.py +18 -0
- Ice/URIEndpointType.py +18 -0
- Ice/UnknownSlicedValue.py +39 -0
- Ice/UserException.py +18 -0
- Ice/Util.py +171 -0
- Ice/Value.py +59 -0
- Ice/Value_forward.py +7 -0
- Ice/WSEndpointType.py +18 -0
- Ice/WSSEndpointType.py +18 -0
- Ice/_ArrayUtil.py +51 -0
- Ice/_LoggerI.py +32 -0
- Ice/__init__.py +358 -1997
- Ice/asyncio/EventLoopAdapter.py +31 -0
- Ice/asyncio/__init__.py +5 -0
- Ice/iAPEndpointType.py +18 -0
- Ice/iAPSEndpointType.py +18 -0
- Ice/py.typed +0 -0
- IceBox/AlreadyStartedException.py +34 -0
- IceBox/AlreadyStoppedException.py +34 -0
- IceBox/NoSuchServiceException.py +34 -0
- IceBox/ServiceManager.py +447 -0
- IceBox/ServiceManager_forward.py +10 -0
- IceBox/ServiceObserver.py +229 -0
- IceBox/ServiceObserver_forward.py +10 -0
- IceBox/__init__.py +30 -7
- IceBox/py.typed +0 -0
- IceGrid/AccessDeniedException.py +40 -0
- IceGrid/AdapterDescriptor.py +77 -0
- IceGrid/AdapterDescriptorSeq.py +12 -0
- IceGrid/AdapterDynamicInfo.py +46 -0
- IceGrid/AdapterDynamicInfoSeq.py +12 -0
- IceGrid/AdapterInfo.py +50 -0
- IceGrid/AdapterInfoSeq.py +12 -0
- IceGrid/AdapterNotExistException.py +40 -0
- IceGrid/AdapterObserver.py +338 -0
- IceGrid/AdapterObserver_forward.py +10 -0
- IceGrid/AdaptiveLoadBalancingPolicy.py +48 -0
- IceGrid/AdaptiveLoadBalancingPolicy_forward.py +10 -0
- IceGrid/Admin.py +3662 -0
- IceGrid/AdminSession.py +1406 -0
- IceGrid/AdminSession_forward.py +10 -0
- IceGrid/Admin_forward.py +10 -0
- IceGrid/AllocationException.py +40 -0
- IceGrid/AllocationTimeoutException.py +35 -0
- IceGrid/ApplicationDescriptor.py +89 -0
- IceGrid/ApplicationDescriptorSeq.py +12 -0
- IceGrid/ApplicationInfo.py +63 -0
- IceGrid/ApplicationInfoSeq.py +12 -0
- IceGrid/ApplicationNotExistException.py +40 -0
- IceGrid/ApplicationObserver.py +374 -0
- IceGrid/ApplicationObserver_forward.py +10 -0
- IceGrid/ApplicationUpdateDescriptor.py +118 -0
- IceGrid/ApplicationUpdateInfo.py +51 -0
- IceGrid/BadSignalException.py +40 -0
- IceGrid/BoxedDistributionDescriptor.py +49 -0
- IceGrid/BoxedDistributionDescriptor_forward.py +10 -0
- IceGrid/BoxedString.py +45 -0
- IceGrid/BoxedString_forward.py +10 -0
- IceGrid/CommunicatorDescriptor.py +79 -0
- IceGrid/CommunicatorDescriptor_forward.py +10 -0
- IceGrid/DbEnvDescriptor.py +55 -0
- IceGrid/DbEnvDescriptorSeq.py +12 -0
- IceGrid/DeploymentException.py +40 -0
- IceGrid/DistributionDescriptor.py +42 -0
- IceGrid/FileIterator.py +246 -0
- IceGrid/FileIterator_forward.py +10 -0
- IceGrid/FileNotAvailableException.py +49 -0
- IceGrid/FileParser.py +182 -0
- IceGrid/FileParser_forward.py +10 -0
- IceGrid/IceBoxDescriptor.py +55 -0
- IceGrid/IceBoxDescriptor_forward.py +10 -0
- IceGrid/LoadBalancingPolicy.py +45 -0
- IceGrid/LoadBalancingPolicy_forward.py +10 -0
- IceGrid/LoadInfo.py +43 -0
- IceGrid/LoadSample.py +45 -0
- IceGrid/Locator.py +232 -0
- IceGrid/Locator_forward.py +10 -0
- IceGrid/NodeDescriptor.py +71 -0
- IceGrid/NodeDescriptorDict.py +12 -0
- IceGrid/NodeDynamicInfo.py +57 -0
- IceGrid/NodeDynamicInfoSeq.py +12 -0
- IceGrid/NodeInfo.py +64 -0
- IceGrid/NodeNotExistException.py +40 -0
- IceGrid/NodeObserver.py +424 -0
- IceGrid/NodeObserver_forward.py +10 -0
- IceGrid/NodeUnreachableException.py +46 -0
- IceGrid/NodeUpdateDescriptor.py +92 -0
- IceGrid/NodeUpdateDescriptorSeq.py +12 -0
- IceGrid/ObjectDescriptor.py +48 -0
- IceGrid/ObjectDescriptorSeq.py +12 -0
- IceGrid/ObjectExistsException.py +44 -0
- IceGrid/ObjectInfo.py +46 -0
- IceGrid/ObjectInfoSeq.py +12 -0
- IceGrid/ObjectNotRegisteredException.py +44 -0
- IceGrid/ObjectObserver.py +347 -0
- IceGrid/ObjectObserver_forward.py +10 -0
- IceGrid/ObserverAlreadyRegisteredException.py +49 -0
- IceGrid/OrderedLoadBalancingPolicy.py +41 -0
- IceGrid/OrderedLoadBalancingPolicy_forward.py +10 -0
- IceGrid/ParseException.py +40 -0
- IceGrid/PermissionDeniedException.py +40 -0
- IceGrid/PropertyDescriptor.py +39 -0
- IceGrid/PropertyDescriptorSeq.py +12 -0
- IceGrid/PropertySetDescriptor.py +49 -0
- IceGrid/PropertySetDescriptorDict.py +12 -0
- IceGrid/Query.py +451 -0
- IceGrid/Query_forward.py +10 -0
- IceGrid/RandomLoadBalancingPolicy.py +41 -0
- IceGrid/RandomLoadBalancingPolicy_forward.py +10 -0
- IceGrid/Registry.py +477 -0
- IceGrid/RegistryInfo.py +39 -0
- IceGrid/RegistryInfoSeq.py +12 -0
- IceGrid/RegistryNotExistException.py +40 -0
- IceGrid/RegistryObserver.py +282 -0
- IceGrid/RegistryObserver_forward.py +10 -0
- IceGrid/RegistryUnreachableException.py +46 -0
- IceGrid/Registry_forward.py +10 -0
- IceGrid/ReplicaGroupDescriptor.py +66 -0
- IceGrid/ReplicaGroupDescriptorSeq.py +12 -0
- IceGrid/RoundRobinLoadBalancingPolicy.py +41 -0
- IceGrid/RoundRobinLoadBalancingPolicy_forward.py +10 -0
- IceGrid/ServerDescriptor.py +107 -0
- IceGrid/ServerDescriptorSeq.py +12 -0
- IceGrid/ServerDescriptor_forward.py +10 -0
- IceGrid/ServerDynamicInfo.py +50 -0
- IceGrid/ServerDynamicInfoSeq.py +12 -0
- IceGrid/ServerInfo.py +62 -0
- IceGrid/ServerInstanceDescriptor.py +58 -0
- IceGrid/ServerInstanceDescriptorSeq.py +12 -0
- IceGrid/ServerNotExistException.py +40 -0
- IceGrid/ServerStartException.py +46 -0
- IceGrid/ServerState.py +70 -0
- IceGrid/ServerStopException.py +46 -0
- IceGrid/ServiceDescriptor.py +53 -0
- IceGrid/ServiceDescriptorSeq.py +12 -0
- IceGrid/ServiceDescriptor_forward.py +10 -0
- IceGrid/ServiceInstanceDescriptor.py +60 -0
- IceGrid/ServiceInstanceDescriptorSeq.py +12 -0
- IceGrid/Session.py +498 -0
- IceGrid/Session_forward.py +10 -0
- IceGrid/StringObjectProxyDict.py +12 -0
- IceGrid/StringStringDict.py +10 -0
- IceGrid/TemplateDescriptor.py +55 -0
- IceGrid/TemplateDescriptorDict.py +12 -0
- IceGrid/UserAccountMapper.py +178 -0
- IceGrid/UserAccountMapper_forward.py +10 -0
- IceGrid/UserAccountNotFoundException.py +34 -0
- IceGrid/__init__.py +372 -14
- IceGrid/py.typed +0 -0
- IceMX/ChildInvocationMetrics.py +56 -0
- IceMX/ChildInvocationMetrics_forward.py +10 -0
- IceMX/CollocatedMetrics.py +42 -0
- IceMX/CollocatedMetrics_forward.py +10 -0
- IceMX/ConnectionMetrics.py +53 -0
- IceMX/ConnectionMetrics_forward.py +10 -0
- IceMX/DispatchMetrics.py +57 -0
- IceMX/DispatchMetrics_forward.py +10 -0
- IceMX/InvocationMetrics.py +66 -0
- IceMX/InvocationMetrics_forward.py +10 -0
- IceMX/Metrics.py +66 -0
- IceMX/MetricsAdmin.py +586 -0
- IceMX/MetricsAdmin_forward.py +10 -0
- IceMX/MetricsFailures.py +42 -0
- IceMX/MetricsFailuresSeq.py +12 -0
- IceMX/MetricsMap.py +12 -0
- IceMX/MetricsView.py +12 -0
- IceMX/Metrics_forward.py +10 -0
- IceMX/RemoteMetrics.py +42 -0
- IceMX/RemoteMetrics_forward.py +10 -0
- IceMX/SessionMetrics.py +73 -0
- IceMX/SessionMetrics_forward.py +10 -0
- IceMX/StringIntDict.py +10 -0
- IceMX/SubscriberMetrics.py +57 -0
- IceMX/SubscriberMetrics_forward.py +10 -0
- IceMX/ThreadMetrics.py +59 -0
- IceMX/ThreadMetrics_forward.py +10 -0
- IceMX/TopicMetrics.py +53 -0
- IceMX/TopicMetrics_forward.py +10 -0
- IceMX/UnknownMetricsView.py +34 -0
- IceMX/__init__.py +72 -9
- IceMX/py.typed +0 -0
- IcePy-stubs/__init__.pyi +739 -0
- IcePy.cp314-win_amd64.pdb +0 -0
- IcePy.cp314-win_amd64.pyd +0 -0
- IceStorm/AlreadySubscribed.py +34 -0
- IceStorm/BadQoS.py +40 -0
- IceStorm/Finder.py +163 -0
- IceStorm/Finder_forward.py +10 -0
- IceStorm/LinkExists.py +40 -0
- IceStorm/LinkInfo.py +50 -0
- IceStorm/LinkInfoSeq.py +12 -0
- IceStorm/NoSuchLink.py +40 -0
- IceStorm/NoSuchTopic.py +40 -0
- IceStorm/QoS.py +10 -0
- IceStorm/Topic.py +825 -0
- IceStorm/TopicDict.py +12 -0
- IceStorm/TopicExists.py +40 -0
- IceStorm/TopicManager.py +394 -0
- IceStorm/TopicManager_forward.py +10 -0
- IceStorm/Topic_forward.py +10 -0
- IceStorm/__init__.py +58 -7
- IceStorm/py.typed +0 -0
- slice/DataStorm/SampleEvent.ice +29 -0
- slice/Glacier2/Metrics.ice +34 -75
- slice/Glacier2/PermissionsVerifier.ice +42 -98
- slice/Glacier2/Router.ice +80 -173
- slice/Glacier2/SSLInfo.ice +23 -40
- slice/Glacier2/Session.ice +120 -261
- slice/Ice/BuiltinSequences.ice +33 -38
- slice/Ice/Context.ice +24 -0
- slice/Ice/EndpointTypes.ice +35 -33
- slice/Ice/Identity.ice +24 -63
- slice/Ice/Locator.ice +61 -226
- slice/Ice/LocatorRegistry.ice +77 -0
- slice/Ice/Metrics.ice +189 -424
- slice/Ice/OperationMode.ice +38 -0
- slice/Ice/Process.ice +16 -52
- slice/Ice/PropertiesAdmin.ice +25 -75
- slice/Ice/PropertyDict.ice +23 -0
- slice/Ice/RemoteLogger.ice +113 -213
- slice/Ice/ReplyStatus.ice +65 -0
- slice/Ice/Router.ice +42 -91
- slice/Ice/SliceChecksumDict.ice +7 -25
- slice/Ice/Version.ice +31 -39
- slice/IceBox/ServiceManager.ice +79 -0
- slice/IceGrid/Admin.ice +942 -1918
- slice/IceGrid/Descriptor.ice +476 -1051
- slice/IceGrid/Exception.ice +86 -384
- slice/IceGrid/FileParser.ice +23 -59
- slice/IceGrid/Registry.ice +117 -256
- slice/IceGrid/Session.ice +46 -110
- slice/IceGrid/UserAccountMapper.ice +22 -57
- slice/IceStorm/IceStorm.ice +173 -401
- slice/IceStorm/Metrics.ice +28 -70
- slice2py.py +5 -6
- zeroc_ice-3.8.0.post1.dist-info/METADATA +106 -0
- zeroc_ice-3.8.0.post1.dist-info/RECORD +344 -0
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.post1.dist-info}/WHEEL +1 -1
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.post1.dist-info}/top_level.txt +1 -1
- Glacier2/Metrics_ice.py +0 -82
- Glacier2/PermissionsVerifierF_ice.py +0 -32
- Glacier2/PermissionsVerifier_ice.py +0 -284
- Glacier2/RouterF_ice.py +0 -28
- Glacier2/Router_ice.py +0 -618
- Glacier2/SSLInfo_ice.py +0 -179
- Glacier2/Session_ice.py +0 -1103
- Ice/BuiltinSequences_ice.py +0 -65
- Ice/CommunicatorF_ice.py +0 -27
- Ice/Communicator_ice.py +0 -469
- Ice/ConnectionF_ice.py +0 -33
- Ice/Connection_ice.py +0 -680
- Ice/Current_ice.py +0 -175
- Ice/EndpointF_ice.py +0 -45
- Ice/EndpointTypes_ice.py +0 -54
- Ice/Endpoint_ice.py +0 -304
- Ice/FacetMap_ice.py +0 -27
- Ice/Identity_ice.py +0 -133
- Ice/ImplicitContextF_ice.py +0 -27
- Ice/ImplicitContext_ice.py +0 -119
- Ice/InstrumentationF_ice.py +0 -38
- Ice/Instrumentation_ice.py +0 -566
- Ice/LocalException_ice.py +0 -1715
- Ice/LocatorF_ice.py +0 -32
- Ice/Locator_ice.py +0 -728
- Ice/LoggerF_ice.py +0 -27
- Ice/Logger_ice.py +0 -96
- Ice/Metrics_ice.py +0 -864
- Ice/ObjectAdapterF_ice.py +0 -27
- Ice/ObjectAdapter_ice.py +0 -461
- Ice/ObjectFactory_ice.py +0 -68
- Ice/PluginF_ice.py +0 -30
- Ice/Plugin_ice.py +0 -136
- Ice/ProcessF_ice.py +0 -28
- Ice/Process_ice.py +0 -175
- Ice/PropertiesAdmin_ice.py +0 -247
- Ice/PropertiesF_ice.py +0 -31
- Ice/Properties_ice.py +0 -199
- Ice/Py3/IceFuture.py +0 -52
- Ice/Py3/__init__.py +0 -3
- Ice/RemoteLogger_ice.py +0 -617
- Ice/RouterF_ice.py +0 -28
- Ice/Router_ice.py +0 -350
- Ice/ServantLocatorF_ice.py +0 -27
- Ice/ServantLocator_ice.py +0 -110
- Ice/SliceChecksumDict_ice.py +0 -29
- Ice/ValueFactory_ice.py +0 -125
- Ice/Version_ice.py +0 -217
- IceBox/IceBox_ice.py +0 -644
- IceGrid/Admin_ice.py +0 -6662
- IceGrid/Descriptor_ice.py +0 -1795
- IceGrid/Exception_ice.py +0 -592
- IceGrid/FileParser_ice.py +0 -171
- IceGrid/PluginFacade_ice.py +0 -288
- IceGrid/Registry_ice.py +0 -985
- IceGrid/Session_ice.py +0 -406
- IceGrid/UserAccountMapper_ice.py +0 -166
- IcePatch2/FileInfo_ice.py +0 -287
- IcePatch2/FileServer_ice.py +0 -555
- IcePatch2/__init__.py +0 -11
- IceStorm/IceStorm_ice.py +0 -1265
- IceStorm/Metrics_ice.py +0 -106
- slice/Glacier2/PermissionsVerifierF.ice +0 -30
- slice/Glacier2/RouterF.ice +0 -29
- slice/Ice/Communicator.ice +0 -676
- slice/Ice/CommunicatorF.ice +0 -31
- slice/Ice/Connection.ice +0 -516
- slice/Ice/ConnectionF.ice +0 -33
- slice/Ice/Current.ice +0 -170
- slice/Ice/Endpoint.ice +0 -291
- slice/Ice/EndpointF.ice +0 -43
- slice/Ice/FacetMap.ice +0 -36
- slice/Ice/ImplicitContext.ice +0 -119
- slice/Ice/ImplicitContextF.ice +0 -30
- slice/Ice/Instrumentation.ice +0 -509
- slice/Ice/InstrumentationF.ice +0 -38
- slice/Ice/LocalException.ice +0 -1040
- slice/Ice/LocatorF.ice +0 -32
- slice/Ice/Logger.ice +0 -99
- slice/Ice/LoggerF.ice +0 -31
- slice/Ice/ObjectAdapter.ice +0 -710
- slice/Ice/ObjectAdapterF.ice +0 -31
- slice/Ice/ObjectFactory.ice +0 -71
- slice/Ice/Plugin.ice +0 -131
- slice/Ice/PluginF.ice +0 -36
- slice/Ice/ProcessF.ice +0 -31
- slice/Ice/Properties.ice +0 -244
- slice/Ice/PropertiesF.ice +0 -32
- slice/Ice/RouterF.ice +0 -31
- slice/Ice/ServantLocator.ice +0 -136
- slice/Ice/ServantLocatorF.ice +0 -31
- slice/Ice/ValueFactory.ice +0 -133
- slice/IceBT/ConnectionInfo.ice +0 -59
- slice/IceBT/EndpointInfo.ice +0 -57
- slice/IceBT/Types.ice +0 -45
- slice/IceBox/IceBox.ice +0 -216
- slice/IceGrid/PluginFacade.ice +0 -329
- slice/IceIAP/ConnectionInfo.ice +0 -74
- slice/IceIAP/EndpointInfo.ice +0 -68
- slice/IcePatch2/FileInfo.ice +0 -85
- slice/IcePatch2/FileServer.ice +0 -191
- slice/IceSSL/ConnectionInfo.ice +0 -54
- slice/IceSSL/ConnectionInfoF.ice +0 -31
- slice/IceSSL/EndpointInfo.ice +0 -45
- zeroc_ice-3.7.11.dist-info/METADATA +0 -97
- zeroc_ice-3.7.11.dist-info/RECORD +0 -143
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.post1.dist-info}/entry_points.txt +0 -0
slice/IceGrid/Registry.ice
CHANGED
|
@@ -1,269 +1,130 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
|
-
//
|
|
1
|
+
// Copyright (c) ZeroC, Inc.
|
|
4
2
|
|
|
5
3
|
#pragma once
|
|
6
4
|
|
|
7
5
|
[["cpp:dll-export:ICEGRID_API"]]
|
|
8
6
|
[["cpp:doxygen:include:IceGrid/IceGrid.h"]]
|
|
9
7
|
[["cpp:header-ext:h"]]
|
|
10
|
-
[["cpp:include:IceGrid/Config.h"]]
|
|
11
|
-
|
|
12
|
-
[["ice-prefix"]]
|
|
13
|
-
|
|
14
|
-
[["js:module:ice"]]
|
|
15
|
-
[["js:cjs-module"]]
|
|
16
|
-
|
|
17
|
-
[["objc:dll-export:ICEGRID_API"]]
|
|
18
|
-
[["objc:header-dir:objc"]]
|
|
19
8
|
|
|
20
|
-
[["
|
|
9
|
+
[["cpp:include:IceGrid/Config.h"]]
|
|
21
10
|
|
|
22
|
-
|
|
23
|
-
#include <IceGrid/Session.ice>
|
|
24
|
-
#include <IceGrid/Admin.ice>
|
|
25
|
-
#include <Ice/Locator.ice>
|
|
11
|
+
[["js:module:@zeroc/ice"]]
|
|
26
12
|
|
|
27
|
-
#
|
|
28
|
-
|
|
29
|
-
#
|
|
13
|
+
#include "Admin.ice"
|
|
14
|
+
#include "Exception.ice"
|
|
15
|
+
#include "Ice/Locator.ice"
|
|
16
|
+
#include "Session.ice"
|
|
30
17
|
|
|
31
|
-
|
|
18
|
+
/// Deploy and manage Ice servers.
|
|
19
|
+
["java:identifier:com.zeroc.IceGrid"]
|
|
32
20
|
module IceGrid
|
|
33
21
|
{
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
*
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
*
|
|
141
|
-
|
|
142
|
-
**/
|
|
143
|
-
interface Registry
|
|
144
|
-
{
|
|
145
|
-
/**
|
|
146
|
-
*
|
|
147
|
-
* Create a client session.
|
|
148
|
-
*
|
|
149
|
-
* @return A proxy for the newly created session.
|
|
150
|
-
*
|
|
151
|
-
* @param userId The user id.
|
|
152
|
-
*
|
|
153
|
-
* @param password The password for the given user id.
|
|
154
|
-
*
|
|
155
|
-
* @throws PermissionDeniedException Raised if the password for
|
|
156
|
-
* the given user id is not correct, or if the user is not allowed
|
|
157
|
-
* access.
|
|
158
|
-
*
|
|
159
|
-
**/
|
|
160
|
-
Session* createSession(string userId, string password)
|
|
161
|
-
throws PermissionDeniedException;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* Create an administrative session.
|
|
166
|
-
*
|
|
167
|
-
* @return A proxy for the newly created session.
|
|
168
|
-
*
|
|
169
|
-
* @param userId The user id.
|
|
170
|
-
*
|
|
171
|
-
* @param password The password for the given user id.
|
|
172
|
-
*
|
|
173
|
-
* @throws PermissionDeniedException Raised if the password for
|
|
174
|
-
* the given user id is not correct, or if the user is not allowed
|
|
175
|
-
* access.
|
|
176
|
-
*
|
|
177
|
-
**/
|
|
178
|
-
AdminSession* createAdminSession(string userId, string password)
|
|
179
|
-
throws PermissionDeniedException;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
*
|
|
183
|
-
* Create a client session from a secure connection.
|
|
184
|
-
*
|
|
185
|
-
* @return A proxy for the newly created session.
|
|
186
|
-
*
|
|
187
|
-
* @throws PermissionDeniedException Raised if the password for
|
|
188
|
-
* the given user id is not correct, or if the user is not allowed
|
|
189
|
-
* access.
|
|
190
|
-
*
|
|
191
|
-
**/
|
|
192
|
-
Session* createSessionFromSecureConnection()
|
|
193
|
-
throws PermissionDeniedException;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
*
|
|
197
|
-
* Create an administrative session from a secure connection.
|
|
198
|
-
*
|
|
199
|
-
* @return A proxy for the newly created session.
|
|
200
|
-
*
|
|
201
|
-
* @throws PermissionDeniedException Raised if the password for
|
|
202
|
-
* the given user id is not correct, or if the user is not allowed
|
|
203
|
-
* access.
|
|
204
|
-
*
|
|
205
|
-
**/
|
|
206
|
-
AdminSession* createAdminSessionFromSecureConnection()
|
|
207
|
-
throws PermissionDeniedException;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
*
|
|
211
|
-
* Get the session timeout. If a client or administrative client
|
|
212
|
-
* doesn't call the session keepAlive method in the time interval
|
|
213
|
-
* defined by this timeout, IceGrid might reap the session.
|
|
214
|
-
*
|
|
215
|
-
* @see Session#keepAlive
|
|
216
|
-
* @see AdminSession#keepAlive
|
|
217
|
-
*
|
|
218
|
-
* @return The timeout (in seconds).
|
|
219
|
-
*
|
|
220
|
-
**/
|
|
221
|
-
["nonmutating", "cpp:const"] idempotent int getSessionTimeout();
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
*
|
|
225
|
-
* Get the value of the ACM timeout. Clients supporting ACM
|
|
226
|
-
* connection heartbeats can enable them instead of explicitly
|
|
227
|
-
* sending keep alives requests.
|
|
228
|
-
*
|
|
229
|
-
* NOTE: This method is only available since Ice 3.6.
|
|
230
|
-
*
|
|
231
|
-
* @return The timeout (in seconds).
|
|
232
|
-
*
|
|
233
|
-
**/
|
|
234
|
-
["nonmutating", "cpp:const"] idempotent int getACMTimeout();
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
* The IceGrid locator interface provides access to the {@link Query}
|
|
240
|
-
* and {@link Registry} object of the IceGrid registry.
|
|
241
|
-
*
|
|
242
|
-
* @see Query
|
|
243
|
-
* @see Registry
|
|
244
|
-
*
|
|
245
|
-
**/
|
|
246
|
-
interface Locator extends Ice::Locator
|
|
247
|
-
{
|
|
248
|
-
/**
|
|
249
|
-
*
|
|
250
|
-
* Get the proxy of the registry object hosted by this IceGrid
|
|
251
|
-
* registry.
|
|
252
|
-
*
|
|
253
|
-
* @return The proxy of the registry object.
|
|
254
|
-
*
|
|
255
|
-
**/
|
|
256
|
-
["cpp:const"] idempotent Registry* getLocalRegistry();
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
*
|
|
260
|
-
* Get the proxy of the query object hosted by this IceGrid
|
|
261
|
-
* registry.
|
|
262
|
-
*
|
|
263
|
-
* @return The proxy of the query object.
|
|
264
|
-
*
|
|
265
|
-
**/
|
|
266
|
-
["cpp:const"] idempotent Query* getLocalQuery();
|
|
267
|
-
}
|
|
268
|
-
|
|
22
|
+
/// Determines which load sampling interval to use.
|
|
23
|
+
enum LoadSample
|
|
24
|
+
{
|
|
25
|
+
/// Sample every minute.
|
|
26
|
+
["swift:identifier:loadSample1"]
|
|
27
|
+
LoadSample1,
|
|
28
|
+
|
|
29
|
+
/// Sample every five minutes.
|
|
30
|
+
["swift:identifier:loadSample5"]
|
|
31
|
+
LoadSample5,
|
|
32
|
+
|
|
33
|
+
/// Sample every fifteen minutes.
|
|
34
|
+
["swift:identifier:loadSample15"]
|
|
35
|
+
LoadSample15
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/// Finds well-known Ice objects registered with the IceGrid registry.
|
|
39
|
+
interface Query
|
|
40
|
+
{
|
|
41
|
+
/// Finds a well-known object by identity.
|
|
42
|
+
/// @param id The identity.
|
|
43
|
+
/// @return A proxy to the well-known object, or null if no such object is registered.
|
|
44
|
+
["cpp:const"]
|
|
45
|
+
idempotent Object* findObjectById(Ice::Identity id);
|
|
46
|
+
|
|
47
|
+
/// Finds a well-known object by type. If there are several objects registered for the given type, the object is
|
|
48
|
+
/// randomly selected.
|
|
49
|
+
/// @param type The object type.
|
|
50
|
+
/// @return A proxy to a well-known object with the specified type, or null if no such object is registered.
|
|
51
|
+
["cpp:const"]
|
|
52
|
+
idempotent Object* findObjectByType(string type);
|
|
53
|
+
|
|
54
|
+
/// Finds a well-known object by type on the least-loaded node. If the registry does not know which node hosts
|
|
55
|
+
/// the object (for example, because the object was registered with a direct proxy), the registry assumes the
|
|
56
|
+
/// object is hosted on a node that has a load average of 1.0.
|
|
57
|
+
/// @param type The object type.
|
|
58
|
+
/// @param sample The sampling interval.
|
|
59
|
+
/// @return A proxy to the well-known object, or null if no such object is registered.
|
|
60
|
+
["cpp:const"]
|
|
61
|
+
idempotent Object* findObjectByTypeOnLeastLoadedNode(string type, LoadSample sample);
|
|
62
|
+
|
|
63
|
+
/// Finds all the well-known objects with the given type.
|
|
64
|
+
/// @param type The object type.
|
|
65
|
+
/// @return A list of proxies to the well-known objects with the specified type. Can be empty.
|
|
66
|
+
["cpp:const"]
|
|
67
|
+
idempotent Ice::ObjectProxySeq findAllObjectsByType(string type);
|
|
68
|
+
|
|
69
|
+
/// Finds all the replicas of a well-known object.
|
|
70
|
+
/// @param proxy A proxy that identifies the well-known object.
|
|
71
|
+
/// @return A list of proxies to the replicas of the well-known object specified by @p proxy. Can be empty.
|
|
72
|
+
["cpp:const"]
|
|
73
|
+
idempotent Ice::ObjectProxySeq findAllReplicas(Object* proxy);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/// Represents the main entry point into the IceGrid registry service. It provides operations to create sessions
|
|
77
|
+
/// with the registry.
|
|
78
|
+
interface Registry
|
|
79
|
+
{
|
|
80
|
+
/// Creates a client session.
|
|
81
|
+
/// @param userId The user ID.
|
|
82
|
+
/// @param password The password for the given user.
|
|
83
|
+
/// @return A proxy to the newly created session. This proxy is never null.
|
|
84
|
+
/// @throws PermissionDeniedException Thrown when authentication or authorization fails.
|
|
85
|
+
Session* createSession(string userId, string password)
|
|
86
|
+
throws PermissionDeniedException;
|
|
87
|
+
|
|
88
|
+
/// Creates an administrative session.
|
|
89
|
+
/// @param userId The user ID.
|
|
90
|
+
/// @param password The password for the given user.
|
|
91
|
+
/// @return A proxy to the newly created session. This proxy is never null.
|
|
92
|
+
/// @throws PermissionDeniedException Thrown when authentication or authorization fails.
|
|
93
|
+
AdminSession* createAdminSession(string userId, string password)
|
|
94
|
+
throws PermissionDeniedException;
|
|
95
|
+
|
|
96
|
+
/// Creates a client session from a secure connection.
|
|
97
|
+
/// @return A proxy to the newly created session. This proxy is never null.
|
|
98
|
+
/// @throws PermissionDeniedException Thrown when authentication or authorization fails.
|
|
99
|
+
Session* createSessionFromSecureConnection()
|
|
100
|
+
throws PermissionDeniedException;
|
|
101
|
+
|
|
102
|
+
/// Creates an administrative session from a secure connection.
|
|
103
|
+
/// @return A proxy to the newly created session. This proxy is never null.
|
|
104
|
+
/// @throws PermissionDeniedException Thrown when authentication or authorization fails.
|
|
105
|
+
AdminSession* createAdminSessionFromSecureConnection()
|
|
106
|
+
throws PermissionDeniedException;
|
|
107
|
+
|
|
108
|
+
/// Gets the session timeout. An Ice 3.7 or earlier client can use this value to determine how often it needs to
|
|
109
|
+
/// send heartbeats (using ACM) or call {@link Session#keepAlive} (resp. {@link AdminSession#keepAlive}) to keep
|
|
110
|
+
/// a session alive in the IceGrid registry.
|
|
111
|
+
/// @return The session timeout (in seconds).
|
|
112
|
+
["cpp:const"]
|
|
113
|
+
["deprecated"]
|
|
114
|
+
idempotent int getSessionTimeout();
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/// Provides access to the {@link Query} and {@link Registry} objects implemented by the IceGrid registry.
|
|
118
|
+
interface Locator extends Ice::Locator
|
|
119
|
+
{
|
|
120
|
+
/// Gets a proxy to the registry object hosted by this IceGrid registry.
|
|
121
|
+
/// @return A proxy to the registry object. This proxy is never null.
|
|
122
|
+
["cpp:const"]
|
|
123
|
+
idempotent Registry* getLocalRegistry();
|
|
124
|
+
|
|
125
|
+
/// Gets a proxy to the query object hosted by this IceGrid registry.
|
|
126
|
+
/// @return A proxy to the query object. This proxy is never null.
|
|
127
|
+
["cpp:const"]
|
|
128
|
+
idempotent Query* getLocalQuery();
|
|
129
|
+
}
|
|
269
130
|
}
|
slice/IceGrid/Session.ice
CHANGED
|
@@ -1,128 +1,64 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
|
-
//
|
|
1
|
+
// Copyright (c) ZeroC, Inc.
|
|
4
2
|
|
|
5
3
|
#pragma once
|
|
6
4
|
|
|
7
5
|
[["cpp:dll-export:ICEGRID_API"]]
|
|
8
6
|
[["cpp:doxygen:include:IceGrid/IceGrid.h"]]
|
|
9
7
|
[["cpp:header-ext:h"]]
|
|
10
|
-
[["cpp:include:IceGrid/Config.h"]]
|
|
11
|
-
|
|
12
|
-
[["ice-prefix"]]
|
|
13
|
-
|
|
14
|
-
[["js:module:ice"]]
|
|
15
|
-
[["js:cjs-module"]]
|
|
16
|
-
|
|
17
|
-
[["objc:dll-export:ICEGRID_API"]]
|
|
18
|
-
[["objc:header-dir:objc"]]
|
|
19
8
|
|
|
20
|
-
[["
|
|
9
|
+
[["cpp:include:IceGrid/Config.h"]]
|
|
21
10
|
|
|
22
|
-
|
|
23
|
-
#include <IceGrid/Exception.ice>
|
|
11
|
+
[["js:module:@zeroc/ice"]]
|
|
24
12
|
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
#endif
|
|
13
|
+
#include "Exception.ice"
|
|
14
|
+
#include "Glacier2/Session.ice"
|
|
28
15
|
|
|
29
|
-
["
|
|
16
|
+
["java:identifier:com.zeroc.IceGrid"]
|
|
30
17
|
module IceGrid
|
|
31
18
|
{
|
|
19
|
+
interface Registry; // For doc-comments.
|
|
32
20
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* @see Registry
|
|
41
|
-
*
|
|
42
|
-
**/
|
|
43
|
-
interface Session extends Glacier2::Session
|
|
44
|
-
{
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* Keep the session alive. Clients should call this operation
|
|
48
|
-
* regularly to prevent the server from reaping the session.
|
|
49
|
-
*
|
|
50
|
-
* @see Registry#getSessionTimeout
|
|
51
|
-
*
|
|
52
|
-
**/
|
|
53
|
-
idempotent void keepAlive();
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* Allocate an object. Depending on the allocation timeout, this
|
|
58
|
-
* operation might hang until the object is available or until the
|
|
59
|
-
* timeout is reached.
|
|
60
|
-
*
|
|
61
|
-
* @param id The identity of the object to allocate.
|
|
62
|
-
*
|
|
63
|
-
* @return The proxy of the allocated object.
|
|
64
|
-
*
|
|
65
|
-
* @throws ObjectNotRegisteredException Raised if the object with
|
|
66
|
-
* the given identity is not registered with the registry.
|
|
67
|
-
*
|
|
68
|
-
* @throws AllocationException Raised if the object can't be
|
|
69
|
-
* allocated.
|
|
70
|
-
*
|
|
71
|
-
* @see #setAllocationTimeout
|
|
72
|
-
* @see #releaseObject
|
|
73
|
-
*
|
|
74
|
-
**/
|
|
75
|
-
["amd"] Object* allocateObjectById(Ice::Identity id)
|
|
76
|
-
throws ObjectNotRegisteredException, AllocationException;
|
|
21
|
+
/// Represents a session object used by IceGrid clients to allocate and release objects. Client sessions are created
|
|
22
|
+
/// either via the {@link Registry} object or via the registry client {@link Glacier2::SessionManager} object.
|
|
23
|
+
interface Session extends Glacier2::Session
|
|
24
|
+
{
|
|
25
|
+
/// Keeps the session alive.
|
|
26
|
+
["deprecated:As of Ice 3.8, there is no need to call this operation, and its implementation does nothing."]
|
|
27
|
+
idempotent void keepAlive();
|
|
77
28
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
* @throws AllocationException Raised if the object could not be allocated.
|
|
89
|
-
*
|
|
90
|
-
* @see #setAllocationTimeout
|
|
91
|
-
* @see #releaseObject
|
|
92
|
-
*
|
|
93
|
-
**/
|
|
94
|
-
["amd"] Object* allocateObjectByType(string type)
|
|
95
|
-
throws AllocationException;
|
|
29
|
+
/// Allocates an object.
|
|
30
|
+
/// @param id The identity of the object to allocate.
|
|
31
|
+
/// @return A proxy to the allocated object. This proxy is never null.
|
|
32
|
+
/// @throws ObjectNotRegisteredException Thrown when an object with the given identity is not registered with
|
|
33
|
+
/// the registry.
|
|
34
|
+
/// @throws AllocationException Thrown when the allocation fails.
|
|
35
|
+
/// @see #setAllocationTimeout
|
|
36
|
+
/// @see #releaseObject
|
|
37
|
+
Object* allocateObjectById(Ice::Identity id)
|
|
38
|
+
throws ObjectNotRegisteredException, AllocationException;
|
|
96
39
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
* the given identity is not registered with the registry.
|
|
106
|
-
*
|
|
107
|
-
* @throws AllocationException Raised if the given object can't be
|
|
108
|
-
* released. This might happen if the object isn't allocatable or
|
|
109
|
-
* isn't allocated by the session.
|
|
110
|
-
*
|
|
111
|
-
**/
|
|
112
|
-
void releaseObject(Ice::Identity id)
|
|
113
|
-
throws ObjectNotRegisteredException, AllocationException;
|
|
40
|
+
/// Allocates an object with the given type.
|
|
41
|
+
/// @param type The type of the object.
|
|
42
|
+
/// @return A proxy to the allocated object. This proxy is never null.
|
|
43
|
+
/// @throws AllocationException Thrown when the allocation fails.
|
|
44
|
+
/// @see #setAllocationTimeout
|
|
45
|
+
/// @see #releaseObject
|
|
46
|
+
Object* allocateObjectByType(string type)
|
|
47
|
+
throws AllocationException;
|
|
114
48
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
*
|
|
124
|
-
**/
|
|
125
|
-
idempotent void setAllocationTimeout(int timeout);
|
|
126
|
-
}
|
|
49
|
+
/// Releases an object that was allocated using {@link allocateObjectById} or {@link allocateObjectByType}.
|
|
50
|
+
/// @param id The identity of the object to release.
|
|
51
|
+
/// @throws ObjectNotRegisteredException Thrown when an object with the given identity is not registered with
|
|
52
|
+
/// the registry.
|
|
53
|
+
/// @throws AllocationException Thrown when the object can't be released. This can happen when the object is not
|
|
54
|
+
/// allocatable or is not allocated by this session.
|
|
55
|
+
void releaseObject(Ice::Identity id)
|
|
56
|
+
throws ObjectNotRegisteredException, AllocationException;
|
|
127
57
|
|
|
58
|
+
/// Sets the allocation timeout. When no object is immediately available for an allocation request, the
|
|
59
|
+
/// implementation of {@link allocateObjectById} and {@link allocateObjectByType} waits for the duration of
|
|
60
|
+
/// this @p timeout.
|
|
61
|
+
/// @param timeout The timeout in milliseconds.
|
|
62
|
+
idempotent void setAllocationTimeout(int timeout);
|
|
63
|
+
}
|
|
128
64
|
}
|
|
@@ -1,69 +1,34 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
|
-
//
|
|
1
|
+
// Copyright (c) ZeroC, Inc.
|
|
4
2
|
|
|
5
3
|
#pragma once
|
|
6
4
|
|
|
7
5
|
[["cpp:dll-export:ICEGRID_API"]]
|
|
8
6
|
[["cpp:doxygen:include:IceGrid/IceGrid.h"]]
|
|
9
7
|
[["cpp:header-ext:h"]]
|
|
10
|
-
[["cpp:include:IceGrid/Config.h"]]
|
|
11
|
-
|
|
12
|
-
[["ice-prefix"]]
|
|
13
|
-
|
|
14
|
-
[["js:module:ice"]]
|
|
15
|
-
[["js:cjs-module"]]
|
|
16
8
|
|
|
17
|
-
[["
|
|
18
|
-
[["objc:header-dir:objc"]]
|
|
19
|
-
|
|
20
|
-
[["python:pkgdir:IceGrid"]]
|
|
9
|
+
[["cpp:include:IceGrid/Config.h"]]
|
|
21
10
|
|
|
22
|
-
|
|
23
|
-
[["java:package:com.zeroc"]]
|
|
24
|
-
#endif
|
|
11
|
+
[["js:module:@zeroc/ice"]]
|
|
25
12
|
|
|
26
|
-
["
|
|
13
|
+
["java:identifier:com.zeroc.IceGrid"]
|
|
27
14
|
module IceGrid
|
|
28
15
|
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* Get the name of the user account for the given user. This is
|
|
51
|
-
* used by IceGrid nodes to figure out the user account to use
|
|
52
|
-
* to run servers.
|
|
53
|
-
*
|
|
54
|
-
* @param user The value of the server descriptor's <code>user</code>
|
|
55
|
-
* attribute. If this attribute is not defined, and the server's
|
|
56
|
-
* activation mode is <code>session</code>, the default value of
|
|
57
|
-
* <code>user</code> is the session identifier.
|
|
58
|
-
*
|
|
59
|
-
* @return The user account name.
|
|
60
|
-
*
|
|
61
|
-
* @throws UserAccountNotFoundException Raised if no user account
|
|
62
|
-
* is found for the given user.
|
|
63
|
-
*
|
|
64
|
-
**/
|
|
65
|
-
string getUserAccount(string user)
|
|
66
|
-
throws UserAccountNotFoundException;
|
|
67
|
-
}
|
|
68
|
-
|
|
16
|
+
/// The exception that is thrown when a user account for a given session identifier can't be found.
|
|
17
|
+
exception UserAccountNotFoundException
|
|
18
|
+
{
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/// Maps user strings in server descriptors to actual user account names. You can configure the user account mapper
|
|
22
|
+
/// of an IceGrid node with the property `IceGrid.Node.UserAccountMapper`.
|
|
23
|
+
interface UserAccountMapper
|
|
24
|
+
{
|
|
25
|
+
/// Gets the name of the user account for the given user. This is used by IceGrid nodes to figure out the user
|
|
26
|
+
/// account to use to run servers.
|
|
27
|
+
/// @param user The value of the server descriptor's `user` attribute. When this attribute is not defined, and
|
|
28
|
+
/// the server's activation mode is `session`, the default value for `user` is the session identifier.
|
|
29
|
+
/// @return The user account name.
|
|
30
|
+
/// @throws UserAccountNotFoundException Thrown when no user account is found for the given user.
|
|
31
|
+
string getUserAccount(string user)
|
|
32
|
+
throws UserAccountNotFoundException;
|
|
33
|
+
}
|
|
69
34
|
}
|