ctx.append(in); ctx.setMatchCount(matchCount);
ctx.append(in); ctx.setMatchCount(matchCount);
ctx.append(in); ctx.setMatchCount(matchCount);
ctx.append(in); ctx.setMatchCount(matchCount);
ctx.append(in); ctx.setMatchCount(matchCount);
ctx.append(in); ctx.setMatchCount(matchCount);
public void decode( IoSession session, ByteBuffer in, ProtocolDecoderOutput out ) throws Exception { Context ctx = getContext(session); if( LineDelimiter.AUTO.equals( delimiter ) ) { ctx.setMatchCount( decodeAuto( in, ctx.getBuffer(), ctx.getMatchCount(), ctx.getDecoder(), out ) ); } else { ctx.setMatchCount( decodeNormal( in, ctx.getBuffer(), ctx.getMatchCount(), ctx.getDecoder(), out ) ); } }