summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpTransceiver.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-05-02 21:32:34 +0200
committerJose <jose@zeroc.com>2014-05-02 21:32:34 +0200
commitb28fb85d445c3907143d8fa4ba3f2bf2802b754d (patch)
tree876949adbfce417b4247f2ef66cd1eb69f02b9c4 /cpp/src/Ice/UdpTransceiver.cpp
parentUpdate dependencies (diff)
downloadice-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/UdpTransceiver.cpp')
-rw-r--r--cpp/src/Ice/UdpTransceiver.cpp21
1 files changed, 0 insertions, 21 deletions
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 <IceUtil/StringUtil.h>
#include <IceUtil/DisableWarnings.h>
-#include <Ice/Stats.h>
#ifdef ICE_OS_WINRT
# include <ppltasks.h> // 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<Int>(ret));
- }
-
assert(ret == static_cast<ssize_t>(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<Int>(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<Int>(_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<Int>(ret));
- }
-
buf.b.resize(ret);
buf.i = buf.b.end();
}