Progressively decode a message (and other questions)

Timmy Chen chentm at gmail.com
Sat Jan 22 07:31:56 EST 2011


Hi Trustin,


>http://docs.jboss.org/netty/3.2/xref/org/jboss/netty/handler/codec/frame/LengthFieldBasedFrameDecoder.html

>You can optimize it even further by not extending FrameDecoder if you
>really want, but I think it will perform just well enough.

How and why can the LengthFieldBasedFrameDecoder perform better by not
extending FrameDecoder? Just remove the "extends FrameDecoder" part
and put the decode logic in a MessageReceived method?



On Sat, Jan 22, 2011 at 1:15 PM, AshwinJay <ashwin.jayaprakash at gmail.com> wrote:
>
> Thanks for the reply.
>
> FYI, check this out when you have the time - http://jfs.des.udc.es/ and
> http://torusware.com/
>
> Ashwin.
>
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Progressively-decode-a-message-and-other-questions-tp5739022p5950197.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>



-- 
Timmy


More information about the netty-users mailing list