On 4/18/06, Michael Bauroth <[EMAIL PROTECTED]> wrote:
>
> Hi :)
>
> Trustin Lee wrote:
>
> > DemuxingProtocolCodecFactory cannot pass uninterpreted ByteBuffer
> because it
> > cannot determine where the unknown message starts and ends.  You have to
> add
> > a MessageDecoder which writes the unknown part of the ByteBuffer to
> > ProtocolDecoderOutput, then you can handle it in the next codec filter
> or
> > handler.
>
> this part describes exactly the point, where I'm confused. If the
> ProtocolDecoderOutput of the previous filter will be used (read in) in
> the next codec filter as part of the normal ByteBuffer too, all
> questions are answered.
> In older mails I've understood this part in an other way. I thought,
> that the ProtocolDecoderOutput would be directed to the IoSession
> without passing the rest of the filter chain. Did I understood here
> something false?


ProtocolDecoderOuput passes the decoded message to the next filter.  :)

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to