diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-01-07 10:16:41 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-01-07 10:16:41 +0100 |
commit | 2c9e1d532eb36bce9167a0ec656808c0a653730a (patch) | |
tree | 58781d4f42f58a8bdc03a0c8a1a5fd3160fa44fb /java/src/IceInternal/Outgoing.java | |
parent | Fixed (ICE-5058) - WinRT port Platform::AccessDeniedException (diff) | |
download | ice-2c9e1d532eb36bce9167a0ec656808c0a653730a.tar.bz2 ice-2c9e1d532eb36bce9167a0ec656808c0a653730a.tar.xz ice-2c9e1d532eb36bce9167a0ec656808c0a653730a.zip |
Fixed ICE-4933: Added size and replySize fields to dispatch and remote invocation metrics, support for requestId attribute
Diffstat (limited to 'java/src/IceInternal/Outgoing.java')
-rw-r--r-- | java/src/IceInternal/Outgoing.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/java/src/IceInternal/Outgoing.java b/java/src/IceInternal/Outgoing.java index fb857e8f865..ae5b60f3da9 100644 --- a/java/src/IceInternal/Outgoing.java +++ b/java/src/IceInternal/Outgoing.java @@ -9,7 +9,7 @@ package IceInternal; -import Ice.Instrumentation.Observer; +import Ice.Instrumentation.RemoteObserver; import Ice.Instrumentation.InvocationObserver; public final class Outgoing implements OutgoingMessageCallback @@ -304,6 +304,7 @@ public final class Outgoing implements OutgoingMessageCallback if(_remoteObserver != null) { + _remoteObserver.reply(is.size() - Protocol.headerSize - 4); _remoteObserver.detach(); _remoteObserver = null; } @@ -544,11 +545,11 @@ public final class Outgoing implements OutgoingMessageCallback } public void - attachRemoteObserver(Ice.ConnectionInfo info, Ice.Endpoint endpt) + attachRemoteObserver(Ice.ConnectionInfo info, Ice.Endpoint endpt, int requestId, int size) { if(_observer != null) { - _remoteObserver = _observer.getRemoteObserver(info, endpt); + _remoteObserver = _observer.getRemoteObserver(info, endpt, requestId, size); if(_remoteObserver != null) { _remoteObserver.attach(); @@ -648,7 +649,7 @@ public final class Outgoing implements OutgoingMessageCallback private int _state; private InvocationObserver _observer; - private Observer _remoteObserver; + private RemoteObserver _remoteObserver; public Outgoing next; // For use by Ice._ObjectDelM } |