Re: Understanding DemuxingProtocolCodec

2009-08-04 Thread boB Gage
Caveat: I'm not one of the Mina developers, but I have been working with it for awhile now. Anything I say could be wrong, just not intentionally so. :-) Far as I know, when you return NOT_OK, losing the second packet in a 2+ packet burst is the least of your problems.Returning NOT_OK

Re: Understanding DemuxingProtocolCodec

2009-08-04 Thread Emmanuel Lecharny
Daryl Ayres wrote: boB, Based on what you've said, it sounds like I would need to have a ThrowawayDecoder as the last decoder in my ProtocolCodecFactory to consume or clear those packets in the protocol I'm not currently handling. I'll create one and give it a go. This would be the

Re: Understanding DemuxingProtocolCodec

2009-08-04 Thread Daryl Ayres
Great. I have not had a chance to implement it yet, but I appreciate your response and confirmation of the approach. V/r, Daryl - Original Message From: Emmanuel Lecharny elecha...@apache.org To: users@mina.apache.org Sent: Tuesday, August 4, 2009 12:57:32 PM Subject: Re: