Hi everyone

I'm fairly new to MINA and have created a server which will receive text-based commands. Using the TextLineCodecFactory as the ProtocolCodecFilter seems to do the job well.

Say that I wanted to modify the server to accept byte-based commands aswell (or just pure byte commands and then converted to a string), what codec/filter can I add? Do I have to create one?

I hope what I'm saying make sense, basically I believe a few of the messages that are being sent to the server are being ignored (not recognized as messageReceived is not invoked) and I suspect that these messages contain bytes not characters, so I was wondering if it was possible to use a different codec/filter?

Thanks
Conrad

Reply via email to