summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Outgoing.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-01-07 10:16:41 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-01-07 10:16:41 +0100
commit2c9e1d532eb36bce9167a0ec656808c0a653730a (patch)
tree58781d4f42f58a8bdc03a0c8a1a5fd3160fa44fb /cpp/src/Ice/Outgoing.cpp
parentFixed (ICE-5058) - WinRT port Platform::AccessDeniedException (diff)
downloadice-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 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r--cpp/src/Ice/Outgoing.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp
index 85e15a53509..118dc25612c 100644
--- a/cpp/src/Ice/Outgoing.cpp
+++ b/cpp/src/Ice/Outgoing.cpp
@@ -379,9 +379,14 @@ IceInternal::Outgoing::finished(BasicStream& is)
assert(_handler->getReference()->getMode() == Reference::ModeTwoway); // Can only be called for twoways.
assert(_state <= StateInProgress);
+ if(_remoteObserver)
+ {
+ _remoteObserver->reply(is.b.size() - headerSize - 4);
+ }
_remoteObserver.detach();
_is.swap(is);
+
Byte replyStatus;
_is.read(replyStatus);