zeroc-ice 3.7.3 → 3.7.4
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.
- checksums.yaml +4 -4
- data/ext/Util.cpp +15 -3
- data/ext/Util.h +36 -0
- data/ext/ice/cpp/include/Ice/Initialize.h +1 -1
- data/ext/ice/cpp/include/Ice/Optional.h +1 -1
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +15 -0
- data/ext/ice/cpp/include/Ice/Proxy.h +31 -9
- data/ext/ice/cpp/include/IceUtil/Config.h +2 -2
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +4 -4
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Connection.h +13 -13
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Current.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +14 -14
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Identity.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +61 -61
- data/ext/ice/cpp/include/generated/Ice/Locator.h +9 -9
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Logger.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +18 -18
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Process.h +4 -4
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Properties.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +5 -5
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +7 -7
- data/ext/ice/cpp/include/generated/Ice/Router.h +6 -6
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Version.h +2 -2
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +5 -5
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +2 -2
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +3 -3
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Communicator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Connection.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +2 -2
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Identity.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Initialize.cpp +1 -1
- data/ext/ice/cpp/src/Ice/InputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +2 -2
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LocalException.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Locator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Logger.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Metrics.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Network.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Network.h +0 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Plugin.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PluginF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Process.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Properties.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +9 -0
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +2 -2
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +5 -2
- data/ext/ice/cpp/src/Ice/Router.cpp +2 -2
- data/ext/ice/cpp/src/Ice/RouterF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +2 -2
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +0 -0
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -0
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Version.cpp +2 -2
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +479 -6
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +4 -4
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +12 -1
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +0 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.cpp +0 -0
- data/ext/ice/cpp/src/IceUtil/Time.cpp +2 -2
- data/ext/ice/cpp/src/Slice/Parser.cpp +1 -1
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +12 -0
- data/ext/ice/cpp/src/Slice/Preprocessor.h +1 -1
- data/ice.gemspec +1 -1
- data/lib/Glacier2/Metrics.rb +1 -1
- data/lib/Glacier2/PermissionsVerifier.rb +1 -1
- data/lib/Glacier2/PermissionsVerifierF.rb +1 -1
- data/lib/Glacier2/Router.rb +1 -1
- data/lib/Glacier2/RouterF.rb +1 -1
- data/lib/Glacier2/SSLInfo.rb +1 -1
- data/lib/Glacier2/Session.rb +1 -1
- data/lib/Ice/BuiltinSequences.rb +1 -1
- data/lib/Ice/Communicator.rb +1 -1
- data/lib/Ice/CommunicatorF.rb +1 -1
- data/lib/Ice/Connection.rb +1 -1
- data/lib/Ice/ConnectionF.rb +1 -1
- data/lib/Ice/Current.rb +1 -1
- data/lib/Ice/Endpoint.rb +1 -1
- data/lib/Ice/EndpointF.rb +1 -1
- data/lib/Ice/EndpointTypes.rb +1 -1
- data/lib/Ice/FacetMap.rb +1 -1
- data/lib/Ice/Identity.rb +1 -1
- data/lib/Ice/ImplicitContext.rb +1 -1
- data/lib/Ice/ImplicitContextF.rb +1 -1
- data/lib/Ice/Instrumentation.rb +1 -1
- data/lib/Ice/InstrumentationF.rb +1 -1
- data/lib/Ice/LocalException.rb +1 -1
- data/lib/Ice/Locator.rb +1 -1
- data/lib/Ice/LocatorF.rb +1 -1
- data/lib/Ice/Logger.rb +1 -1
- data/lib/Ice/LoggerF.rb +1 -1
- data/lib/Ice/Metrics.rb +1 -1
- data/lib/Ice/ObjectAdapter.rb +1 -1
- data/lib/Ice/ObjectAdapterF.rb +1 -1
- data/lib/Ice/ObjectFactory.rb +1 -1
- data/lib/Ice/Plugin.rb +1 -1
- data/lib/Ice/PluginF.rb +1 -1
- data/lib/Ice/Process.rb +1 -1
- data/lib/Ice/ProcessF.rb +1 -1
- data/lib/Ice/Properties.rb +1 -1
- data/lib/Ice/PropertiesAdmin.rb +1 -1
- data/lib/Ice/PropertiesF.rb +1 -1
- data/lib/Ice/RemoteLogger.rb +1 -1
- data/lib/Ice/Router.rb +1 -1
- data/lib/Ice/RouterF.rb +1 -1
- data/lib/Ice/ServantLocator.rb +1 -1
- data/lib/Ice/ServantLocatorF.rb +1 -1
- data/lib/Ice/SliceChecksumDict.rb +1 -1
- data/lib/Ice/ValueFactory.rb +1 -1
- data/lib/Ice/Version.rb +1 -1
- data/lib/IceBox/IceBox.rb +1 -1
- data/lib/IceGrid/Admin.rb +1 -1
- data/lib/IceGrid/Descriptor.rb +1 -1
- data/lib/IceGrid/Exception.rb +1 -1
- data/lib/IceGrid/FileParser.rb +1 -1
- data/lib/IceGrid/PluginFacade.rb +1 -1
- data/lib/IceGrid/Registry.rb +1 -1
- data/lib/IceGrid/Session.rb +1 -1
- data/lib/IceGrid/UserAccountMapper.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +1 -1
- data/lib/IcePatch2/FileServer.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +1 -1
- data/lib/IceStorm/Metrics.rb +1 -1
- data/slice/Ice/Communicator.ice +1 -1
- data/slice/IceBox/IceBox.ice +17 -2
- data/slice/IceDiscovery/IceDiscovery.ice +56 -0
- metadata +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# if ICE_INT_VERSION % 100 >= 50
|
|
38
38
|
# error Beta header file detected
|
|
39
39
|
# endif
|
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
|
40
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
41
41
|
# error Ice patch level mismatch!
|
|
42
42
|
# endif
|
|
43
43
|
#endif
|
|
@@ -110,6 +110,15 @@ IceInternal::ProxyFactory::checkRetryAfterException(const LocalException& ex, co
|
|
|
110
110
|
ex.ice_throw();
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
//
|
|
114
|
+
// If it's a fixed proxy, retrying isn't useful as the proxy is tied to
|
|
115
|
+
// the connection and the request will fail with the exception.
|
|
116
|
+
//
|
|
117
|
+
if(dynamic_cast<const FixedReference*>(ref.get()))
|
|
118
|
+
{
|
|
119
|
+
ex.ice_throw();
|
|
120
|
+
}
|
|
121
|
+
|
|
113
122
|
const ObjectNotExistException* one = dynamic_cast<const ObjectNotExistException*>(&ex);
|
|
114
123
|
if(one)
|
|
115
124
|
{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
# if ICE_INT_VERSION % 100 >= 50
|
|
42
42
|
# error Beta header file detected
|
|
43
43
|
# endif
|
|
44
|
-
# if ICE_INT_VERSION % 100 <
|
|
44
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
45
45
|
# error Ice patch level mismatch!
|
|
46
46
|
# endif
|
|
47
47
|
#endif
|
|
@@ -144,11 +144,14 @@ IceInternal::RetryQueue::cancel(const RetryTaskPtr& task)
|
|
|
144
144
|
Lock sync(*this);
|
|
145
145
|
if(_requests.erase(task) > 0)
|
|
146
146
|
{
|
|
147
|
-
if(
|
|
147
|
+
if(_instance)
|
|
148
|
+
{
|
|
149
|
+
return _instance->timer()->cancel(task);
|
|
150
|
+
}
|
|
151
|
+
else if(_requests.empty())
|
|
148
152
|
{
|
|
149
153
|
notify(); // If we are destroying the queue, destroy is probably waiting on the queue to be empty.
|
|
150
154
|
}
|
|
151
|
-
return _instance->timer()->cancel(task);
|
|
152
155
|
}
|
|
153
156
|
return false;
|
|
154
157
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
# if ICE_INT_VERSION % 100 >= 50
|
|
41
41
|
# error Beta header file detected
|
|
42
42
|
# endif
|
|
43
|
-
# if ICE_INT_VERSION % 100 <
|
|
43
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
44
44
|
# error Ice patch level mismatch!
|
|
45
45
|
# endif
|
|
46
46
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# if ICE_INT_VERSION % 100 >= 50
|
|
38
38
|
# error Beta header file detected
|
|
39
39
|
# endif
|
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
|
40
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
41
41
|
# error Ice patch level mismatch!
|
|
42
42
|
# endif
|
|
43
43
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# if ICE_INT_VERSION % 100 >= 50
|
|
38
38
|
# error Beta header file detected
|
|
39
39
|
# endif
|
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
|
40
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
41
41
|
# error Ice patch level mismatch!
|
|
42
42
|
# endif
|
|
43
43
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
# if ICE_INT_VERSION % 100 >= 50
|
|
36
36
|
# error Beta header file detected
|
|
37
37
|
# endif
|
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
|
38
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
39
39
|
# error Ice patch level mismatch!
|
|
40
40
|
# endif
|
|
41
41
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# if ICE_INT_VERSION % 100 >= 50
|
|
38
38
|
# error Beta header file detected
|
|
39
39
|
# endif
|
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
|
40
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
41
41
|
# error Ice patch level mismatch!
|
|
42
42
|
# endif
|
|
43
43
|
#endif
|
|
File without changes
|
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# if ICE_INT_VERSION % 100 >= 50
|
|
38
38
|
# error Beta header file detected
|
|
39
39
|
# endif
|
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
|
40
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
41
41
|
# error Ice patch level mismatch!
|
|
42
42
|
# endif
|
|
43
43
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# if ICE_INT_VERSION % 100 >= 50
|
|
38
38
|
# error Beta header file detected
|
|
39
39
|
# endif
|
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
|
40
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
41
41
|
# error Ice patch level mismatch!
|
|
42
42
|
# endif
|
|
43
43
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
# if ICE_INT_VERSION % 100 >= 50
|
|
38
38
|
# error Beta header file detected
|
|
39
39
|
# endif
|
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
|
40
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
41
41
|
# error Ice patch level mismatch!
|
|
42
42
|
# endif
|
|
43
43
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
3
|
//
|
|
4
4
|
//
|
|
5
|
-
// Ice version 3.7.
|
|
5
|
+
// Ice version 3.7.4
|
|
6
6
|
//
|
|
7
7
|
// <auto-generated>
|
|
8
8
|
//
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
# if ICE_INT_VERSION % 100 >= 50
|
|
43
43
|
# error Beta header file detected
|
|
44
44
|
# endif
|
|
45
|
-
# if ICE_INT_VERSION % 100 <
|
|
45
|
+
# if ICE_INT_VERSION % 100 < 4
|
|
46
46
|
# error Ice patch level mismatch!
|
|
47
47
|
# endif
|
|
48
48
|
#endif
|
|
@@ -62,6 +62,11 @@ class LookupPrx;
|
|
|
62
62
|
namespace IceDiscovery
|
|
63
63
|
{
|
|
64
64
|
|
|
65
|
+
/**
|
|
66
|
+
* The LookupReply interface is used by IceDiscovery clients to answer requests
|
|
67
|
+
* received on the Lookup interface.
|
|
68
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
|
69
|
+
*/
|
|
65
70
|
class LookupReply : public virtual ::Ice::Object
|
|
66
71
|
{
|
|
67
72
|
public:
|
|
@@ -96,11 +101,26 @@ public:
|
|
|
96
101
|
*/
|
|
97
102
|
static const ::std::string& ice_staticId();
|
|
98
103
|
|
|
104
|
+
/**
|
|
105
|
+
* Reply to the findObjectById request.
|
|
106
|
+
* @param id The identity of the object.
|
|
107
|
+
* @param prx The proxy of the object.
|
|
108
|
+
* @param current The Current object for the invocation.
|
|
109
|
+
*/
|
|
99
110
|
virtual void foundObjectById(::Ice::Identity id, ::std::shared_ptr<::Ice::ObjectPrx> prx, const ::Ice::Current& current) = 0;
|
|
100
111
|
/// \cond INTERNAL
|
|
101
112
|
bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
102
113
|
/// \endcond
|
|
103
114
|
|
|
115
|
+
/**
|
|
116
|
+
* Reply to the findAdpaterById request.
|
|
117
|
+
* @param id The adapter ID.
|
|
118
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
119
|
+
* The proxy provides the adapter endpoints.
|
|
120
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
121
|
+
* replica group.
|
|
122
|
+
* @param current The Current object for the invocation.
|
|
123
|
+
*/
|
|
104
124
|
virtual void foundAdapterById(::std::string id, ::std::shared_ptr<::Ice::ObjectPrx> prx, bool isReplicaGroup, const ::Ice::Current& current) = 0;
|
|
105
125
|
/// \cond INTERNAL
|
|
106
126
|
bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
@@ -111,6 +131,11 @@ public:
|
|
|
111
131
|
/// \endcond
|
|
112
132
|
};
|
|
113
133
|
|
|
134
|
+
/**
|
|
135
|
+
* The Lookup interface is used by IceDiscovery clients to look for objects
|
|
136
|
+
* and adapters using UDP multicast.
|
|
137
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
|
138
|
+
*/
|
|
114
139
|
class Lookup : public virtual ::Ice::Object
|
|
115
140
|
{
|
|
116
141
|
public:
|
|
@@ -145,11 +170,29 @@ public:
|
|
|
145
170
|
*/
|
|
146
171
|
static const ::std::string& ice_staticId();
|
|
147
172
|
|
|
173
|
+
/**
|
|
174
|
+
* Request to find an Ice object
|
|
175
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
176
|
+
* replies to requests with a matching domain identifier.
|
|
177
|
+
* @param id The object identity.
|
|
178
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
179
|
+
* the reply if a matching object is found.
|
|
180
|
+
* @param current The Current object for the invocation.
|
|
181
|
+
*/
|
|
148
182
|
virtual void findObjectById(::std::string domainId, ::Ice::Identity id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
|
|
149
183
|
/// \cond INTERNAL
|
|
150
184
|
bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
151
185
|
/// \endcond
|
|
152
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Request to find an object adapter
|
|
189
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
190
|
+
* replies to requests with a matching domain identifier.
|
|
191
|
+
* @param id The adapter ID.
|
|
192
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
193
|
+
* the reply if a matching adapter is found.
|
|
194
|
+
* @param current The Current object for the invocation.
|
|
195
|
+
*/
|
|
153
196
|
virtual void findAdapterById(::std::string domainId, ::std::string id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
|
|
154
197
|
/// \cond INTERNAL
|
|
155
198
|
bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
@@ -165,15 +208,33 @@ public:
|
|
|
165
208
|
namespace IceDiscovery
|
|
166
209
|
{
|
|
167
210
|
|
|
211
|
+
/**
|
|
212
|
+
* The LookupReply interface is used by IceDiscovery clients to answer requests
|
|
213
|
+
* received on the Lookup interface.
|
|
214
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
|
215
|
+
*/
|
|
168
216
|
class LookupReplyPrx : public virtual ::Ice::Proxy<LookupReplyPrx, ::Ice::ObjectPrx>
|
|
169
217
|
{
|
|
170
218
|
public:
|
|
171
219
|
|
|
220
|
+
/**
|
|
221
|
+
* Reply to the findObjectById request.
|
|
222
|
+
* @param id The identity of the object.
|
|
223
|
+
* @param prx The proxy of the object.
|
|
224
|
+
* @param context The Context map to send with the invocation.
|
|
225
|
+
*/
|
|
172
226
|
void foundObjectById(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
173
227
|
{
|
|
174
228
|
_makePromiseOutgoing<void>(true, this, &LookupReplyPrx::_iceI_foundObjectById, id, prx, context).get();
|
|
175
229
|
}
|
|
176
230
|
|
|
231
|
+
/**
|
|
232
|
+
* Reply to the findObjectById request.
|
|
233
|
+
* @param id The identity of the object.
|
|
234
|
+
* @param prx The proxy of the object.
|
|
235
|
+
* @param context The Context map to send with the invocation.
|
|
236
|
+
* @return The future object for the invocation.
|
|
237
|
+
*/
|
|
177
238
|
template<template<typename> class P = ::std::promise>
|
|
178
239
|
auto foundObjectByIdAsync(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
179
240
|
-> decltype(::std::declval<P<void>>().get_future())
|
|
@@ -181,6 +242,16 @@ public:
|
|
|
181
242
|
return _makePromiseOutgoing<void, P>(false, this, &LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
|
|
182
243
|
}
|
|
183
244
|
|
|
245
|
+
/**
|
|
246
|
+
* Reply to the findObjectById request.
|
|
247
|
+
* @param id The identity of the object.
|
|
248
|
+
* @param prx The proxy of the object.
|
|
249
|
+
* @param response The response callback.
|
|
250
|
+
* @param ex The exception callback.
|
|
251
|
+
* @param sent The sent callback.
|
|
252
|
+
* @param context The Context map to send with the invocation.
|
|
253
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
254
|
+
*/
|
|
184
255
|
::std::function<void()>
|
|
185
256
|
foundObjectByIdAsync(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx,
|
|
186
257
|
::std::function<void()> response,
|
|
@@ -188,18 +259,37 @@ public:
|
|
|
188
259
|
::std::function<void(bool)> sent = nullptr,
|
|
189
260
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
190
261
|
{
|
|
191
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &IceDiscovery::LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
|
|
262
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
|
|
192
263
|
}
|
|
193
264
|
|
|
194
265
|
/// \cond INTERNAL
|
|
195
266
|
void _iceI_foundObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
|
|
196
267
|
/// \endcond
|
|
197
268
|
|
|
269
|
+
/**
|
|
270
|
+
* Reply to the findAdpaterById request.
|
|
271
|
+
* @param id The adapter ID.
|
|
272
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
273
|
+
* The proxy provides the adapter endpoints.
|
|
274
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
275
|
+
* replica group.
|
|
276
|
+
* @param context The Context map to send with the invocation.
|
|
277
|
+
*/
|
|
198
278
|
void foundAdapterById(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
199
279
|
{
|
|
200
280
|
_makePromiseOutgoing<void>(true, this, &LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context).get();
|
|
201
281
|
}
|
|
202
282
|
|
|
283
|
+
/**
|
|
284
|
+
* Reply to the findAdpaterById request.
|
|
285
|
+
* @param id The adapter ID.
|
|
286
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
287
|
+
* The proxy provides the adapter endpoints.
|
|
288
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
289
|
+
* replica group.
|
|
290
|
+
* @param context The Context map to send with the invocation.
|
|
291
|
+
* @return The future object for the invocation.
|
|
292
|
+
*/
|
|
203
293
|
template<template<typename> class P = ::std::promise>
|
|
204
294
|
auto foundAdapterByIdAsync(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
205
295
|
-> decltype(::std::declval<P<void>>().get_future())
|
|
@@ -207,6 +297,19 @@ public:
|
|
|
207
297
|
return _makePromiseOutgoing<void, P>(false, this, &LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
|
|
208
298
|
}
|
|
209
299
|
|
|
300
|
+
/**
|
|
301
|
+
* Reply to the findAdpaterById request.
|
|
302
|
+
* @param id The adapter ID.
|
|
303
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
304
|
+
* The proxy provides the adapter endpoints.
|
|
305
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
306
|
+
* replica group.
|
|
307
|
+
* @param response The response callback.
|
|
308
|
+
* @param ex The exception callback.
|
|
309
|
+
* @param sent The sent callback.
|
|
310
|
+
* @param context The Context map to send with the invocation.
|
|
311
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
312
|
+
*/
|
|
210
313
|
::std::function<void()>
|
|
211
314
|
foundAdapterByIdAsync(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup,
|
|
212
315
|
::std::function<void()> response,
|
|
@@ -214,7 +317,7 @@ public:
|
|
|
214
317
|
::std::function<void(bool)> sent = nullptr,
|
|
215
318
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
216
319
|
{
|
|
217
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &IceDiscovery::LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
|
|
320
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
|
|
218
321
|
}
|
|
219
322
|
|
|
220
323
|
/// \cond INTERNAL
|
|
@@ -237,15 +340,39 @@ protected:
|
|
|
237
340
|
/// \endcond
|
|
238
341
|
};
|
|
239
342
|
|
|
343
|
+
/**
|
|
344
|
+
* The Lookup interface is used by IceDiscovery clients to look for objects
|
|
345
|
+
* and adapters using UDP multicast.
|
|
346
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
|
347
|
+
*/
|
|
240
348
|
class LookupPrx : public virtual ::Ice::Proxy<LookupPrx, ::Ice::ObjectPrx>
|
|
241
349
|
{
|
|
242
350
|
public:
|
|
243
351
|
|
|
352
|
+
/**
|
|
353
|
+
* Request to find an Ice object
|
|
354
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
355
|
+
* replies to requests with a matching domain identifier.
|
|
356
|
+
* @param id The object identity.
|
|
357
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
358
|
+
* the reply if a matching object is found.
|
|
359
|
+
* @param context The Context map to send with the invocation.
|
|
360
|
+
*/
|
|
244
361
|
void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
245
362
|
{
|
|
246
363
|
_makePromiseOutgoing<void>(true, this, &LookupPrx::_iceI_findObjectById, domainId, id, reply, context).get();
|
|
247
364
|
}
|
|
248
365
|
|
|
366
|
+
/**
|
|
367
|
+
* Request to find an Ice object
|
|
368
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
369
|
+
* replies to requests with a matching domain identifier.
|
|
370
|
+
* @param id The object identity.
|
|
371
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
372
|
+
* the reply if a matching object is found.
|
|
373
|
+
* @param context The Context map to send with the invocation.
|
|
374
|
+
* @return The future object for the invocation.
|
|
375
|
+
*/
|
|
249
376
|
template<template<typename> class P = ::std::promise>
|
|
250
377
|
auto findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
251
378
|
-> decltype(::std::declval<P<void>>().get_future())
|
|
@@ -253,6 +380,19 @@ public:
|
|
|
253
380
|
return _makePromiseOutgoing<void, P>(false, this, &LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
|
|
254
381
|
}
|
|
255
382
|
|
|
383
|
+
/**
|
|
384
|
+
* Request to find an Ice object
|
|
385
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
386
|
+
* replies to requests with a matching domain identifier.
|
|
387
|
+
* @param id The object identity.
|
|
388
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
389
|
+
* the reply if a matching object is found.
|
|
390
|
+
* @param response The response callback.
|
|
391
|
+
* @param ex The exception callback.
|
|
392
|
+
* @param sent The sent callback.
|
|
393
|
+
* @param context The Context map to send with the invocation.
|
|
394
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
395
|
+
*/
|
|
256
396
|
::std::function<void()>
|
|
257
397
|
findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply,
|
|
258
398
|
::std::function<void()> response,
|
|
@@ -260,18 +400,37 @@ public:
|
|
|
260
400
|
::std::function<void(bool)> sent = nullptr,
|
|
261
401
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
262
402
|
{
|
|
263
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &IceDiscovery::LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
|
|
403
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
|
|
264
404
|
}
|
|
265
405
|
|
|
266
406
|
/// \cond INTERNAL
|
|
267
407
|
void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Identity&, const ::std::shared_ptr<LookupReplyPrx>&, const ::Ice::Context&);
|
|
268
408
|
/// \endcond
|
|
269
409
|
|
|
410
|
+
/**
|
|
411
|
+
* Request to find an object adapter
|
|
412
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
413
|
+
* replies to requests with a matching domain identifier.
|
|
414
|
+
* @param id The adapter ID.
|
|
415
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
416
|
+
* the reply if a matching adapter is found.
|
|
417
|
+
* @param context The Context map to send with the invocation.
|
|
418
|
+
*/
|
|
270
419
|
void findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
271
420
|
{
|
|
272
421
|
_makePromiseOutgoing<void>(true, this, &LookupPrx::_iceI_findAdapterById, domainId, id, reply, context).get();
|
|
273
422
|
}
|
|
274
423
|
|
|
424
|
+
/**
|
|
425
|
+
* Request to find an object adapter
|
|
426
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
427
|
+
* replies to requests with a matching domain identifier.
|
|
428
|
+
* @param id The adapter ID.
|
|
429
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
430
|
+
* the reply if a matching adapter is found.
|
|
431
|
+
* @param context The Context map to send with the invocation.
|
|
432
|
+
* @return The future object for the invocation.
|
|
433
|
+
*/
|
|
275
434
|
template<template<typename> class P = ::std::promise>
|
|
276
435
|
auto findAdapterByIdAsync(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
277
436
|
-> decltype(::std::declval<P<void>>().get_future())
|
|
@@ -279,6 +438,19 @@ public:
|
|
|
279
438
|
return _makePromiseOutgoing<void, P>(false, this, &LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
|
|
280
439
|
}
|
|
281
440
|
|
|
441
|
+
/**
|
|
442
|
+
* Request to find an object adapter
|
|
443
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
444
|
+
* replies to requests with a matching domain identifier.
|
|
445
|
+
* @param id The adapter ID.
|
|
446
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
447
|
+
* the reply if a matching adapter is found.
|
|
448
|
+
* @param response The response callback.
|
|
449
|
+
* @param ex The exception callback.
|
|
450
|
+
* @param sent The sent callback.
|
|
451
|
+
* @param context The Context map to send with the invocation.
|
|
452
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
453
|
+
*/
|
|
282
454
|
::std::function<void()>
|
|
283
455
|
findAdapterByIdAsync(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply,
|
|
284
456
|
::std::function<void()> response,
|
|
@@ -286,7 +458,7 @@ public:
|
|
|
286
458
|
::std::function<void(bool)> sent = nullptr,
|
|
287
459
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
288
460
|
{
|
|
289
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &IceDiscovery::LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
|
|
461
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
|
|
290
462
|
}
|
|
291
463
|
|
|
292
464
|
/// \cond INTERNAL
|
|
@@ -429,36 +601,87 @@ class LookupReply : public virtual ::Ice::Proxy |
|
|
429
601
|
{
|
|
430
602
|
public:
|
|
431
603
|
|
|
604
|
+
/**
|
|
605
|
+
* Reply to the findObjectById request.
|
|
606
|
+
* @param id The identity of the object.
|
|
607
|
+
* @param prx The proxy of the object.
|
|
608
|
+
* @param context The Context map to send with the invocation.
|
|
609
|
+
*/
|
|
432
610
|
void foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
433
611
|
{
|
|
434
612
|
end_foundObjectById(_iceI_begin_foundObjectById(id, prx, context, ::IceInternal::dummyCallback, 0, true));
|
|
435
613
|
}
|
|
436
614
|
|
|
615
|
+
/**
|
|
616
|
+
* Reply to the findObjectById request.
|
|
617
|
+
* @param id The identity of the object.
|
|
618
|
+
* @param prx The proxy of the object.
|
|
619
|
+
* @param context The Context map to send with the invocation.
|
|
620
|
+
* @return The asynchronous result object for the invocation.
|
|
621
|
+
*/
|
|
437
622
|
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
438
623
|
{
|
|
439
624
|
return _iceI_begin_foundObjectById(id, prx, context, ::IceInternal::dummyCallback, 0);
|
|
440
625
|
}
|
|
441
626
|
|
|
627
|
+
/**
|
|
628
|
+
* Reply to the findObjectById request.
|
|
629
|
+
* @param id The identity of the object.
|
|
630
|
+
* @param prx The proxy of the object.
|
|
631
|
+
* @param cb Asynchronous callback object.
|
|
632
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
633
|
+
* @return The asynchronous result object for the invocation.
|
|
634
|
+
*/
|
|
442
635
|
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
443
636
|
{
|
|
444
637
|
return _iceI_begin_foundObjectById(id, prx, ::Ice::noExplicitContext, cb, cookie);
|
|
445
638
|
}
|
|
446
639
|
|
|
640
|
+
/**
|
|
641
|
+
* Reply to the findObjectById request.
|
|
642
|
+
* @param id The identity of the object.
|
|
643
|
+
* @param prx The proxy of the object.
|
|
644
|
+
* @param context The Context map to send with the invocation.
|
|
645
|
+
* @param cb Asynchronous callback object.
|
|
646
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
647
|
+
* @return The asynchronous result object for the invocation.
|
|
648
|
+
*/
|
|
447
649
|
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
448
650
|
{
|
|
449
651
|
return _iceI_begin_foundObjectById(id, prx, context, cb, cookie);
|
|
450
652
|
}
|
|
451
653
|
|
|
654
|
+
/**
|
|
655
|
+
* Reply to the findObjectById request.
|
|
656
|
+
* @param id The identity of the object.
|
|
657
|
+
* @param prx The proxy of the object.
|
|
658
|
+
* @param cb Asynchronous callback object.
|
|
659
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
660
|
+
* @return The asynchronous result object for the invocation.
|
|
661
|
+
*/
|
|
452
662
|
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
453
663
|
{
|
|
454
664
|
return _iceI_begin_foundObjectById(id, prx, ::Ice::noExplicitContext, cb, cookie);
|
|
455
665
|
}
|
|
456
666
|
|
|
667
|
+
/**
|
|
668
|
+
* Reply to the findObjectById request.
|
|
669
|
+
* @param id The identity of the object.
|
|
670
|
+
* @param prx The proxy of the object.
|
|
671
|
+
* @param context The Context map to send with the invocation.
|
|
672
|
+
* @param cb Asynchronous callback object.
|
|
673
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
674
|
+
* @return The asynchronous result object for the invocation.
|
|
675
|
+
*/
|
|
457
676
|
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
458
677
|
{
|
|
459
678
|
return _iceI_begin_foundObjectById(id, prx, context, cb, cookie);
|
|
460
679
|
}
|
|
461
680
|
|
|
681
|
+
/**
|
|
682
|
+
* Completes an invocation of begin_foundObjectById.
|
|
683
|
+
* @param result The asynchronous result object for the invocation.
|
|
684
|
+
*/
|
|
462
685
|
void end_foundObjectById(const ::Ice::AsyncResultPtr& result);
|
|
463
686
|
|
|
464
687
|
private:
|
|
@@ -467,36 +690,105 @@ private:
|
|
|
467
690
|
|
|
468
691
|
public:
|
|
469
692
|
|
|
693
|
+
/**
|
|
694
|
+
* Reply to the findAdpaterById request.
|
|
695
|
+
* @param id The adapter ID.
|
|
696
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
697
|
+
* The proxy provides the adapter endpoints.
|
|
698
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
699
|
+
* replica group.
|
|
700
|
+
* @param context The Context map to send with the invocation.
|
|
701
|
+
*/
|
|
470
702
|
void foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
471
703
|
{
|
|
472
704
|
end_foundAdapterById(_iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0, true));
|
|
473
705
|
}
|
|
474
706
|
|
|
707
|
+
/**
|
|
708
|
+
* Reply to the findAdpaterById request.
|
|
709
|
+
* @param id The adapter ID.
|
|
710
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
711
|
+
* The proxy provides the adapter endpoints.
|
|
712
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
713
|
+
* replica group.
|
|
714
|
+
* @param context The Context map to send with the invocation.
|
|
715
|
+
* @return The asynchronous result object for the invocation.
|
|
716
|
+
*/
|
|
475
717
|
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
476
718
|
{
|
|
477
719
|
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0);
|
|
478
720
|
}
|
|
479
721
|
|
|
722
|
+
/**
|
|
723
|
+
* Reply to the findAdpaterById request.
|
|
724
|
+
* @param id The adapter ID.
|
|
725
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
726
|
+
* The proxy provides the adapter endpoints.
|
|
727
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
728
|
+
* replica group.
|
|
729
|
+
* @param cb Asynchronous callback object.
|
|
730
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
731
|
+
* @return The asynchronous result object for the invocation.
|
|
732
|
+
*/
|
|
480
733
|
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
481
734
|
{
|
|
482
735
|
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, ::Ice::noExplicitContext, cb, cookie);
|
|
483
736
|
}
|
|
484
737
|
|
|
738
|
+
/**
|
|
739
|
+
* Reply to the findAdpaterById request.
|
|
740
|
+
* @param id The adapter ID.
|
|
741
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
742
|
+
* The proxy provides the adapter endpoints.
|
|
743
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
744
|
+
* replica group.
|
|
745
|
+
* @param context The Context map to send with the invocation.
|
|
746
|
+
* @param cb Asynchronous callback object.
|
|
747
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
748
|
+
* @return The asynchronous result object for the invocation.
|
|
749
|
+
*/
|
|
485
750
|
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
486
751
|
{
|
|
487
752
|
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, cb, cookie);
|
|
488
753
|
}
|
|
489
754
|
|
|
755
|
+
/**
|
|
756
|
+
* Reply to the findAdpaterById request.
|
|
757
|
+
* @param id The adapter ID.
|
|
758
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
759
|
+
* The proxy provides the adapter endpoints.
|
|
760
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
761
|
+
* replica group.
|
|
762
|
+
* @param cb Asynchronous callback object.
|
|
763
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
764
|
+
* @return The asynchronous result object for the invocation.
|
|
765
|
+
*/
|
|
490
766
|
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
491
767
|
{
|
|
492
768
|
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, ::Ice::noExplicitContext, cb, cookie);
|
|
493
769
|
}
|
|
494
770
|
|
|
771
|
+
/**
|
|
772
|
+
* Reply to the findAdpaterById request.
|
|
773
|
+
* @param id The adapter ID.
|
|
774
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
775
|
+
* The proxy provides the adapter endpoints.
|
|
776
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
777
|
+
* replica group.
|
|
778
|
+
* @param context The Context map to send with the invocation.
|
|
779
|
+
* @param cb Asynchronous callback object.
|
|
780
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
781
|
+
* @return The asynchronous result object for the invocation.
|
|
782
|
+
*/
|
|
495
783
|
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
496
784
|
{
|
|
497
785
|
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, cb, cookie);
|
|
498
786
|
}
|
|
499
787
|
|
|
788
|
+
/**
|
|
789
|
+
* Completes an invocation of begin_foundAdapterById.
|
|
790
|
+
* @param result The asynchronous result object for the invocation.
|
|
791
|
+
*/
|
|
500
792
|
void end_foundAdapterById(const ::Ice::AsyncResultPtr& result);
|
|
501
793
|
|
|
502
794
|
private:
|
|
@@ -522,36 +814,105 @@ class Lookup : public virtual ::Ice::Proxy
|
|
|
522
814
|
{
|
|
523
815
|
public:
|
|
524
816
|
|
|
817
|
+
/**
|
|
818
|
+
* Request to find an Ice object
|
|
819
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
820
|
+
* replies to requests with a matching domain identifier.
|
|
821
|
+
* @param id The object identity.
|
|
822
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
823
|
+
* the reply if a matching object is found.
|
|
824
|
+
* @param context The Context map to send with the invocation.
|
|
825
|
+
*/
|
|
525
826
|
void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
526
827
|
{
|
|
527
828
|
end_findObjectById(_iceI_begin_findObjectById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0, true));
|
|
528
829
|
}
|
|
529
830
|
|
|
831
|
+
/**
|
|
832
|
+
* Request to find an Ice object
|
|
833
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
834
|
+
* replies to requests with a matching domain identifier.
|
|
835
|
+
* @param id The object identity.
|
|
836
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
837
|
+
* the reply if a matching object is found.
|
|
838
|
+
* @param context The Context map to send with the invocation.
|
|
839
|
+
* @return The asynchronous result object for the invocation.
|
|
840
|
+
*/
|
|
530
841
|
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
531
842
|
{
|
|
532
843
|
return _iceI_begin_findObjectById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0);
|
|
533
844
|
}
|
|
534
845
|
|
|
846
|
+
/**
|
|
847
|
+
* Request to find an Ice object
|
|
848
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
849
|
+
* replies to requests with a matching domain identifier.
|
|
850
|
+
* @param id The object identity.
|
|
851
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
852
|
+
* the reply if a matching object is found.
|
|
853
|
+
* @param cb Asynchronous callback object.
|
|
854
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
855
|
+
* @return The asynchronous result object for the invocation.
|
|
856
|
+
*/
|
|
535
857
|
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
536
858
|
{
|
|
537
859
|
return _iceI_begin_findObjectById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
|
|
538
860
|
}
|
|
539
861
|
|
|
862
|
+
/**
|
|
863
|
+
* Request to find an Ice object
|
|
864
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
865
|
+
* replies to requests with a matching domain identifier.
|
|
866
|
+
* @param id The object identity.
|
|
867
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
868
|
+
* the reply if a matching object is found.
|
|
869
|
+
* @param context The Context map to send with the invocation.
|
|
870
|
+
* @param cb Asynchronous callback object.
|
|
871
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
872
|
+
* @return The asynchronous result object for the invocation.
|
|
873
|
+
*/
|
|
540
874
|
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
541
875
|
{
|
|
542
876
|
return _iceI_begin_findObjectById(domainId, id, reply, context, cb, cookie);
|
|
543
877
|
}
|
|
544
878
|
|
|
879
|
+
/**
|
|
880
|
+
* Request to find an Ice object
|
|
881
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
882
|
+
* replies to requests with a matching domain identifier.
|
|
883
|
+
* @param id The object identity.
|
|
884
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
885
|
+
* the reply if a matching object is found.
|
|
886
|
+
* @param cb Asynchronous callback object.
|
|
887
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
888
|
+
* @return The asynchronous result object for the invocation.
|
|
889
|
+
*/
|
|
545
890
|
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
546
891
|
{
|
|
547
892
|
return _iceI_begin_findObjectById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
|
|
548
893
|
}
|
|
549
894
|
|
|
895
|
+
/**
|
|
896
|
+
* Request to find an Ice object
|
|
897
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
898
|
+
* replies to requests with a matching domain identifier.
|
|
899
|
+
* @param id The object identity.
|
|
900
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
901
|
+
* the reply if a matching object is found.
|
|
902
|
+
* @param context The Context map to send with the invocation.
|
|
903
|
+
* @param cb Asynchronous callback object.
|
|
904
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
905
|
+
* @return The asynchronous result object for the invocation.
|
|
906
|
+
*/
|
|
550
907
|
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
551
908
|
{
|
|
552
909
|
return _iceI_begin_findObjectById(domainId, id, reply, context, cb, cookie);
|
|
553
910
|
}
|
|
554
911
|
|
|
912
|
+
/**
|
|
913
|
+
* Completes an invocation of begin_findObjectById.
|
|
914
|
+
* @param result The asynchronous result object for the invocation.
|
|
915
|
+
*/
|
|
555
916
|
void end_findObjectById(const ::Ice::AsyncResultPtr& result);
|
|
556
917
|
|
|
557
918
|
private:
|
|
@@ -560,36 +921,105 @@ private:
|
|
|
560
921
|
|
|
561
922
|
public:
|
|
562
923
|
|
|
924
|
+
/**
|
|
925
|
+
* Request to find an object adapter
|
|
926
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
927
|
+
* replies to requests with a matching domain identifier.
|
|
928
|
+
* @param id The adapter ID.
|
|
929
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
930
|
+
* the reply if a matching adapter is found.
|
|
931
|
+
* @param context The Context map to send with the invocation.
|
|
932
|
+
*/
|
|
563
933
|
void findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
564
934
|
{
|
|
565
935
|
end_findAdapterById(_iceI_begin_findAdapterById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0, true));
|
|
566
936
|
}
|
|
567
937
|
|
|
938
|
+
/**
|
|
939
|
+
* Request to find an object adapter
|
|
940
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
941
|
+
* replies to requests with a matching domain identifier.
|
|
942
|
+
* @param id The adapter ID.
|
|
943
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
944
|
+
* the reply if a matching adapter is found.
|
|
945
|
+
* @param context The Context map to send with the invocation.
|
|
946
|
+
* @return The asynchronous result object for the invocation.
|
|
947
|
+
*/
|
|
568
948
|
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
569
949
|
{
|
|
570
950
|
return _iceI_begin_findAdapterById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0);
|
|
571
951
|
}
|
|
572
952
|
|
|
953
|
+
/**
|
|
954
|
+
* Request to find an object adapter
|
|
955
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
956
|
+
* replies to requests with a matching domain identifier.
|
|
957
|
+
* @param id The adapter ID.
|
|
958
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
959
|
+
* the reply if a matching adapter is found.
|
|
960
|
+
* @param cb Asynchronous callback object.
|
|
961
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
962
|
+
* @return The asynchronous result object for the invocation.
|
|
963
|
+
*/
|
|
573
964
|
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
574
965
|
{
|
|
575
966
|
return _iceI_begin_findAdapterById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
|
|
576
967
|
}
|
|
577
968
|
|
|
969
|
+
/**
|
|
970
|
+
* Request to find an object adapter
|
|
971
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
972
|
+
* replies to requests with a matching domain identifier.
|
|
973
|
+
* @param id The adapter ID.
|
|
974
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
975
|
+
* the reply if a matching adapter is found.
|
|
976
|
+
* @param context The Context map to send with the invocation.
|
|
977
|
+
* @param cb Asynchronous callback object.
|
|
978
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
979
|
+
* @return The asynchronous result object for the invocation.
|
|
980
|
+
*/
|
|
578
981
|
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
579
982
|
{
|
|
580
983
|
return _iceI_begin_findAdapterById(domainId, id, reply, context, cb, cookie);
|
|
581
984
|
}
|
|
582
985
|
|
|
986
|
+
/**
|
|
987
|
+
* Request to find an object adapter
|
|
988
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
989
|
+
* replies to requests with a matching domain identifier.
|
|
990
|
+
* @param id The adapter ID.
|
|
991
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
992
|
+
* the reply if a matching adapter is found.
|
|
993
|
+
* @param cb Asynchronous callback object.
|
|
994
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
995
|
+
* @return The asynchronous result object for the invocation.
|
|
996
|
+
*/
|
|
583
997
|
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
584
998
|
{
|
|
585
999
|
return _iceI_begin_findAdapterById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
|
|
586
1000
|
}
|
|
587
1001
|
|
|
1002
|
+
/**
|
|
1003
|
+
* Request to find an object adapter
|
|
1004
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
1005
|
+
* replies to requests with a matching domain identifier.
|
|
1006
|
+
* @param id The adapter ID.
|
|
1007
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
1008
|
+
* the reply if a matching adapter is found.
|
|
1009
|
+
* @param context The Context map to send with the invocation.
|
|
1010
|
+
* @param cb Asynchronous callback object.
|
|
1011
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1012
|
+
* @return The asynchronous result object for the invocation.
|
|
1013
|
+
*/
|
|
588
1014
|
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
589
1015
|
{
|
|
590
1016
|
return _iceI_begin_findAdapterById(domainId, id, reply, context, cb, cookie);
|
|
591
1017
|
}
|
|
592
1018
|
|
|
1019
|
+
/**
|
|
1020
|
+
* Completes an invocation of begin_findAdapterById.
|
|
1021
|
+
* @param result The asynchronous result object for the invocation.
|
|
1022
|
+
*/
|
|
593
1023
|
void end_findAdapterById(const ::Ice::AsyncResultPtr& result);
|
|
594
1024
|
|
|
595
1025
|
private:
|
|
@@ -618,6 +1048,11 @@ protected:
|
|
|
618
1048
|
namespace IceDiscovery
|
|
619
1049
|
{
|
|
620
1050
|
|
|
1051
|
+
/**
|
|
1052
|
+
* The LookupReply interface is used by IceDiscovery clients to answer requests
|
|
1053
|
+
* received on the Lookup interface.
|
|
1054
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
|
1055
|
+
*/
|
|
621
1056
|
class LookupReply : public virtual ::Ice::Object
|
|
622
1057
|
{
|
|
623
1058
|
public:
|
|
@@ -655,11 +1090,26 @@ public:
|
|
|
655
1090
|
*/
|
|
656
1091
|
static const ::std::string& ice_staticId();
|
|
657
1092
|
|
|
1093
|
+
/**
|
|
1094
|
+
* Reply to the findObjectById request.
|
|
1095
|
+
* @param id The identity of the object.
|
|
1096
|
+
* @param prx The proxy of the object.
|
|
1097
|
+
* @param current The Current object for the invocation.
|
|
1098
|
+
*/
|
|
658
1099
|
virtual void foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
659
1100
|
/// \cond INTERNAL
|
|
660
1101
|
bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
661
1102
|
/// \endcond
|
|
662
1103
|
|
|
1104
|
+
/**
|
|
1105
|
+
* Reply to the findAdpaterById request.
|
|
1106
|
+
* @param id The adapter ID.
|
|
1107
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
|
1108
|
+
* The proxy provides the adapter endpoints.
|
|
1109
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
|
1110
|
+
* replica group.
|
|
1111
|
+
* @param current The Current object for the invocation.
|
|
1112
|
+
*/
|
|
663
1113
|
virtual void foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
664
1114
|
/// \cond INTERNAL
|
|
665
1115
|
bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
@@ -689,6 +1139,11 @@ inline bool operator<(const LookupReply& lhs, const LookupReply& rhs)
|
|
|
689
1139
|
}
|
|
690
1140
|
/// \endcond
|
|
691
1141
|
|
|
1142
|
+
/**
|
|
1143
|
+
* The Lookup interface is used by IceDiscovery clients to look for objects
|
|
1144
|
+
* and adapters using UDP multicast.
|
|
1145
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
|
1146
|
+
*/
|
|
692
1147
|
class Lookup : public virtual ::Ice::Object
|
|
693
1148
|
{
|
|
694
1149
|
public:
|
|
@@ -726,11 +1181,29 @@ public:
|
|
|
726
1181
|
*/
|
|
727
1182
|
static const ::std::string& ice_staticId();
|
|
728
1183
|
|
|
1184
|
+
/**
|
|
1185
|
+
* Request to find an Ice object
|
|
1186
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
1187
|
+
* replies to requests with a matching domain identifier.
|
|
1188
|
+
* @param id The object identity.
|
|
1189
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
1190
|
+
* the reply if a matching object is found.
|
|
1191
|
+
* @param current The Current object for the invocation.
|
|
1192
|
+
*/
|
|
729
1193
|
virtual void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const LookupReplyPrx& reply, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
730
1194
|
/// \cond INTERNAL
|
|
731
1195
|
bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
732
1196
|
/// \endcond
|
|
733
1197
|
|
|
1198
|
+
/**
|
|
1199
|
+
* Request to find an object adapter
|
|
1200
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
|
1201
|
+
* replies to requests with a matching domain identifier.
|
|
1202
|
+
* @param id The adapter ID.
|
|
1203
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
|
1204
|
+
* the reply if a matching adapter is found.
|
|
1205
|
+
* @param current The Current object for the invocation.
|
|
1206
|
+
*/
|
|
734
1207
|
virtual void findAdapterById(const ::std::string& domainId, const ::std::string& id, const LookupReplyPrx& reply, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
735
1208
|
/// \cond INTERNAL
|
|
736
1209
|
bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
|