Author: toad
Date: 2008-03-06 23:19:30 +0000 (Thu, 06 Mar 2008)
New Revision: 18406
Modified:
trunk/freenet/src/freenet/node/ResettingHTLProbeRequestSender.java
Log:
Probe requests too
Modified: trunk/freenet/src/freenet/node/ResettingHTLProbeRequestSender.java
===================================================================
--- trunk/freenet/src/freenet/node/ResettingHTLProbeRequestSender.java
2008-03-06 23:15:00 UTC (rev 18405)
+++ trunk/freenet/src/freenet/node/ResettingHTLProbeRequestSender.java
2008-03-06 23:19:30 UTC (rev 18406)
@@ -420,6 +420,7 @@
synchronized(totalBytesSync) {
totalBytesSent += x;
}
+ node.nodeStats.probeRequestCtr.sentBytes(x);
}
public int getTotalSentBytes() {
@@ -434,6 +435,7 @@
synchronized(totalBytesSync) {
totalBytesReceived += x;
}
+ node.nodeStats.probeRequestCtr.receivedBytes(x);
}
public int getTotalReceivedBytes() {
@@ -448,6 +450,7 @@
public void sentPayload(int x) {
node.sentPayload(x);
+ node.nodeStats.probeRequestCtr.sentBytes(x);
}
public boolean isLocalRequestSearch() {