You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by lleclerc <ll...@aim-rg.com> on 2013/07/26 16:32:12 UTC
Sending multiples message in stream
Hello,
I am currently using a CumulativeProtocolDecoder, maybe I am not using right
component, haven't found anything else.
I have a session that will send messages of different size, from a string to
an image. Right now I added an Header that have the message size and read in
a buffer until is complete and then return.
My problem is that if I sent multiple message in a single Tcp message, how
can I trigger many messageReceived on my IoHandler ? The decoder can only
return a single message per call.
Thank you,
--
View this message in context: http://apache-mina.10907.n7.nabble.com/Sending-multiples-message-in-stream-tp39180.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.