Hi guys,
today I found a mail on the users ML :
Erix Yao wrote:
Why the NextFilter interface is defined?
What is its special purpose?
It has almost the same interface with IoFilter, why define them again ?
Or we can let NextFilter extends IoFilter.
This is quite an interesting mail. A perfect demonstration on the
complexity of this part of MINA, which is, IMHO, overworked.
There is no need of those extra structure, as we can provide the very
same behavior (ie, dynamic filter addition, message chaining, etc)
whithout having to deal with such useless interfaces.
I suggest we think twice about how to simplify the chain we have in
order to make it easier to use for those who are new comers - and also
for those who are already using MINA, not talking about those who are
developing MINA -.
thoughts ?
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org