Re: Why only one ProtocolCodecFilter per chain

2007-06-14 Thread 向秦贤
Hi, I did not use ExecutionFilter in my FTP client, bu from somes mails I guess that It's after code filter do object1 -->objectN work, is it? if it's true, mina do like this: BB--decoder-->Type1-->executionFilter1-->Type2-->...TypeN is it? Grizzly do a FILO stack filter chain rule. maybe it's not

Re: Why only one ProtocolCodecFilter per chain

2007-06-07 Thread Trustin Lee
On 6/8/07, peter royal <[EMAIL PROTECTED]> wrote: On Jun 7, 2007, at 8:37 AM, Chris Audley wrote: > Why does MINA limit one ProtocolCodecFilter in an IoFilterChain? you can only go from ByteBuffer -> non-ByteBuffer once :) A decoder could output ByteBuffer again and let it decoded later in the

Re: Why only one ProtocolCodecFilter per chain

2007-06-07 Thread peter royal
On Jun 7, 2007, at 8:37 AM, Chris Audley wrote: Why does MINA limit one ProtocolCodecFilter in an IoFilterChain? you can only go from ByteBuffer -> non-ByteBuffer once :) This seems to be an unnecessary limitation. What if I want to use a series of codecs in order to build more complicated

Why only one ProtocolCodecFilter per chain

2007-06-07 Thread Chris Audley
Why does MINA limit one ProtocolCodecFilter in an IoFilterChain? This seems to be an unnecessary limitation. What if I want to use a series of codecs in order to build more complicated behaviours. I could have a line oriented filter that converts between ByteBuffers and lines, another that conve