Hello. I'm using MINA 1.1.2.
let me see my server code.
--
public class PacketReqAnalysis extends CumulativeProtocolDecoder
{
protected boolean doDecode(IoSession session, ByteBuffer in,
ProtocolDecoderOutput out) throws Exception {
int start = in.get() & 0xFF;
if( start == 0xCC ) {
// do something
System.out.println( "IN" );
return true;
} else {
System.out.println( "OUT" );
return false;
}
--
if client send message to server slowly(this mean, not very fast),
"if( start == 0xCC )" routine can catch message. (print "IN")
but if client send message to server very fast, "if( start == 0xCC )"
routine cannot catch message. (print "OUT")
is it normal problem?