zeroc-ice 3.6.0 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/ice/cpp/include/Ice/BuiltinSequences.h +2 -2
- data/ext/ice/cpp/include/Ice/Communicator.h +2 -2
- data/ext/ice/cpp/include/Ice/CommunicatorF.h +2 -2
- data/ext/ice/cpp/include/Ice/Connection.h +5 -9
- data/ext/ice/cpp/include/Ice/ConnectionF.h +2 -2
- data/ext/ice/cpp/include/Ice/Current.h +2 -2
- data/ext/ice/cpp/include/Ice/Endpoint.h +6 -11
- data/ext/ice/cpp/include/Ice/EndpointF.h +2 -2
- data/ext/ice/cpp/include/Ice/EndpointTypes.h +2 -2
- data/ext/ice/cpp/include/Ice/FacetMap.h +2 -2
- data/ext/ice/cpp/include/Ice/Ice.h +1 -0
- data/ext/ice/cpp/include/Ice/Identity.h +2 -2
- data/ext/ice/cpp/include/Ice/ImplicitContext.h +2 -2
- data/ext/ice/cpp/include/Ice/ImplicitContextF.h +2 -2
- data/ext/ice/cpp/include/Ice/Instrumentation.h +2 -2
- data/ext/ice/cpp/include/Ice/InstrumentationF.h +2 -2
- data/ext/ice/cpp/include/Ice/LocalException.h +2 -2
- data/ext/ice/cpp/include/Ice/Locator.h +2 -2
- data/ext/ice/cpp/include/Ice/LocatorF.h +2 -2
- data/ext/ice/cpp/include/Ice/Logger.h +2 -2
- data/ext/ice/cpp/include/Ice/LoggerF.h +2 -2
- data/ext/ice/cpp/include/Ice/Metrics.h +7 -14
- data/ext/ice/cpp/include/Ice/ObjectAdapter.h +2 -2
- data/ext/ice/cpp/include/Ice/ObjectAdapterF.h +2 -2
- data/ext/ice/cpp/include/Ice/ObjectFactory.h +2 -2
- data/ext/ice/cpp/include/Ice/ObjectFactoryF.h +2 -2
- data/ext/ice/cpp/include/Ice/Plugin.h +2 -2
- data/ext/ice/cpp/include/Ice/PluginF.h +2 -2
- data/ext/ice/cpp/include/Ice/Process.h +2 -2
- data/ext/ice/cpp/include/Ice/ProcessF.h +2 -2
- data/ext/ice/cpp/include/Ice/Properties.h +2 -2
- data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +2 -2
- data/ext/ice/cpp/include/Ice/PropertiesF.h +2 -2
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +55 -0
- data/ext/ice/cpp/include/Ice/RemoteLogger.h +2 -2
- data/ext/ice/cpp/include/Ice/Router.h +2 -2
- data/ext/ice/cpp/include/Ice/RouterF.h +2 -2
- data/ext/ice/cpp/include/Ice/ServantLocator.h +2 -2
- data/ext/ice/cpp/include/Ice/ServantLocatorF.h +2 -2
- data/ext/ice/cpp/include/Ice/SliceChecksumDict.h +2 -2
- data/ext/ice/cpp/include/Ice/Version.h +2 -2
- data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +4 -6
- data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +3 -5
- data/ext/ice/cpp/include/IceUtil/Config.h +5 -5
- 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/CommunicatorI.cpp +0 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +12 -17
- 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/ConnectionFactory.cpp +33 -4
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +8 -0
- data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -1
- data/ext/ice/cpp/src/Ice/DeprecatedStringConverter.cpp +2 -0
- 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/HttpParser.cpp +0 -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/Initialize.cpp +25 -30
- data/ext/ice/cpp/src/Ice/Instance.cpp +1 -3
- 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/LocatorInfo.cpp +6 -6
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +9 -8
- 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 +10 -2
- data/ext/ice/cpp/src/Ice/Network.h +10 -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/ObjectAdapterI.cpp +68 -143
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +1 -2
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ObjectFactoryF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Outgoing.cpp +0 -1
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1
- 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/PropertiesAdminI.cpp +6 -7
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +17 -18
- data/ext/ice/cpp/src/Ice/Reference.cpp +1 -1
- data/ext/ice/cpp/src/Ice/{RegisterPlugins.cpp → RegisterPluginsInit.cpp} +1 -1
- data/ext/ice/cpp/src/Ice/{RegisterPlugins.h → RegisterPluginsInit.h} +2 -2
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +2 -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/Selector.cpp +51 -45
- data/ext/ice/cpp/src/Ice/Selector.h +4 -4
- 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 +7 -2
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +15 -3
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -2
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +46 -47
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +28 -8
- data/ext/ice/cpp/src/Ice/Version.cpp +2 -2
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +26 -2
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +2 -2
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +11 -0
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +11 -0
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1 -3
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +11 -0
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +7 -0
- data/ext/ice/cpp/src/IceUtil/ArgVector.cpp +0 -1
- data/ext/ice/cpp/src/IceUtil/Exception.cpp +2 -1
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +3 -2
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -1
- data/ext/ice/cpp/src/Slice/Parser.cpp +35 -9
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +10 -11
- data/ext/ice/cpp/src/Slice/Python.cpp +54 -36
- data/ext/ice/mcpp/Makefile +10 -0
- data/ext/ice/mcpp/Makefile.mak +23 -15
- data/ice.gemspec +1 -2
- 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.rb +1 -0
- 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/ObjectAdapterF.rb +1 -1
- data/lib/Ice/ObjectFactory.rb +1 -1
- data/lib/Ice/ObjectFactoryF.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 +292 -0
- data/lib/Ice/Router.rb +1 -1
- data/lib/Ice/RouterF.rb +1 -1
- data/lib/Ice/SliceChecksumDict.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/Locator.rb +1 -1
- data/lib/IceGrid/Observer.rb +1 -1
- data/lib/IceGrid/Query.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/IceLocatorDiscovery/IceLocatorDiscovery.ice +4 -0
- metadata +6 -4
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -38,7 +38,7 @@
|
|
38
38
|
# if ICE_INT_VERSION % 100 > 50
|
39
39
|
# error Beta header file detected
|
40
40
|
# endif
|
41
|
-
# if ICE_INT_VERSION % 100 <
|
41
|
+
# if ICE_INT_VERSION % 100 < 1
|
42
42
|
# error Ice patch level mismatch!
|
43
43
|
# endif
|
44
44
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -38,7 +38,7 @@
|
|
38
38
|
# if ICE_INT_VERSION % 100 > 50
|
39
39
|
# error Beta header file detected
|
40
40
|
# endif
|
41
|
-
# if ICE_INT_VERSION % 100 <
|
41
|
+
# if ICE_INT_VERSION % 100 < 1
|
42
42
|
# error Ice patch level mismatch!
|
43
43
|
# endif
|
44
44
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -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 < 1
|
45
45
|
# error Ice patch level mismatch!
|
46
46
|
# endif
|
47
47
|
#endif
|
@@ -87,8 +87,7 @@ public:
|
|
87
87
|
}
|
88
88
|
|
89
89
|
ConnectionInfo(bool __ice_incoming, const ::std::string& __ice_adapterName, const ::std::string& __ice_connectionId, ::Ice::Int __ice_rcvSize, ::Ice::Int __ice_sndSize, const ::std::string& __ice_localAddress, ::Ice::Int __ice_localPort, const ::std::string& __ice_remoteAddress, ::Ice::Int __ice_remotePort, const ::std::string& __ice_cipher, const ::Ice::StringSeq& __ice_certs, bool __ice_verified) :
|
90
|
-
::Ice::IPConnectionInfo(__ice_incoming, __ice_adapterName, __ice_connectionId, __ice_rcvSize, __ice_sndSize, __ice_localAddress, __ice_localPort, __ice_remoteAddress, __ice_remotePort)
|
91
|
-
,
|
90
|
+
::Ice::IPConnectionInfo(__ice_incoming, __ice_adapterName, __ice_connectionId, __ice_rcvSize, __ice_sndSize, __ice_localAddress, __ice_localPort, __ice_remoteAddress, __ice_remotePort),
|
92
91
|
cipher(__ice_cipher),
|
93
92
|
certs(__ice_certs),
|
94
93
|
verified(__ice_verified)
|
@@ -141,8 +140,7 @@ public:
|
|
141
140
|
}
|
142
141
|
|
143
142
|
WSSConnectionInfo(bool __ice_incoming, const ::std::string& __ice_adapterName, const ::std::string& __ice_connectionId, ::Ice::Int __ice_rcvSize, ::Ice::Int __ice_sndSize, const ::std::string& __ice_localAddress, ::Ice::Int __ice_localPort, const ::std::string& __ice_remoteAddress, ::Ice::Int __ice_remotePort, const ::std::string& __ice_cipher, const ::Ice::StringSeq& __ice_certs, bool __ice_verified, const ::Ice::HeaderDict& __ice_headers) :
|
144
|
-
::IceSSL::ConnectionInfo(__ice_incoming, __ice_adapterName, __ice_connectionId, __ice_rcvSize, __ice_sndSize, __ice_localAddress, __ice_localPort, __ice_remoteAddress, __ice_remotePort, __ice_cipher, __ice_certs, __ice_verified)
|
145
|
-
,
|
143
|
+
::IceSSL::ConnectionInfo(__ice_incoming, __ice_adapterName, __ice_connectionId, __ice_rcvSize, __ice_sndSize, __ice_localAddress, __ice_localPort, __ice_remoteAddress, __ice_remotePort, __ice_cipher, __ice_certs, __ice_verified),
|
146
144
|
headers(__ice_headers)
|
147
145
|
{
|
148
146
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -39,7 +39,7 @@
|
|
39
39
|
# if ICE_INT_VERSION % 100 > 50
|
40
40
|
# error Beta header file detected
|
41
41
|
# endif
|
42
|
-
# if ICE_INT_VERSION % 100 <
|
42
|
+
# if ICE_INT_VERSION % 100 < 1
|
43
43
|
# error Ice patch level mismatch!
|
44
44
|
# endif
|
45
45
|
#endif
|
@@ -93,7 +93,6 @@ public:
|
|
93
93
|
|
94
94
|
EndpointInfo(::Ice::Int __ice_timeout, bool __ice_compress, const ::std::string& __ice_host, ::Ice::Int __ice_port, const ::std::string& __ice_sourceAddress) :
|
95
95
|
::Ice::IPEndpointInfo(__ice_timeout, __ice_compress, __ice_host, __ice_port, __ice_sourceAddress)
|
96
|
-
|
97
96
|
{
|
98
97
|
}
|
99
98
|
|
@@ -120,8 +119,7 @@ public:
|
|
120
119
|
}
|
121
120
|
|
122
121
|
WSSEndpointInfo(::Ice::Int __ice_timeout, bool __ice_compress, const ::std::string& __ice_host, ::Ice::Int __ice_port, const ::std::string& __ice_sourceAddress, const ::std::string& __ice_resource) :
|
123
|
-
::IceSSL::EndpointInfo(__ice_timeout, __ice_compress, __ice_host, __ice_port, __ice_sourceAddress)
|
124
|
-
,
|
122
|
+
::IceSSL::EndpointInfo(__ice_timeout, __ice_compress, __ice_host, __ice_port, __ice_sourceAddress),
|
125
123
|
resource(__ice_resource)
|
126
124
|
{
|
127
125
|
}
|
@@ -223,15 +223,15 @@ private:
|
|
223
223
|
#if defined(_WIN32) && defined(_MSC_VER)
|
224
224
|
typedef __int64 Int64;
|
225
225
|
# define ICE_INT64(n) n##i64
|
226
|
-
# define ICE_INT64_FORMAT "
|
226
|
+
# define ICE_INT64_FORMAT "%lld"
|
227
227
|
#elif defined(ICE_64) && !defined(_WIN32)
|
228
228
|
typedef long Int64;
|
229
229
|
# define ICE_INT64(n) n##L
|
230
|
-
# define ICE_INT64_FORMAT "
|
230
|
+
# define ICE_INT64_FORMAT "%ld"
|
231
231
|
#else
|
232
232
|
typedef long long Int64;
|
233
233
|
# define ICE_INT64(n) n##LL
|
234
|
-
# define ICE_INT64_FORMAT "
|
234
|
+
# define ICE_INT64_FORMAT "%lld"
|
235
235
|
#endif
|
236
236
|
|
237
237
|
}
|
@@ -239,7 +239,7 @@ typedef long long Int64;
|
|
239
239
|
//
|
240
240
|
// The Ice version.
|
241
241
|
//
|
242
|
-
#define ICE_STRING_VERSION "3.6.
|
243
|
-
#define ICE_INT_VERSION
|
242
|
+
#define ICE_STRING_VERSION "3.6.1" // "A.B.C", with A=major, B=minor, C=patch
|
243
|
+
#define ICE_INT_VERSION 30601 // AABBCC, with AA=major, BB=minor, CC=patch
|
244
244
|
|
245
245
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -34,7 +34,7 @@
|
|
34
34
|
# if ICE_INT_VERSION % 100 > 50
|
35
35
|
# error Beta header file detected
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100 <
|
37
|
+
# if ICE_INT_VERSION % 100 < 1
|
38
38
|
# error Ice patch level mismatch!
|
39
39
|
# endif
|
40
40
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -38,7 +38,7 @@
|
|
38
38
|
# if ICE_INT_VERSION % 100 > 50
|
39
39
|
# error Beta header file detected
|
40
40
|
# endif
|
41
|
-
# if ICE_INT_VERSION % 100 <
|
41
|
+
# if ICE_INT_VERSION % 100 < 1
|
42
42
|
# error Ice patch level mismatch!
|
43
43
|
# endif
|
44
44
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -33,7 +33,7 @@
|
|
33
33
|
# if ICE_INT_VERSION % 100 > 50
|
34
34
|
# error Beta header file detected
|
35
35
|
# endif
|
36
|
-
# if ICE_INT_VERSION % 100 <
|
36
|
+
# if ICE_INT_VERSION % 100 < 1
|
37
37
|
# error Ice patch level mismatch!
|
38
38
|
# endif
|
39
39
|
#endif
|
@@ -41,24 +41,9 @@ RequestHandlerPtr
|
|
41
41
|
ConnectRequestHandler::connect(const Ice::ObjectPrx& proxy)
|
42
42
|
{
|
43
43
|
Lock sync(*this);
|
44
|
-
|
45
|
-
{
|
46
|
-
if(!initialized())
|
47
|
-
{
|
48
|
-
_proxies.insert(proxy);
|
49
|
-
}
|
50
|
-
}
|
51
|
-
catch(const Ice::LocalException&)
|
44
|
+
if(!initialized())
|
52
45
|
{
|
53
|
-
|
54
|
-
// Only throw if the connection didn't get established. If
|
55
|
-
// it died after being established, we allow the caller to
|
56
|
-
// retry the connection establishment by not throwing here.
|
57
|
-
//
|
58
|
-
if(!_connection)
|
59
|
-
{
|
60
|
-
throw;
|
61
|
-
}
|
46
|
+
_proxies.insert(proxy);
|
62
47
|
}
|
63
48
|
return _requestHandler ? _requestHandler : this;
|
64
49
|
}
|
@@ -302,6 +287,16 @@ ConnectRequestHandler::initialized()
|
|
302
287
|
|
303
288
|
if(_exception.get())
|
304
289
|
{
|
290
|
+
if(_connection)
|
291
|
+
{
|
292
|
+
//
|
293
|
+
// Only throw if the connection didn't get established. If
|
294
|
+
// it died after being established, we allow the caller to
|
295
|
+
// retry the connection establishment by not throwing here
|
296
|
+
// (the connection will throw RetryException).
|
297
|
+
//
|
298
|
+
return true;
|
299
|
+
}
|
305
300
|
_exception->ice_throw();
|
306
301
|
return false; // Keep the compiler happy.
|
307
302
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -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 < 1
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -33,7 +33,7 @@
|
|
33
33
|
# if ICE_INT_VERSION % 100 > 50
|
34
34
|
# error Beta header file detected
|
35
35
|
# endif
|
36
|
-
# if ICE_INT_VERSION % 100 <
|
36
|
+
# if ICE_INT_VERSION % 100 < 1
|
37
37
|
# error Ice patch level mismatch!
|
38
38
|
# endif
|
39
39
|
#endif
|
@@ -1222,6 +1222,7 @@ IceInternal::IncomingConnectionFactory::flushAsyncBatchRequests(const Communicat
|
|
1222
1222
|
bool
|
1223
1223
|
IceInternal::IncomingConnectionFactory::startAsync(SocketOperation)
|
1224
1224
|
{
|
1225
|
+
assert(_acceptor);
|
1225
1226
|
if(_state >= StateClosed)
|
1226
1227
|
{
|
1227
1228
|
return false;
|
@@ -1245,6 +1246,7 @@ IceInternal::IncomingConnectionFactory::startAsync(SocketOperation)
|
|
1245
1246
|
bool
|
1246
1247
|
IceInternal::IncomingConnectionFactory::finishAsync(SocketOperation)
|
1247
1248
|
{
|
1249
|
+
assert(_acceptor);
|
1248
1250
|
try
|
1249
1251
|
{
|
1250
1252
|
_acceptor->finishAccept();
|
@@ -1295,6 +1297,11 @@ IceInternal::IncomingConnectionFactory::message(ThreadPoolCurrent& current)
|
|
1295
1297
|
_connections.erase(*p);
|
1296
1298
|
}
|
1297
1299
|
|
1300
|
+
if(!_acceptor)
|
1301
|
+
{
|
1302
|
+
return;
|
1303
|
+
}
|
1304
|
+
|
1298
1305
|
//
|
1299
1306
|
// Now accept a new connection.
|
1300
1307
|
//
|
@@ -1411,7 +1418,14 @@ IceInternal::IncomingConnectionFactory::toString() const
|
|
1411
1418
|
{
|
1412
1419
|
return _transceiver->toString();
|
1413
1420
|
}
|
1414
|
-
|
1421
|
+
else if(_acceptor)
|
1422
|
+
{
|
1423
|
+
return _acceptor->toString();
|
1424
|
+
}
|
1425
|
+
else
|
1426
|
+
{
|
1427
|
+
return string();
|
1428
|
+
}
|
1415
1429
|
}
|
1416
1430
|
|
1417
1431
|
NativeInfoPtr
|
@@ -1421,9 +1435,14 @@ IceInternal::IncomingConnectionFactory::getNativeInfo()
|
|
1421
1435
|
{
|
1422
1436
|
return _transceiver->getNativeInfo();
|
1423
1437
|
}
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1438
|
+
else if(_acceptor)
|
1439
|
+
{
|
1440
|
+
return _acceptor->getNativeInfo();
|
1441
|
+
}
|
1442
|
+
else
|
1443
|
+
{
|
1444
|
+
return 0;
|
1445
|
+
}
|
1427
1446
|
}
|
1428
1447
|
|
1429
1448
|
void
|
@@ -1705,6 +1724,7 @@ IceInternal::IncomingConnectionFactory::createAcceptor()
|
|
1705
1724
|
if(_acceptor)
|
1706
1725
|
{
|
1707
1726
|
_acceptor->close();
|
1727
|
+
_acceptor = 0;
|
1708
1728
|
}
|
1709
1729
|
throw;
|
1710
1730
|
}
|
@@ -1722,4 +1742,13 @@ IceInternal::IncomingConnectionFactory::closeAcceptor()
|
|
1722
1742
|
}
|
1723
1743
|
|
1724
1744
|
_acceptor->close();
|
1745
|
+
|
1746
|
+
#if TARGET_OS_IPHONE != 0
|
1747
|
+
//
|
1748
|
+
// Only clear the acceptor on iOS where it can be destroyed/re-created during the lifetime of the incoming
|
1749
|
+
// connection factory. On other platforms, we keep it set. This is in particular import for IOCP/WinRT where
|
1750
|
+
// finishAsync can be called after the acceptor is closed.
|
1751
|
+
//
|
1752
|
+
_acceptor = 0;
|
1753
|
+
#endif
|
1725
1754
|
}
|
@@ -2002,6 +2002,14 @@ Ice::ConnectionI::finish(bool close)
|
|
2002
2002
|
}
|
2003
2003
|
_asyncRequests.clear();
|
2004
2004
|
|
2005
|
+
//
|
2006
|
+
// Don't wait to be reaped to reclaim memory allocated by read/write streams.
|
2007
|
+
//
|
2008
|
+
_writeStream.clear();
|
2009
|
+
_writeStream.b.clear();
|
2010
|
+
_readStream.clear();
|
2011
|
+
_readStream.b.clear();
|
2012
|
+
|
2005
2013
|
if(_callback)
|
2006
2014
|
{
|
2007
2015
|
closeCallback(_callback);
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -34,7 +34,7 @@
|
|
34
34
|
# if ICE_INT_VERSION % 100 > 50
|
35
35
|
# error Beta header file detected
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100 <
|
37
|
+
# if ICE_INT_VERSION % 100 < 1
|
38
38
|
# error Ice patch level mismatch!
|
39
39
|
# endif
|
40
40
|
#endif
|
@@ -7,7 +7,9 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
|
10
|
+
#include <IceUtil/DisableWarnings.h>
|
10
11
|
#include <Ice/DeprecatedStringConverter.h>
|
12
|
+
|
11
13
|
#include <Ice/Initialize.h>
|
12
14
|
#include <Ice/Instance.h>
|
13
15
|
#include <IceUtil/StringConverter.h>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -34,7 +34,7 @@
|
|
34
34
|
# if ICE_INT_VERSION % 100 > 50
|
35
35
|
# error Beta header file detected
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100 <
|
37
|
+
# if ICE_INT_VERSION % 100 < 1
|
38
38
|
# error Ice patch level mismatch!
|
39
39
|
# endif
|
40
40
|
#endif
|
@@ -7,7 +7,7 @@
|
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.6.
|
10
|
+
// Ice version 3.6.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -33,7 +33,7 @@
|
|
33
33
|
# if ICE_INT_VERSION % 100 > 50
|
34
34
|
# error Beta header file detected
|
35
35
|
# endif
|
36
|
-
# if ICE_INT_VERSION % 100 <
|
36
|
+
# if ICE_INT_VERSION % 100 < 1
|
37
37
|
# error Ice patch level mismatch!
|
38
38
|
# endif
|
39
39
|
#endif
|