[freenet-cvs] r11653 - trunk/freenet/src/freenet/io/comm

toad at freenetproject.org toad at freenetproject.org
Sat Feb 3 14:15:49 UTC 2007


Author: toad
Date: 2007-02-03 14:15:49 +0000 (Sat, 03 Feb 2007)
New Revision: 11653

Modified:
   trunk/freenet/src/freenet/io/comm/IncomingPacketFilter.java
Log:
Comments

Modified: trunk/freenet/src/freenet/io/comm/IncomingPacketFilter.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/IncomingPacketFilter.java	2007-02-03 14:14:54 UTC (rev 11652)
+++ trunk/freenet/src/freenet/io/comm/IncomingPacketFilter.java	2007-02-03 14:15:49 UTC (rev 11653)
@@ -13,7 +13,8 @@
      * Process an incoming packet. This method should call
      * USM.decodePacket() and USM.checkFilters() if necessary to 
      * decode and dispatch messages.
-     * @param buf The buffer to read from.
+     * @param buf The buffer to read from. Note that this may be reused later on; any
+     * data to keep must be copied.
      * @param offset The offset to start reading from.
      * @param length The length in bytes to read.
      * @param peer The peer which sent us the packet. We only know




More information about the cvs mailing list