Le 12/13/12 5:41 PM, Arnaud bourree a écrit :
> I don't follow: Mina codecs process IOBuffer which is Mina specific.
> If you want to made codec independent you should used reader/writer or
> streams, then you loose Mina power.
Nope.

You can (shoud) disconnect the decoder completely.

In fact a decoder should work with no interaction with MINA. This is
what we have done with ApacheDS : our decoder has no knowledge about
MINA, it's capable of decoding a LDAP request even if the data arrives
in small chunks, and it works absolutely well with MINA.

All our decoding tests are done with the decoder, and no MINA around.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to