let's say that the client sent 3 messages together (single TCP send). In that case my CumulativeProtocolDecoder starts decoding and can actually produce 3 message objects, but once decode returns true, my IoHandler's messageReceived is invoked with only one of them. Is there a way to produce the 3 objects and make MINA invoke messageReceived repeatedly with all 3?
On 4/1/06, peter royal <[EMAIL PROTECTED]> wrote: > > On Apr 1, 2006, at 3:49 PM, Zohar Amir wrote: > > Yes, it makes sense, but what about the other issue - multiple > > messages sent > > together? Can I decode a few messages and let MINA invoke my > > IoHandler's > > messageReceived method with all of them somehow? > > IoHandler.messageReceived will be called once for each message that > you decode. Is that what you want? > -pete > > -- > [EMAIL PROTECTED] - http://fotap.org/~osi > > > > >
