On 9/3/07, Sungwon Jung <[EMAIL PROTECTED]> wrote: > thank you! > I'm using CumulativeProtocolDecoder. sorry. > but I don't want cumulative packet. > > do I make un-cumulative protocol decoder? or is there un-cumulative > protocol decoder in mina?
Well, you have to use cumulative protocol decoder if you are on TCP/IP. You just need to move the buffer position properly so CumulativeProtocolDecoder notice up to where you read the packet. In an ordinary situation, you will consume the buffer up to the end of the message, but it seems like you are doing something different. You have to set the current position of the buffer to the end of the message so that CumulativeProtocolDecoder can discard decoded part. HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
