zeroc-ice 3.7.9.1 → 3.7.10
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/ice/cpp/include/Ice/Config.h +5 -7
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/Ice/Ice.h +2 -2
- data/ext/ice/cpp/include/Ice/SHA1.h +0 -2
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +3 -7
- data/ext/ice/cpp/include/IceUtil/Config.h +12 -44
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +0 -3
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Mutex.h +0 -4
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +5 -21
- data/ext/ice/cpp/include/IceUtil/Thread.h +4 -18
- data/ext/ice/cpp/include/IceUtil/Timer.h +1 -0
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Connection.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Current.h +4 -4
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +2 -2
- 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 +2 -2
- data/ext/ice/cpp/include/generated/Ice/Locator.h +2 -2
- 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 +2 -2
- 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 +2 -2
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Properties.h +8 -8
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Router.h +2 -2
- 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 +2 -2
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +2 -2
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +2 -2
- data/ext/ice/cpp/src/Ice/Acceptor.h +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/ConnectionFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +2 -2
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +5 -5
- data/ext/ice/cpp/src/Ice/ConnectionI.h +6 -8
- data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +0 -8
- data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -2
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +2 -9
- 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/EventHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EventHandler.h +2 -2
- data/ext/ice/cpp/src/Ice/Exception.cpp +0 -27
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +2 -2
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +0 -46
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +1 -11
- 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/Instance.cpp +2 -6
- 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/LoggerI.cpp +1 -3
- data/ext/ice/cpp/src/Ice/Metrics.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Network.cpp +15 -841
- data/ext/ice/cpp/src/Ice/Network.h +4 -86
- data/ext/ice/cpp/src/Ice/NetworkF.h +0 -4
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +0 -13
- 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/PropertiesI.cpp +4 -12
- 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/SHA1.cpp +27 -43
- data/ext/ice/cpp/src/Ice/Selector.cpp +1 -13
- data/ext/ice/cpp/src/Ice/Selector.h +1 -17
- 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 +4 -167
- data/ext/ice/cpp/src/Ice/StreamSocket.h +3 -10
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +0 -121
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +2 -10
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Thread.cpp +1 -243
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +15 -51
- data/ext/ice/cpp/src/Ice/ThreadPool.h +6 -6
- data/ext/ice/cpp/src/Ice/Transceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +0 -5
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +13 -360
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +2 -23
- 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/Ice/WSAcceptor.cpp +2 -2
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +2 -2
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +2 -45
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +2 -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/IceLocatorDiscovery/IceLocatorDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +2 -2
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +2 -2
- 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/Util.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +4 -17
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +0 -4
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +0 -45
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +2 -6
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +1 -1
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +22 -0
- data/ext/ice/cpp/src/Slice/JavaUtil.h +9 -0
- data/ext/ice/mcpp/system.c +0 -4
- 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/Current.ice +1 -1
- data/slice/Ice/Properties.ice +3 -3
- metadata +3 -3
@@ -350,7 +350,7 @@ Ice::ConnectionI::OutgoingMessage::sent()
|
|
350
350
|
|
351
351
|
if(outAsync)
|
352
352
|
{
|
353
|
-
#if defined(ICE_USE_IOCP)
|
353
|
+
#if defined(ICE_USE_IOCP)
|
354
354
|
invokeSent = outAsync->sent();
|
355
355
|
return invokeSent || receivedReply;
|
356
356
|
#else
|
@@ -1474,7 +1474,7 @@ Ice::ConnectionI::setAdapterAndServantManager(const ObjectAdapterPtr& adapter,
|
|
1474
1474
|
_servantManager = servantManager;
|
1475
1475
|
}
|
1476
1476
|
|
1477
|
-
#if defined(ICE_USE_IOCP)
|
1477
|
+
#if defined(ICE_USE_IOCP)
|
1478
1478
|
bool
|
1479
1479
|
Ice::ConnectionI::startAsync(SocketOperation operation)
|
1480
1480
|
{
|
@@ -1891,7 +1891,7 @@ ConnectionI::dispatch(const StartCallbackPtr& startCB, const vector<OutgoingMess
|
|
1891
1891
|
{
|
1892
1892
|
for(vector<OutgoingMessage>::const_iterator p = sentCBs.begin(); p != sentCBs.end(); ++p)
|
1893
1893
|
{
|
1894
|
-
#if defined(ICE_USE_IOCP)
|
1894
|
+
#if defined(ICE_USE_IOCP)
|
1895
1895
|
if(p->invokeSent)
|
1896
1896
|
{
|
1897
1897
|
p->outAsync->invokeSent();
|
@@ -2095,7 +2095,7 @@ Ice::ConnectionI::finish(bool close)
|
|
2095
2095
|
OutgoingMessage* message = &_sendStreams.front();
|
2096
2096
|
_writeStream.swap(*message->stream);
|
2097
2097
|
|
2098
|
-
#if defined(ICE_USE_IOCP)
|
2098
|
+
#if defined(ICE_USE_IOCP)
|
2099
2099
|
//
|
2100
2100
|
// The current message might be sent but not yet removed from _sendStreams. If
|
2101
2101
|
// the response has been received in the meantime, we remove the message from
|
@@ -3387,7 +3387,7 @@ Ice::ConnectionI::parseMessage(InputStream& stream, Int& invokeNum, Int& request
|
|
3387
3387
|
|
3388
3388
|
stream.swap(*outAsync->getIs());
|
3389
3389
|
|
3390
|
-
#if defined(ICE_USE_IOCP)
|
3390
|
+
#if defined(ICE_USE_IOCP)
|
3391
3391
|
//
|
3392
3392
|
// If we just received the reply of a request which isn't acknowledge as
|
3393
3393
|
// sent yet, we queue the reply instead of processing it right away. It
|
@@ -38,10 +38,8 @@
|
|
38
38
|
|
39
39
|
#include <deque>
|
40
40
|
|
41
|
-
#
|
42
|
-
#
|
43
|
-
# define ICE_HAS_BZIP2
|
44
|
-
# endif
|
41
|
+
#ifndef ICE_HAS_BZIP2
|
42
|
+
# define ICE_HAS_BZIP2
|
45
43
|
#endif
|
46
44
|
|
47
45
|
namespace Ice
|
@@ -89,7 +87,7 @@ public:
|
|
89
87
|
{
|
90
88
|
OutgoingMessage(Ice::OutputStream* str, bool comp) :
|
91
89
|
stream(str), compress(comp), requestId(0), adopted(false)
|
92
|
-
#if defined(ICE_USE_IOCP)
|
90
|
+
#if defined(ICE_USE_IOCP)
|
93
91
|
, isSent(false), invokeSent(false), receivedReply(false)
|
94
92
|
#endif
|
95
93
|
{
|
@@ -98,7 +96,7 @@ public:
|
|
98
96
|
OutgoingMessage(const IceInternal::OutgoingAsyncBasePtr& o, Ice::OutputStream* str,
|
99
97
|
bool comp, int rid) :
|
100
98
|
stream(str), outAsync(o), compress(comp), requestId(rid), adopted(false)
|
101
|
-
#if defined(ICE_USE_IOCP)
|
99
|
+
#if defined(ICE_USE_IOCP)
|
102
100
|
, isSent(false), invokeSent(false), receivedReply(false)
|
103
101
|
#endif
|
104
102
|
{
|
@@ -114,7 +112,7 @@ public:
|
|
114
112
|
bool compress;
|
115
113
|
int requestId;
|
116
114
|
bool adopted;
|
117
|
-
#if defined(ICE_USE_IOCP)
|
115
|
+
#if defined(ICE_USE_IOCP)
|
118
116
|
bool isSent;
|
119
117
|
bool invokeSent;
|
120
118
|
bool receivedReply;
|
@@ -226,7 +224,7 @@ public:
|
|
226
224
|
//
|
227
225
|
// Operations from EventHandler
|
228
226
|
//
|
229
|
-
#if defined(ICE_USE_IOCP)
|
227
|
+
#if defined(ICE_USE_IOCP)
|
230
228
|
bool startAsync(IceInternal::SocketOperation);
|
231
229
|
bool finishAsync(IceInternal::SocketOperation);
|
232
230
|
#endif
|
@@ -14,11 +14,7 @@ IceUtilInternal::CountDownLatch::CountDownLatch(int count) :
|
|
14
14
|
}
|
15
15
|
|
16
16
|
#ifdef _WIN32
|
17
|
-
# ifndef ICE_OS_UWP
|
18
17
|
_event = CreateEvent(0, TRUE, FALSE, 0);
|
19
|
-
# else
|
20
|
-
_event = CreateEventExW(0, 0, CREATE_EVENT_MANUAL_RESET, SEMAPHORE_ALL_ACCESS);
|
21
|
-
# endif
|
22
18
|
if(_event == 0)
|
23
19
|
{
|
24
20
|
throw IceUtil::ThreadSyscallException(__FILE__, __LINE__, GetLastError());
|
@@ -61,11 +57,7 @@ IceUtilInternal::CountDownLatch::await() const
|
|
61
57
|
#ifdef _WIN32
|
62
58
|
while(InterlockedExchangeAdd(&_count, 0) > 0)
|
63
59
|
{
|
64
|
-
# ifndef ICE_OS_UWP
|
65
60
|
DWORD rc = WaitForSingleObject(_event, INFINITE);
|
66
|
-
# else
|
67
|
-
DWORD rc = WaitForSingleObjectEx(_event, INFINITE, false);
|
68
|
-
# endif
|
69
61
|
assert(rc == WAIT_OBJECT_0 || rc == WAIT_FAILED);
|
70
62
|
|
71
63
|
if(rc == WAIT_FAILED)
|
@@ -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.10
|
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 < 10
|
41
41
|
# error Ice patch level mismatch!
|
42
42
|
# endif
|
43
43
|
#endif
|
@@ -31,7 +31,6 @@ IceInternal::DefaultsAndOverrides::DefaultsAndOverrides(const PropertiesPtr& pro
|
|
31
31
|
|
32
32
|
string value;
|
33
33
|
|
34
|
-
#ifndef ICE_OS_UWP
|
35
34
|
value = properties->getProperty("Ice.Default.SourceAddress");
|
36
35
|
if(!value.empty())
|
37
36
|
{
|
@@ -42,7 +41,6 @@ IceInternal::DefaultsAndOverrides::DefaultsAndOverrides(const PropertiesPtr& pro
|
|
42
41
|
value + "'");
|
43
42
|
}
|
44
43
|
}
|
45
|
-
#endif
|
46
44
|
|
47
45
|
value = properties->getProperty("Ice.Override.Timeout");
|
48
46
|
if(!value.empty())
|
@@ -128,9 +128,6 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc
|
|
128
128
|
#ifdef _WIN32
|
129
129
|
lib += libName;
|
130
130
|
lib += version;
|
131
|
-
# ifdef ICE_OS_UWP
|
132
|
-
lib += "uwp";
|
133
|
-
# endif
|
134
131
|
|
135
132
|
# ifdef ICE_CPP11_MAPPING
|
136
133
|
lib += "++11";
|
@@ -212,9 +209,7 @@ IceInternal::DynamicLibrary::load(const string& lib)
|
|
212
209
|
// Don't need to use a wide string converter as the wide string is passed
|
213
210
|
// to Windows API.
|
214
211
|
//
|
215
|
-
#if defined(
|
216
|
-
_hnd = LoadPackagedLibrary(stringToWstring(lib, getProcessStringConverter()).c_str(), 0);
|
217
|
-
#elif defined(_WIN32)
|
212
|
+
#if defined(_WIN32)
|
218
213
|
_hnd = LoadLibraryW(stringToWstring(lib, getProcessStringConverter()).c_str());
|
219
214
|
#else
|
220
215
|
int flags = RTLD_NOW | RTLD_GLOBAL;
|
@@ -229,9 +224,7 @@ IceInternal::DynamicLibrary::load(const string& lib)
|
|
229
224
|
//
|
230
225
|
// Remember the most recent error in _err.
|
231
226
|
//
|
232
|
-
#if defined(
|
233
|
-
_err = "LoadPackagedLibrary on `" + lib + "' failed with `" + IceUtilInternal::lastErrorToString() + "'";
|
234
|
-
#elif defined(_WIN32)
|
227
|
+
#if defined(_WIN32)
|
235
228
|
_err = "LoadLibraryW on `" + lib + "' failed with `" + IceUtilInternal::lastErrorToString() + "'";
|
236
229
|
#else
|
237
230
|
const char* err = dlerror();
|
@@ -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.10
|
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 < 10
|
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.10
|
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 < 10
|
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.10
|
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 < 10
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -14,7 +14,7 @@ IceUtil::Shared* IceInternal::upCast(EventHandler* p) { return p; }
|
|
14
14
|
#endif
|
15
15
|
|
16
16
|
IceInternal::EventHandler::EventHandler() :
|
17
|
-
#if defined(ICE_USE_IOCP)
|
17
|
+
#if defined(ICE_USE_IOCP)
|
18
18
|
_pending(SocketOperationNone),
|
19
19
|
_started(SocketOperationNone),
|
20
20
|
_completed(SocketOperationNone),
|
@@ -24,7 +24,7 @@ class ICE_API EventHandler :
|
|
24
24
|
{
|
25
25
|
public:
|
26
26
|
|
27
|
-
#if defined(ICE_USE_IOCP)
|
27
|
+
#if defined(ICE_USE_IOCP)
|
28
28
|
//
|
29
29
|
// Called to start a new asynchronous read or write operation.
|
30
30
|
//
|
@@ -57,7 +57,7 @@ protected:
|
|
57
57
|
EventHandler();
|
58
58
|
virtual ~EventHandler();
|
59
59
|
|
60
|
-
#if defined(ICE_USE_IOCP)
|
60
|
+
#if defined(ICE_USE_IOCP)
|
61
61
|
SocketOperation _pending;
|
62
62
|
SocketOperation _started;
|
63
63
|
SocketOperation _completed;
|
@@ -11,9 +11,6 @@
|
|
11
11
|
#include <Ice/InputStream.h>
|
12
12
|
#include <Ice/Initialize.h>
|
13
13
|
#include <IceUtil/StringUtil.h>
|
14
|
-
#ifdef ICE_OS_UWP
|
15
|
-
# include <Ice/StringConverter.h>
|
16
|
-
#endif
|
17
14
|
#include <iomanip>
|
18
15
|
|
19
16
|
using namespace std;
|
@@ -30,27 +27,7 @@ socketErrorToString(int error)
|
|
30
27
|
{
|
31
28
|
return "unknown error";
|
32
29
|
}
|
33
|
-
#ifdef ICE_OS_UWP
|
34
|
-
if(error == E_ACCESSDENIED)
|
35
|
-
{
|
36
|
-
ostringstream os;
|
37
|
-
os << "access to a resource or feature is denied, ensure that you have requested the appropriate\n";
|
38
|
-
os << "capability and made the required declarations in the package manifest of your app.";
|
39
|
-
return os.str();
|
40
|
-
}
|
41
|
-
else
|
42
|
-
{
|
43
|
-
//
|
44
|
-
// Don't need to use a wide string converter as the wide string come
|
45
|
-
// from Windows API.
|
46
|
-
//
|
47
|
-
return wstringToString(
|
48
|
-
static_cast<Windows::Networking::Sockets::SocketErrorStatus>(error).ToString()->Data(),
|
49
|
-
getProcessStringConverter());
|
50
|
-
}
|
51
|
-
#else
|
52
30
|
return IceUtilInternal::errorToString(error);
|
53
|
-
#endif
|
54
31
|
}
|
55
32
|
|
56
33
|
};
|
@@ -461,11 +438,7 @@ Ice::DNSException::ice_print(ostream& out) const
|
|
461
438
|
{
|
462
439
|
Exception::ice_print(out);
|
463
440
|
out << ":\nDNS error: ";
|
464
|
-
#ifdef ICE_OS_UWP
|
465
|
-
out << socketErrorToString(error);
|
466
|
-
#else
|
467
441
|
out << errorToStringDNS(error);
|
468
|
-
#endif
|
469
442
|
out << "\nhost: " << host;
|
470
443
|
}
|
471
444
|
|
@@ -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.10
|
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 < 10
|
41
41
|
# error Ice patch level mismatch!
|
42
42
|
# endif
|
43
43
|
#endif
|
@@ -491,7 +491,6 @@ IceInternal::IPEndpointI::checkOption(const string& option, const string& argume
|
|
491
491
|
"no argument provided for --sourceAddress option in endpoint " +
|
492
492
|
endpoint);
|
493
493
|
}
|
494
|
-
#ifndef ICE_OS_UWP
|
495
494
|
const_cast<Address&>(_sourceAddr) = getNumericAddress(argument);
|
496
495
|
if(!isAddressValid(_sourceAddr))
|
497
496
|
{
|
@@ -499,7 +498,6 @@ IceInternal::IPEndpointI::checkOption(const string& option, const string& argume
|
|
499
498
|
"invalid IP address provided for --sourceAddress option in endpoint " +
|
500
499
|
endpoint);
|
501
500
|
}
|
502
|
-
#endif
|
503
501
|
}
|
504
502
|
else
|
505
503
|
{
|
@@ -535,8 +533,6 @@ IceInternal::IPEndpointI::IPEndpointI(const ProtocolInstancePtr& instance, Input
|
|
535
533
|
s->read(const_cast<Ice::Int&>(_port));
|
536
534
|
}
|
537
535
|
|
538
|
-
#ifndef ICE_OS_UWP
|
539
|
-
|
540
536
|
IceInternal::EndpointHostResolver::EndpointHostResolver(const InstancePtr& instance) :
|
541
537
|
IceUtil::Thread("Ice.HostResolver"),
|
542
538
|
_instance(instance),
|
@@ -712,45 +708,3 @@ IceInternal::EndpointHostResolver::updateObserver()
|
|
712
708
|
_observer.get()));
|
713
709
|
}
|
714
710
|
}
|
715
|
-
|
716
|
-
#else
|
717
|
-
|
718
|
-
IceInternal::EndpointHostResolver::EndpointHostResolver(const InstancePtr& instance) :
|
719
|
-
_instance(instance)
|
720
|
-
{
|
721
|
-
}
|
722
|
-
|
723
|
-
void
|
724
|
-
IceInternal::EndpointHostResolver::resolve(const string& host,
|
725
|
-
int port,
|
726
|
-
Ice::EndpointSelectionType selType,
|
727
|
-
const IPEndpointIPtr& endpoint,
|
728
|
-
const EndpointI_connectorsPtr& callback)
|
729
|
-
{
|
730
|
-
//
|
731
|
-
// No DNS lookup support with UWP.
|
732
|
-
//
|
733
|
-
callback->connectors(endpoint->connectors(getAddresses(host, port,
|
734
|
-
_instance->protocolSupport(),
|
735
|
-
selType,
|
736
|
-
_instance->preferIPv6(),
|
737
|
-
false),
|
738
|
-
_instance->networkProxy()));
|
739
|
-
}
|
740
|
-
|
741
|
-
void
|
742
|
-
IceInternal::EndpointHostResolver::destroy()
|
743
|
-
{
|
744
|
-
}
|
745
|
-
|
746
|
-
void
|
747
|
-
IceInternal::EndpointHostResolver::run()
|
748
|
-
{
|
749
|
-
}
|
750
|
-
|
751
|
-
void
|
752
|
-
IceInternal::EndpointHostResolver::updateObserver()
|
753
|
-
{
|
754
|
-
}
|
755
|
-
|
756
|
-
#endif
|
@@ -15,9 +15,7 @@
|
|
15
15
|
#include <Ice/ProtocolInstanceF.h>
|
16
16
|
#include <Ice/ObserverHelper.h>
|
17
17
|
|
18
|
-
#
|
19
|
-
# include <deque>
|
20
|
-
#endif
|
18
|
+
#include <deque>
|
21
19
|
|
22
20
|
namespace IceInternal
|
23
21
|
{
|
@@ -104,11 +102,7 @@ private:
|
|
104
102
|
mutable Ice::Int _hashValue;
|
105
103
|
};
|
106
104
|
|
107
|
-
#ifndef ICE_OS_UWP
|
108
105
|
class ICE_API EndpointHostResolver : public IceUtil::Thread, public IceUtil::Monitor<IceUtil::Mutex>
|
109
|
-
#else
|
110
|
-
class ICE_API EndpointHostResolver : public IceUtil::Shared
|
111
|
-
#endif
|
112
106
|
{
|
113
107
|
public:
|
114
108
|
|
@@ -123,7 +117,6 @@ public:
|
|
123
117
|
|
124
118
|
private:
|
125
119
|
|
126
|
-
#ifndef ICE_OS_UWP
|
127
120
|
struct ResolveEntry
|
128
121
|
{
|
129
122
|
std::string host;
|
@@ -140,9 +133,6 @@ private:
|
|
140
133
|
bool _destroyed;
|
141
134
|
std::deque<ResolveEntry> _queue;
|
142
135
|
ObserverHelperT<Ice::Instrumentation::ThreadObserver> _observer;
|
143
|
-
#else
|
144
|
-
const InstancePtr _instance;
|
145
|
-
#endif
|
146
136
|
};
|
147
137
|
|
148
138
|
#ifndef ICE_CPP11_MAPPING
|
@@ -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.10
|
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 < 10
|
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.10
|
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 < 10
|
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.10
|
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 < 10
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -1054,7 +1054,7 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi
|
|
1054
1054
|
|
1055
1055
|
if(instanceCount() == 1)
|
1056
1056
|
{
|
1057
|
-
#if defined(_WIN32)
|
1057
|
+
#if defined(_WIN32)
|
1058
1058
|
WORD version = MAKEWORD(1, 1);
|
1059
1059
|
WSADATA data;
|
1060
1060
|
if(WSAStartup(version, &data) != 0)
|
@@ -1325,7 +1325,7 @@ IceInternal::Instance::~Instance()
|
|
1325
1325
|
}
|
1326
1326
|
if(instanceCount() == 0)
|
1327
1327
|
{
|
1328
|
-
#if defined(_WIN32)
|
1328
|
+
#if defined(_WIN32)
|
1329
1329
|
WSACleanup();
|
1330
1330
|
#endif
|
1331
1331
|
|
@@ -1479,7 +1479,6 @@ IceInternal::Instance::finishSetup(int& argc, const char* argv[], const Ice::Com
|
|
1479
1479
|
try
|
1480
1480
|
{
|
1481
1481
|
_endpointHostResolver = new EndpointHostResolver(this);
|
1482
|
-
#ifndef ICE_OS_UWP
|
1483
1482
|
bool hasPriority = _initData.properties->getProperty("Ice.ThreadPriority") != "";
|
1484
1483
|
int priority = _initData.properties->getPropertyAsInt("Ice.ThreadPriority");
|
1485
1484
|
if(hasPriority)
|
@@ -1490,7 +1489,6 @@ IceInternal::Instance::finishSetup(int& argc, const char* argv[], const Ice::Com
|
|
1490
1489
|
{
|
1491
1490
|
_endpointHostResolver->start();
|
1492
1491
|
}
|
1493
|
-
#endif
|
1494
1492
|
}
|
1495
1493
|
catch(const IceUtil::Exception& ex)
|
1496
1494
|
{
|
@@ -1683,12 +1681,10 @@ IceInternal::Instance::destroy()
|
|
1683
1681
|
{
|
1684
1682
|
_serverThreadPool->joinWithAllThreads();
|
1685
1683
|
}
|
1686
|
-
#ifndef ICE_OS_UWP
|
1687
1684
|
if(_endpointHostResolver)
|
1688
1685
|
{
|
1689
1686
|
_endpointHostResolver->getThreadControl().join();
|
1690
1687
|
}
|
1691
|
-
#endif
|
1692
1688
|
|
1693
1689
|
#ifdef ICE_CPP11_COMPILER
|
1694
1690
|
for(const auto& p : _objectFactoryMap)
|
@@ -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.10
|
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 < 10
|
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.10
|
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 < 10
|
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.10
|
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 < 10
|
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.10
|
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 < 10
|
45
45
|
# error Ice patch level mismatch!
|
46
46
|
# endif
|
47
47
|
#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.10
|
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 < 10
|
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.10
|
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 < 10
|
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.10
|
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 < 10
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|