Handling Messages
Ankush Bhatiya
ankushb at gmail.com
Mon Jun 28 13:49:59 EDT 2010
Hi,
I have a confusion regarding FrameDecoder. My netty client is receiving
messages which are 1000 bytes long(My machine's MTU is 1500). For a single
message how many times decode(ChannelHandlerContext ctx, Channel channel,
ChannelBuffer buf) method will be called.
Since message length is less than MTU, my thought is "decode" will be called
per message, Am I correct or do I have to handle multiple "decode" call
based on buf.readableBytes().
Thanks
Ankush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20100628/c1000b56/attachment.html
More information about the netty-users
mailing list