Hi,
I started playing with Mina a got a small client / server application working
using the default TextLineCodecFactory using strings.
"messagetype,param1,param2,param3,etc,\n"
So far everythings works nice but after Reading the "Tutorial on
ProtocolCodecFilter (for Mina 2.x) " I'm left to wonder that it works because
I'm testing on localhost and the buffer is always complete.
AM I correct in my understanding that in real life I could receive messages in
IoHandlerAdapter.messageReceived that look like this
"messagetype,param1,p"
Or even worst a split of 2 messages
"param5,\n,messagetype,param1,param2"
I would like confirmation of my 2 assupmtions please. (But would be happier
that I'm wrong)
If so then I hope Maarten Bosteels complete his delimiter tutorial.
Thanks
_________________________________________________________________