BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. HTML5 Canvas
  2. Ruby
  3. iPhone/iPad
  4. Spring Web Flow
  5. REST
  1. jQuery Selectors
  2. Spring Config.
  3. Java
  4. Ajax
  5. Java Concurrency

Link Details

Link 132556 thumbnail
User 343226 avatar

By paliwalashish
via ashishpaliwal.com
Published: Nov 10 2008 / 12:50

Apache MINA uses the concept of Protocol Decoder to decoder read bytes into High Level Message objects. There are conditions in which a single packet may not contain the complete bytes to convert raw message into High Level Objects. For such situations, CumulativeProtocolDecoder can be used. Basically, encoder makes the framework buffer the data, till the complete data is received, to convert the byte[] into a high level object.
  • 9
  • 2
  • 2856
  • 54

Comments

Add your comment
User 352802 avatar

deepthikrishna replied ago:

0 votes Vote down Vote up Reply

description is too low....

User 349415 avatar

mheath.myopenid.com replied ago:

0 votes Vote down Vote up Reply

This article doesn't explain anything and doesn't give CumulativeProtocolDecoder the credit it deserves.

User 343226 avatar

paliwalashish replied ago:

0 votes Vote down Vote up Reply

Mike, Have explained the Adapter usage in article for creating XML Decoder and this post has a link to it. So, in essence the information is there. May not be the best, but enough to understand the same. And definitely, had tried to ensure that it gets it due credits :-)

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.