MINA's ProtocolCodecFilter is smart enough to not attempt an encode if a ByteBuffer passes through it.
Now I use session.write(MyOwnMessage) in IOHandler. The encode happened in
protocol filter encodeBody.
You meant if I use session.write(bytebuffer) in IOHandler, the encodeBody
in protocol filter will never be called? So you can still use it for decoding safely.
You meant encoding?
