Author: toad
Date: 2008-03-20 17:04:46 +0000 (Thu, 20 Mar 2008)
New Revision: 18648

Modified:
   trunk/freenet/src/freenet/node/MessageItem.java
Log:
Javadocs/comments.

Modified: trunk/freenet/src/freenet/node/MessageItem.java
===================================================================
--- trunk/freenet/src/freenet/node/MessageItem.java     2008-03-20 17:03:45 UTC 
(rev 18647)
+++ trunk/freenet/src/freenet/node/MessageItem.java     2008-03-20 17:04:46 UTC 
(rev 18648)
@@ -56,6 +56,10 @@
         return buf;
     }

+    /**
+     * @param length The actual number of bytes sent to send this message, 
including our share of the packet overheads,
+     * *and including alreadyReportedBytes*, which is only used when deciding 
how many bytes to report to the throttle.
+     */
        public void onSent(int length) {
         //NB: The fact that the bytes are counted before callback 
notifications is important for load management.
                if(ctrCallback != null) {


Reply via email to