zeroc-ice 3.6.2 → 3.6.3
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/bin/slice2rb +0 -0
- data/ext/Slice.cpp +32 -39
- data/ext/ice/cpp/include/Ice/BasicStream.h +15 -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 +2 -2
- 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 +2 -2
- 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/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 +2 -2
- 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/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/SlicedData.h +6 -0
- data/ext/ice/cpp/include/Ice/Version.h +2 -2
- data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +2 -2
- data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +2 -2
- data/ext/ice/cpp/include/IceUtil/Config.h +86 -26
- data/ext/ice/cpp/include/IceUtil/IconvStringConverter.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Time.h +3 -2
- data/ext/ice/cpp/include/Slice/PythonUtil.h +1 -1
- data/ext/ice/cpp/include/Slice/RubyUtil.h +1 -1
- data/ext/ice/cpp/include/Slice/Util.h +5 -0
- 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 +57 -42
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +2 -0
- data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +9 -5
- 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/Incoming.cpp +11 -4
- data/ext/ice/cpp/src/Ice/Instance.cpp +4 -2
- 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/InstrumentationI.cpp +1 -3
- 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 +94 -5
- data/ext/ice/cpp/src/Ice/LoggerI.h +7 -1
- data/ext/ice/cpp/src/Ice/Metrics.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Network.cpp +23 -7
- data/ext/ice/cpp/src/Ice/Network.h +1 -1
- 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/ObjectFactoryF.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/PluginManagerI.cpp +5 -0
- 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/PropertyNames.cpp +4 -3
- data/ext/ice/cpp/src/Ice/PropertyNames.h +1 -1
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +2 -2
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +1 -1
- 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 +19 -3
- data/ext/ice/cpp/src/Ice/Version.cpp +2 -2
- data/ext/ice/cpp/src/Ice/WSConnector.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/ConnectionInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +54 -39
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +5 -8
- data/ext/ice/cpp/src/IceSSL/Util.cpp +155 -4
- data/ext/ice/cpp/src/IceUtil/Cond.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +8 -0
- data/ext/ice/cpp/src/IceUtil/FileUtil.h +18 -5
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/Time.cpp +25 -17
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +5 -11
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +3 -3
- data/ext/ice/cpp/src/Slice/Python.cpp +14 -17
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +183 -48
- data/ext/ice/cpp/src/Slice/Ruby.cpp +6 -6
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +0 -10
- data/ext/ice/cpp/src/Slice/Util.cpp +28 -3
- data/ext/ice/mcpp/Makefile +10 -6
- data/ext/ice/mcpp/configed.H +3 -0
- data/ext/ice/mcpp/main.c +2 -2
- data/ext/ice/mcpp/mcpp.gyp +6 -0
- data/ext/ice/mcpp/support.c +1 -1
- data/ext/ice/mcpp/system.H +6 -1
- data/ext/ice/mcpp/system.c +52 -15
- 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/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 +1 -1
- 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/Glacier2/PermissionsVerifier.ice +0 -3
- data/slice/Glacier2/Session.ice +2 -9
- data/slice/Ice/Communicator.ice +3 -3
- data/slice/Ice/ImplicitContext.ice +4 -5
- data/slice/Ice/Instrumentation.ice +26 -26
- data/slice/Ice/LocalException.ice +1 -1
- data/slice/Ice/Locator.ice +5 -3
- data/slice/Ice/Metrics.ice +1 -1
- data/slice/Ice/ObjectFactory.ice +0 -2
- data/slice/Ice/RemoteLogger.ice +32 -32
- data/slice/Ice/Router.ice +3 -0
- data/slice/IceGrid/Session.ice +5 -9
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +7 -7
- data/slice/IcePatch2/FileServer.ice +28 -34
- metadata +30 -30
data/lib/IceGrid/Query.rb
CHANGED
data/lib/IceGrid/Registry.rb
CHANGED
data/lib/IceGrid/Session.rb
CHANGED
data/lib/IcePatch2/FileInfo.rb
CHANGED
data/lib/IcePatch2/FileServer.rb
CHANGED
data/lib/IceStorm/IceStorm.rb
CHANGED
data/lib/IceStorm/Metrics.rb
CHANGED
|
@@ -23,9 +23,6 @@ module Glacier2
|
|
|
23
23
|
* This exception is raised if a client is denied the ability to create
|
|
24
24
|
* a session with the router.
|
|
25
25
|
*
|
|
26
|
-
* @see Router#createSession
|
|
27
|
-
* @see Router#createSessionFromSecureConnection
|
|
28
|
-
*
|
|
29
26
|
**/
|
|
30
27
|
["preserve-slice"]
|
|
31
28
|
exception PermissionDeniedException
|
data/slice/Glacier2/Session.ice
CHANGED
|
@@ -22,13 +22,7 @@ module Glacier2
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
|
-
* This exception is raised if an attempt to create a new session
|
|
26
|
-
* failed.
|
|
27
|
-
*
|
|
28
|
-
* @see Router#createSession
|
|
29
|
-
* @see Router#createSessionFromSecureConnection
|
|
30
|
-
* @see SessionManager#create
|
|
31
|
-
* @see SSLSessionManager#create
|
|
25
|
+
* This exception is raised if an attempt to create a new session failed.
|
|
32
26
|
*
|
|
33
27
|
**/
|
|
34
28
|
["preserve-slice"]
|
|
@@ -55,8 +49,7 @@ interface Session
|
|
|
55
49
|
{
|
|
56
50
|
/**
|
|
57
51
|
*
|
|
58
|
-
* Destroy the session. This is called automatically when the
|
|
59
|
-
* {@link Router} is destroyed.
|
|
52
|
+
* Destroy the session. This is called automatically when the router is destroyed.
|
|
60
53
|
*
|
|
61
54
|
**/
|
|
62
55
|
void destroy();
|
data/slice/Ice/Communicator.ice
CHANGED
|
@@ -239,7 +239,7 @@ local interface Communicator
|
|
|
239
239
|
*
|
|
240
240
|
* Create a new object adapter with endpoints. This operation sets
|
|
241
241
|
* the property <tt><em>name</em>.Endpoints</tt>,
|
|
242
|
-
* and then calls {@link createObjectAdapter}. It is provided as a
|
|
242
|
+
* and then calls {@link #createObjectAdapter}. It is provided as a
|
|
243
243
|
* convenience function.</p>
|
|
244
244
|
*
|
|
245
245
|
* <p>Calling this operation with an empty name will result in a
|
|
@@ -440,8 +440,8 @@ local interface Communicator
|
|
|
440
440
|
*
|
|
441
441
|
* <p class="Note"> You can also set a locator for an individual proxy
|
|
442
442
|
* by calling the operation <tt>ice_locator</tt> on the proxy, or for an
|
|
443
|
-
* object adapter by calling the operation {@link setLocator}
|
|
444
|
-
* object adapter.
|
|
443
|
+
* object adapter by calling the operation {@link ObjectAdapter#setLocator}
|
|
444
|
+
* on the object adapter.
|
|
445
445
|
*
|
|
446
446
|
* @param loc The default locator to use for this communicator.
|
|
447
447
|
*
|
|
@@ -22,8 +22,8 @@ module Ice
|
|
|
22
22
|
*
|
|
23
23
|
* An interface to associate implict contexts with communicators.
|
|
24
24
|
*
|
|
25
|
-
* When you make a remote invocation without an explicit
|
|
26
|
-
* Ice uses the per-proxy
|
|
25
|
+
* When you make a remote invocation without an explicit context parameter,
|
|
26
|
+
* Ice uses the per-proxy context (if any) combined with the <tt>ImplicitContext</tt>
|
|
27
27
|
* associated with the communicator.</p>
|
|
28
28
|
* <p>Ice provides several implementations of <tt>ImplicitContext</tt>. The implementation
|
|
29
29
|
* used depends on the value of the <tt>Ice.ImplicitContext</tt> property.
|
|
@@ -31,10 +31,9 @@ module Ice
|
|
|
31
31
|
* <dt><tt>None</tt> (default)</dt>
|
|
32
32
|
* <dd>No implicit context at all.</dd>
|
|
33
33
|
* <dt><tt>PerThread</tt></dt>
|
|
34
|
-
* <dd>The implementation maintains a
|
|
34
|
+
* <dd>The implementation maintains a context per thread.</dd>
|
|
35
35
|
* <dt><tt>Shared</tt></dt>
|
|
36
|
-
* <dd>The implementation maintains a single
|
|
37
|
-
* by all threads.</dd>
|
|
36
|
+
* <dd>The implementation maintains a single context shared by all threads.</dd>
|
|
38
37
|
* </dl><p>
|
|
39
38
|
*
|
|
40
39
|
* <tt>ImplicitContext</tt> also provides a number of operations to create, update or retrieve
|
|
@@ -41,7 +41,7 @@ local interface Observer
|
|
|
41
41
|
*
|
|
42
42
|
* This method is called when the instrumented object is created
|
|
43
43
|
* or when the observer is attached to an existing object.
|
|
44
|
-
*
|
|
44
|
+
*
|
|
45
45
|
**/
|
|
46
46
|
void attach();
|
|
47
47
|
|
|
@@ -62,13 +62,13 @@ local interface Observer
|
|
|
62
62
|
**/
|
|
63
63
|
void failed(string exceptionName);
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* The thread state enumeration keeps track of the different possible
|
|
69
69
|
* states of Ice threads.
|
|
70
70
|
*
|
|
71
|
-
**/
|
|
71
|
+
**/
|
|
72
72
|
local enum ThreadState
|
|
73
73
|
{
|
|
74
74
|
/**
|
|
@@ -91,7 +91,7 @@ local enum ThreadState
|
|
|
91
91
|
*
|
|
92
92
|
* The thread is calling user code (servant implementation, AMI
|
|
93
93
|
* callbacks). This state is only for threads from an Ice thread
|
|
94
|
-
* pool.
|
|
94
|
+
* pool.
|
|
95
95
|
*
|
|
96
96
|
**/
|
|
97
97
|
ThreadStateInUseForUser,
|
|
@@ -110,7 +110,7 @@ local enum ThreadState
|
|
|
110
110
|
* The thread observer interface to instrument Ice threads. This can
|
|
111
111
|
* be threads from the Ice thread pool or utility threads used by the
|
|
112
112
|
* Ice core.
|
|
113
|
-
*
|
|
113
|
+
*
|
|
114
114
|
**/
|
|
115
115
|
local interface ThreadObserver extends Observer
|
|
116
116
|
{
|
|
@@ -122,7 +122,7 @@ local interface ThreadObserver extends Observer
|
|
|
122
122
|
*
|
|
123
123
|
* @param newState The new thread state.
|
|
124
124
|
*
|
|
125
|
-
**/
|
|
125
|
+
**/
|
|
126
126
|
void stateChanged(ThreadState oldState, ThreadState newState);
|
|
127
127
|
};
|
|
128
128
|
|
|
@@ -130,14 +130,14 @@ local interface ThreadObserver extends Observer
|
|
|
130
130
|
*
|
|
131
131
|
* The state of an Ice connection.
|
|
132
132
|
*
|
|
133
|
-
**/
|
|
133
|
+
**/
|
|
134
134
|
local enum ConnectionState
|
|
135
135
|
{
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
138
138
|
* The connection is being validated.
|
|
139
139
|
*
|
|
140
|
-
**/
|
|
140
|
+
**/
|
|
141
141
|
ConnectionStateValidating,
|
|
142
142
|
|
|
143
143
|
/**
|
|
@@ -146,7 +146,7 @@ local enum ConnectionState
|
|
|
146
146
|
*
|
|
147
147
|
**/
|
|
148
148
|
ConnectionStateHolding,
|
|
149
|
-
|
|
149
|
+
|
|
150
150
|
/**
|
|
151
151
|
*
|
|
152
152
|
* The connection is active and can send and receive messages.
|
|
@@ -175,7 +175,7 @@ local enum ConnectionState
|
|
|
175
175
|
/**
|
|
176
176
|
*
|
|
177
177
|
* The connection observer interface to instrument Ice connections.
|
|
178
|
-
*
|
|
178
|
+
*
|
|
179
179
|
**/
|
|
180
180
|
local interface ConnectionObserver extends Observer
|
|
181
181
|
{
|
|
@@ -184,7 +184,7 @@ local interface ConnectionObserver extends Observer
|
|
|
184
184
|
* Notification of sent bytes over the connection.
|
|
185
185
|
*
|
|
186
186
|
* @param num The number of bytes sent.
|
|
187
|
-
*
|
|
187
|
+
*
|
|
188
188
|
**/
|
|
189
189
|
void sentBytes(int num);
|
|
190
190
|
|
|
@@ -193,7 +193,7 @@ local interface ConnectionObserver extends Observer
|
|
|
193
193
|
* Notification of received bytes over the connection.
|
|
194
194
|
*
|
|
195
195
|
* @param num The number of bytes received.
|
|
196
|
-
*
|
|
196
|
+
*
|
|
197
197
|
**/
|
|
198
198
|
void receivedBytes(int num);
|
|
199
199
|
};
|
|
@@ -217,7 +217,7 @@ local interface DispatchObserver extends Observer
|
|
|
217
217
|
* Reply notification.
|
|
218
218
|
*
|
|
219
219
|
* @param size The size of the reply.
|
|
220
|
-
*
|
|
220
|
+
*
|
|
221
221
|
**/
|
|
222
222
|
void reply(int size);
|
|
223
223
|
};
|
|
@@ -246,7 +246,7 @@ local interface ChildInvocationObserver extends Observer
|
|
|
246
246
|
* The remote observer to instrument invocations that are sent over
|
|
247
247
|
* the wire.
|
|
248
248
|
*
|
|
249
|
-
**/
|
|
249
|
+
**/
|
|
250
250
|
local interface RemoteObserver extends ChildInvocationObserver
|
|
251
251
|
{
|
|
252
252
|
};
|
|
@@ -256,7 +256,7 @@ local interface RemoteObserver extends ChildInvocationObserver
|
|
|
256
256
|
* The collocated observer to instrument invocations that are
|
|
257
257
|
* collocated.
|
|
258
258
|
*
|
|
259
|
-
**/
|
|
259
|
+
**/
|
|
260
260
|
local interface CollocatedObserver extends ChildInvocationObserver
|
|
261
261
|
{
|
|
262
262
|
};
|
|
@@ -344,7 +344,7 @@ local interface ObserverUpdater
|
|
|
344
344
|
* for each connection {@link CommunicatorObserver#getConnectionObserver}
|
|
345
345
|
* is called. The implementation of getConnectionObserver has the
|
|
346
346
|
* possibility to return an updated observer if necessary.
|
|
347
|
-
*
|
|
347
|
+
*
|
|
348
348
|
**/
|
|
349
349
|
void updateConnectionObservers();
|
|
350
350
|
|
|
@@ -357,7 +357,7 @@ local interface ObserverUpdater
|
|
|
357
357
|
* each thread {@link CommunicatorObserver#getThreadObserver} is
|
|
358
358
|
* called. The implementation of getThreadObserver has the
|
|
359
359
|
* possibility to return an updated observer if necessary.
|
|
360
|
-
*
|
|
360
|
+
*
|
|
361
361
|
**/
|
|
362
362
|
void updateThreadObservers();
|
|
363
363
|
};
|
|
@@ -394,7 +394,7 @@ local interface CommunicatorObserver
|
|
|
394
394
|
*
|
|
395
395
|
* This method should return an observer for the given endpoint
|
|
396
396
|
* information. The Ice run-time calls this method to resolve an
|
|
397
|
-
* endpoint and obtain the list of connectors.
|
|
397
|
+
* endpoint and obtain the list of connectors.
|
|
398
398
|
*
|
|
399
399
|
* For IP endpoints, this typically involves doing a DNS lookup to
|
|
400
400
|
* obtain the IP addresses associated with the DNS name.
|
|
@@ -407,11 +407,11 @@ local interface CommunicatorObserver
|
|
|
407
407
|
Observer getEndpointLookupObserver(Endpoint endpt);
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
|
-
*
|
|
410
|
+
*
|
|
411
411
|
* This method should return a connection observer for the given
|
|
412
412
|
* connection. The Ice run-time calls this method for each new
|
|
413
413
|
* connection and for all the Ice communicator connections when
|
|
414
|
-
* {@link ObserverUpdater#
|
|
414
|
+
* {@link ObserverUpdater#updateConnectionObservers} is called.
|
|
415
415
|
*
|
|
416
416
|
* @param c The connection information.
|
|
417
417
|
*
|
|
@@ -428,11 +428,11 @@ local interface CommunicatorObserver
|
|
|
428
428
|
ConnectionObserver getConnectionObserver(ConnectionInfo c, Endpoint e, ConnectionState s, ConnectionObserver o);
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
|
-
*
|
|
431
|
+
*
|
|
432
432
|
* This method should return a thread observer for the given
|
|
433
433
|
* thread. The Ice run-time calls this method for each new thread
|
|
434
434
|
* and for all the Ice communicator threads when
|
|
435
|
-
* {@link ObserverUpdater#
|
|
435
|
+
* {@link ObserverUpdater#updateThreadObservers} is called.
|
|
436
436
|
*
|
|
437
437
|
* @param parent The parent of the thread.
|
|
438
438
|
*
|
|
@@ -449,7 +449,7 @@ local interface CommunicatorObserver
|
|
|
449
449
|
ThreadObserver getThreadObserver(string parent, string id, ThreadState s, ThreadObserver o);
|
|
450
450
|
|
|
451
451
|
/**
|
|
452
|
-
*
|
|
452
|
+
*
|
|
453
453
|
* This method should return an invocation observer for the given
|
|
454
454
|
* invocation. The Ice run-time calls this method for each new
|
|
455
455
|
* invocation on a proxy.
|
|
@@ -466,7 +466,7 @@ local interface CommunicatorObserver
|
|
|
466
466
|
InvocationObserver getInvocationObserver(Object* prx, string operation, Context ctx);
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
|
-
*
|
|
469
|
+
*
|
|
470
470
|
* This method should return a dispatch observer for the given
|
|
471
471
|
* dispatch. The Ice run-time calls this method each time it
|
|
472
472
|
* receives an incoming invocation to be dispatched for an Ice
|
|
@@ -480,7 +480,7 @@ local interface CommunicatorObserver
|
|
|
480
480
|
* @return The dispatch observer to instrument the dispatch.
|
|
481
481
|
*
|
|
482
482
|
**/
|
|
483
|
-
DispatchObserver getDispatchObserver(Current c, int size);
|
|
483
|
+
DispatchObserver getDispatchObserver(Current c, int size);
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
*
|
|
@@ -496,6 +496,6 @@ local interface CommunicatorObserver
|
|
|
496
496
|
};
|
|
497
497
|
|
|
498
498
|
};
|
|
499
|
-
|
|
499
|
+
|
|
500
500
|
};
|
|
501
501
|
|
|
@@ -915,7 +915,7 @@ local exception NoObjectFactoryException extends MarshalException
|
|
|
915
915
|
* This can happen if client and server are compiled with mismatched Slice
|
|
916
916
|
* definitions or if a class of the wrong type is passed as a parameter
|
|
917
917
|
* or return value using dynamic invocation. This exception can also be
|
|
918
|
-
* raised if
|
|
918
|
+
* raised if IceStorm is used to send Slice class instances and
|
|
919
919
|
* an operation is subscribed to the wrong topic.
|
|
920
920
|
*
|
|
921
921
|
**/
|
data/slice/Ice/Locator.ice
CHANGED
|
@@ -84,7 +84,9 @@ interface Locator
|
|
|
84
84
|
{
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
|
-
* Find an object by identity and return
|
|
87
|
+
* Find an object by identity and return a proxy that contains
|
|
88
|
+
* the adapter ID or endpoints which can be used to access the
|
|
89
|
+
* object.
|
|
88
90
|
*
|
|
89
91
|
* @param id The identity.
|
|
90
92
|
*
|
|
@@ -99,8 +101,8 @@ interface Locator
|
|
|
99
101
|
|
|
100
102
|
/**
|
|
101
103
|
*
|
|
102
|
-
* Find an adapter by id and return
|
|
103
|
-
*
|
|
104
|
+
* Find an adapter by id and return a proxy that contains
|
|
105
|
+
* its endpoints.
|
|
104
106
|
*
|
|
105
107
|
* @param id The adapter id.
|
|
106
108
|
*
|
data/slice/Ice/Metrics.ice
CHANGED
|
@@ -269,7 +269,7 @@ class ThreadMetrics extends Metrics
|
|
|
269
269
|
*
|
|
270
270
|
* The number of threads which are currently performing other
|
|
271
271
|
* activities. These are all other that are not counted with
|
|
272
|
-
* {@link inUseForUser} or {@link inUseForIO}, such as DNS
|
|
272
|
+
* {@link #inUseForUser} or {@link #inUseForIO}, such as DNS
|
|
273
273
|
* lookups, garbage collection).
|
|
274
274
|
*
|
|
275
275
|
**/
|
data/slice/Ice/ObjectFactory.ice
CHANGED
data/slice/Ice/RemoteLogger.ice
CHANGED
|
@@ -26,30 +26,30 @@ module Ice
|
|
|
26
26
|
enum LogMessageType
|
|
27
27
|
{
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
*
|
|
30
30
|
* The {@link Logger} received a print message.
|
|
31
|
-
*
|
|
31
|
+
*
|
|
32
32
|
**/
|
|
33
33
|
PrintMessage,
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
*
|
|
37
37
|
* The {@link Logger} received a trace message.
|
|
38
|
-
*
|
|
38
|
+
*
|
|
39
39
|
**/
|
|
40
40
|
TraceMessage,
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
*
|
|
44
44
|
* The {@link Logger} received a warning message.
|
|
45
|
-
*
|
|
45
|
+
*
|
|
46
46
|
**/
|
|
47
47
|
WarningMessage,
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
*
|
|
51
51
|
* The {@link Logger} received an error message.
|
|
52
|
-
*
|
|
52
|
+
*
|
|
53
53
|
**/
|
|
54
54
|
ErrorMessage
|
|
55
55
|
};
|
|
@@ -71,32 +71,32 @@ sequence<LogMessageType> LogMessageTypeSeq;
|
|
|
71
71
|
struct LogMessage
|
|
72
72
|
{
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
*
|
|
75
75
|
* The type of message sent to the {@link Logger}.
|
|
76
|
-
*
|
|
76
|
+
*
|
|
77
77
|
**/
|
|
78
78
|
LogMessageType type;
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
*
|
|
82
82
|
* The date and time when the {@link Logger} received this message, expressed
|
|
83
83
|
* as the number of microseconds since the Unix Epoch (00:00:00 UTC on 1 January 1970)
|
|
84
|
-
*
|
|
84
|
+
*
|
|
85
85
|
**/
|
|
86
86
|
long timestamp;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
90
|
-
* For a message of type trace, the trace category of this log message;
|
|
89
|
+
*
|
|
90
|
+
* For a message of type trace, the trace category of this log message;
|
|
91
91
|
* otherwise, the empty string.
|
|
92
|
-
*
|
|
92
|
+
*
|
|
93
93
|
**/
|
|
94
94
|
string traceCategory;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
*
|
|
98
98
|
* The log message itself.
|
|
99
|
-
*
|
|
99
|
+
*
|
|
100
100
|
**/
|
|
101
101
|
string message;
|
|
102
102
|
};
|
|
@@ -123,24 +123,24 @@ interface RemoteLogger
|
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
125
|
* init is called by {@link LoggerAdmin#attachRemoteLogger} when a
|
|
126
|
-
* RemoteLogger proxy is attached.
|
|
126
|
+
* RemoteLogger proxy is attached.
|
|
127
127
|
*
|
|
128
128
|
* @param prefix The prefix of the associated local {@link Logger}
|
|
129
|
-
*
|
|
129
|
+
*
|
|
130
130
|
* @param logMessages Old log messages generated before "now".
|
|
131
131
|
*
|
|
132
132
|
* @see LoggerAdmin#attachRemoteLogger
|
|
133
133
|
*
|
|
134
134
|
*
|
|
135
135
|
**/
|
|
136
|
-
void init(string prefix, LogMessageSeq logMessages);
|
|
136
|
+
void init(string prefix, LogMessageSeq logMessages);
|
|
137
|
+
|
|
137
138
|
|
|
138
|
-
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
141
141
|
* Log a {@link LogMessage}. Note that log may be called by {@link LoggerAdmin}
|
|
142
142
|
* before {@link #init}.
|
|
143
|
-
*
|
|
143
|
+
*
|
|
144
144
|
* @param message The message to log.
|
|
145
145
|
*
|
|
146
146
|
* @see Logger
|
|
@@ -163,7 +163,7 @@ exception RemoteLoggerAlreadyAttachedException
|
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
*
|
|
166
|
-
* The interface of the admin object that allows an Ice application the attach its
|
|
166
|
+
* The interface of the admin object that allows an Ice application the attach its
|
|
167
167
|
* {@link RemoteLogger} to the {@link Logger} of this admin object's Ice communicator.
|
|
168
168
|
*
|
|
169
169
|
**/
|
|
@@ -171,8 +171,8 @@ interface LoggerAdmin
|
|
|
171
171
|
{
|
|
172
172
|
/**
|
|
173
173
|
*
|
|
174
|
-
* attachRemoteLogger is called to attach a {@link RemoteLogger} object to
|
|
175
|
-
* the local {@link Logger}.
|
|
174
|
+
* attachRemoteLogger is called to attach a {@link RemoteLogger} object to
|
|
175
|
+
* the local {@link Logger}.
|
|
176
176
|
* attachRemoteLogger calls init on the provided {@link RemoteLogger} proxy.
|
|
177
177
|
*
|
|
178
178
|
* @param prx A proxy to the remote logger.
|
|
@@ -182,9 +182,9 @@ interface LoggerAdmin
|
|
|
182
182
|
*
|
|
183
183
|
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
|
184
184
|
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
|
185
|
-
* An empty list means no filtering (send all trace categories).
|
|
185
|
+
* An empty list means no filtering (send all trace categories).
|
|
186
186
|
*
|
|
187
|
-
* @param messageMax The maximum number of log messages (of all types) to be provided
|
|
187
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
|
188
188
|
* to {@link RemoteLogger#init}. A negative value requests all messages available.
|
|
189
189
|
*
|
|
190
190
|
* @throws RemoteLoggerAlreadyAttachedException Raised if this remote logger is already
|
|
@@ -192,7 +192,7 @@ interface LoggerAdmin
|
|
|
192
192
|
*
|
|
193
193
|
**/
|
|
194
194
|
void attachRemoteLogger(RemoteLogger* prx, LogMessageTypeSeq messageTypes, StringSeq traceCategories,
|
|
195
|
-
int messageMax)
|
|
195
|
+
int messageMax)
|
|
196
196
|
throws RemoteLoggerAlreadyAttachedException;
|
|
197
197
|
|
|
198
198
|
/**
|
|
@@ -211,14 +211,14 @@ interface LoggerAdmin
|
|
|
211
211
|
*
|
|
212
212
|
* getLog retrieves log messages recently logged.
|
|
213
213
|
*
|
|
214
|
-
* @param messageTypes The list of message types that the caller wishes to receive.
|
|
214
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
|
215
215
|
* An empty list means no filtering (send all message types).
|
|
216
216
|
*
|
|
217
217
|
* @param traceCategories The categories of traces that caller wish to receive.
|
|
218
218
|
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
|
219
|
-
* An empty list means no filtering (send all trace categories).
|
|
219
|
+
* An empty list means no filtering (send all trace categories).
|
|
220
220
|
*
|
|
221
|
-
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
|
221
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
|
222
222
|
* A negative value requests all messages available.
|
|
223
223
|
*
|
|
224
224
|
* @param prefix The prefix of the associated local {@link Logger}.
|