From b28fb85d445c3907143d8fa4ba3f2bf2802b754d Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 2 May 2014 21:32:34 +0200 Subject: Fixed (ICE-5510) - Remove Stats interface that was deprecated in 3.5 --- cpp/src/Ice/UdpTransceiver.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'cpp/src/Ice/UdpTransceiver.cpp') diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp index dd5d77775d4..6c9f722aeb8 100644 --- a/cpp/src/Ice/UdpTransceiver.cpp +++ b/cpp/src/Ice/UdpTransceiver.cpp @@ -17,7 +17,6 @@ #include #include -#include #ifdef ICE_OS_WINRT # include // For Concurrency::task @@ -240,11 +239,6 @@ repeat: out << "sent " << ret << " bytes via " << _instance->protocol() << '\n' << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(protocol(), static_cast(ret)); - } - assert(ret == static_cast(buf.b.size())); buf.i = buf.b.end(); return SocketOperationNone; @@ -361,11 +355,6 @@ repeat: out << "received " << ret << " bytes via " << _instance->protocol() << '\n' << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(protocol(), static_cast(ret)); - } - buf.b.resize(ret); buf.i = buf.b.end(); return SocketOperationNone; @@ -622,11 +611,6 @@ IceInternal::UdpTransceiver::finishWrite(Buffer& buf) out << "sent " << _write.count << " bytes via " << _instance->protocol() << '\n' << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesSent(protocol(), static_cast(_write.count)); - } - assert(_write.count == buf.b.size()); buf.i = buf.b.end(); } @@ -767,11 +751,6 @@ IceInternal::UdpTransceiver::finishRead(Buffer& buf) out << "received " << ret << " bytes via " << _instance->protocol() << '\n' << toString(); } - if(_instance->stats()) - { - _instance->stats()->bytesReceived(protocol(), static_cast(ret)); - } - buf.b.resize(ret); buf.i = buf.b.end(); } -- cgit v1.2.3