Hello. I'm using MINA 1.1.2. I'm using CumulativeProtocolDecoder. When I recieved large size packet(about 220bytes), the packet is splited. How can I assemble the splited packet?
Thank you.
my code>
public class PacketReqAnalysis extends CumulativeProtocolDecoder
{
protected boolean doDecode(IoSession session, ByteBuffer in,
ProtocolDecoderOutput out) throws Exception {
if( start == PacketDefine.START ) {
return true;
} else {
return false;
}
}
}
