mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <l...@toolazydogs.com>
Subject Re: [MINA 3.0] Initial thoughts on FilterChain
Date Fri, 27 Nov 2009 16:01:02 GMT

On Nov 26, 2009, at 2:48 AM, Emmanuel Lecharny wrote:

> Ashish wrote:
>> Have started looking into the FilterChain implementation and here are
>> some initial thoughts
>>
>> 1. Rename IoFilterChain as IoChannel - it gives a more clear picture
>> and is easy to understand like imagine as a Channel with multiple
>> stages aka IoFilters.
>> This came while I was drawing on paper to design something.
>>
> Well, I would rather keep the current name. The 'filter' terminology  
> is quite commonly accepted for such a pattern. Servlet uses it (http://java.sun.com/blueprints/patterns/InterceptingFilter.html

> ), and it also refers to the CoR pattern (http://en.wikipedia.org/wiki/Chain-of-responsibility_pattern

> ).

Also, one should avoid overlap w/ NIO channels, imo.


Regards,
Alan


Mime
View raw message