Hi,

just a short question: When I use a single ProtocolDecoder in my FilterChain, must I consume all bytes in it? I ask because of while testing I realized increasing memory consumption over the time. I had the idea, that the ByteBuffer was eventually not cleared correctly from my side (I currently read only a part of the bytes in it).

That's why I ask: Can somebody explain in some short sentences, which part of Mina takes care of which elements (especially ByteBuffer) in this queue (Filter - Codec - IoSession) and which actions the user must do to keep the things running?

Best Regards
Michael

Reply via email to