Actually i figured this one out.

DemuxingCodecFactory appears to maintain the relationship between the IoSession and the Decoder instance which allows for decoder to have member variables

On 4/2/2011 11:23 AM, Jason Weinstein wrote:
In the example sumup

package org.apache.mina.example.sumup.codec;


The decoder has member variables

type, sequence, readHeader


Is it not the case that if the incoming message is fragmented that the decoder's member variables will be out of sync with the IoSession it is presented with??

Thanks

Reply via email to