diff options
author | Jose <jose@zeroc.com> | 2014-05-02 21:32:34 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-05-02 21:32:34 +0200 |
commit | b28fb85d445c3907143d8fa4ba3f2bf2802b754d (patch) | |
tree | 876949adbfce417b4247f2ef66cd1eb69f02b9c4 /cpp/src/Ice/TcpTransceiver.cpp | |
parent | Update dependencies (diff) | |
download | ice-b28fb85d445c3907143d8fa4ba3f2bf2802b754d.tar.bz2 ice-b28fb85d445c3907143d8fa4ba3f2bf2802b754d.tar.xz ice-b28fb85d445c3907143d8fa4ba3f2bf2802b754d.zip |
Fixed (ICE-5510) - Remove Stats interface that was deprecated in 3.5
Diffstat (limited to 'cpp/src/Ice/TcpTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/TcpTransceiver.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cpp/src/Ice/TcpTransceiver.cpp b/cpp/src/Ice/TcpTransceiver.cpp index 6459099dfd2..6f32d06ed8f 100644 --- a/cpp/src/Ice/TcpTransceiver.cpp +++ b/cpp/src/Ice/TcpTransceiver.cpp @@ -15,7 +15,6 @@ #include <Ice/LocalException.h> #include <IceUtil/DisableWarnings.h> -#include <Ice/Stats.h> using namespace std; using namespace Ice; @@ -265,11 +264,6 @@ IceInternal::TcpTransceiver::write(Buffer& buf) << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(_instance->protocol(), static_cast<Int>(ret)); - } - buf.i += ret; if(packetSize > buf.b.end() - buf.i) @@ -344,11 +338,6 @@ IceInternal::TcpTransceiver::read(Buffer& buf, bool&) << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(_instance->protocol(), static_cast<Int>(ret)); - } - buf.i += ret; packetSize = static_cast<int>(buf.b.end() - buf.i); @@ -438,11 +427,6 @@ IceInternal::TcpTransceiver::finishWrite(Buffer& buf) << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(_instance->protocol(), _write.count); - } - buf.i += _write.count; } @@ -517,11 +501,6 @@ IceInternal::TcpTransceiver::finishRead(Buffer& buf) << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(_instance->protocol(), static_cast<Int>(_read.count)); - } - buf.i += _read.count; } #endif |