Hi

I am just starting to get to grips with MINA 2.0, and have a question about the 
use of IOBuffer, which I hope someone can help me with.
Apologies up front for the newbie status of this:

When a ProtocolDecoder recieves an IOBuffer to decode I have read that my 
incoming message may not have been fully written,
and it is up to the decoder to handle this, druing the translation to my POJO.

But, if my message has been fully written - is the buffer likely tohave another 
message in it ?

For example: say the IOBuffer is 650 bytes in length (and assume 
non-auto-expanding).
My inbound message is 300 bytes.

Once I have read the 300 bytes and converted to a POJO - will I ever see a 
second message in the IOBuffer, following on ?

Many thanks in advance
Yasdnil

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to