diff options
Diffstat (limited to 'cpp/src/IceSSL/TransceiverI.cpp')
-rw-r--r-- | cpp/src/IceSSL/TransceiverI.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/cpp/src/IceSSL/TransceiverI.cpp b/cpp/src/IceSSL/TransceiverI.cpp index 738feef1f53..1e07c42e9c3 100644 --- a/cpp/src/IceSSL/TransceiverI.cpp +++ b/cpp/src/IceSSL/TransceiverI.cpp @@ -20,7 +20,6 @@ #include <Ice/LocalException.h> #include <IceUtil/DisableWarnings.h> -#include <Ice/Stats.h> #include <openssl/err.h> #include <openssl/bio.h> @@ -610,11 +609,6 @@ IceSSL::TransceiverI::write(IceInternal::Buffer& buf) out << "sent " << ret << " of " << packetSize << " bytes via " << protocol() << "\n" << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(_instance->protocol(), static_cast<Int>(ret)); - } - buf.i += ret; if(packetSize > buf.b.end() - buf.i) @@ -789,11 +783,6 @@ IceSSL::TransceiverI::read(IceInternal::Buffer& buf, bool&) out << "received " << ret << " of " << packetSize << " bytes via " << protocol() << "\n" << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(_instance->protocol(), static_cast<Int>(ret)); - } - buf.i += ret; if(packetSize > buf.b.end() - buf.i) @@ -900,11 +889,6 @@ IceSSL::TransceiverI::finishWrite(IceInternal::Buffer& buf) out << "sent " << _sentBytes << " of " << packetSize << " bytes via " << protocol() << "\n" << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(_instance->protocol(), static_cast<Int>(_sentBytes)); - } - buf.i += _sentBytes; _sentBytes = 0; } @@ -941,11 +925,6 @@ IceSSL::TransceiverI::startRead(IceInternal::Buffer& buf) out << "received " << ret << " of " << packetSize << " bytes via " << protocol() << "\n" << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(_instance->protocol(), static_cast<Int>(ret)); - } - buf.i += ret; _read.count = 0; @@ -1022,11 +1001,6 @@ IceSSL::TransceiverI::finishRead(IceInternal::Buffer& buf) out << "received " << ret << " of " << packetSize << " bytes via " << protocol() << "\n" << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(_instance->protocol(), static_cast<Int>(ret)); - } - buf.i += ret; } } @@ -1458,11 +1432,6 @@ IceSSL::TransceiverI::writeRaw(IceInternal::Buffer& buf) out << "sent " << ret << " of " << packetSize << " bytes via " << protocol() << "\n" << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(protocol(), static_cast<Int>(ret)); - } - buf.i += ret; if(packetSize > buf.b.end() - buf.i) @@ -1531,11 +1500,6 @@ IceSSL::TransceiverI::readRaw(IceInternal::Buffer& buf) out << "received " << ret << " of " << packetSize << " bytes via " << protocol() << "\n" << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(protocol(), static_cast<Int>(ret)); - } - buf.i += ret; packetSize = static_cast<int>(buf.b.end() - buf.i); |