On Jul 3, 2006, at 4:48 AM, Trustin Lee wrote:
* The class name ends with 'Filter', but it's not a filter. Wouldn't there be a better name? This is very close to IoFilterChainBuilder, but it's too
long.  Any idea?

renamed to ReadThrottleFilterBuilder

* We have to increate the counter by remaining() instead of capacity () to be
more accurate.

done

* Is it impossible to use getTrafficMask() instead of using the session
attribute?  Was there any reason to do so?

I use the session attribute so that the filter can keep track of if its the one that disabled reads.. but looking back at the logic I have, it seems like it might be superfluous.. but it just felt safe to have it in there :)

-pete



--
[EMAIL PROTECTED] - http://fotap.org/~osi



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to