Also have a look at this thread: http://www.nabble.com/sending-receiving-a-byte---to14199165s16868.html#a14209316
And please note that there are two versions of the codec tutorial : for mina 1.x : http://mina.apache.org/tutorial-on-protocolcodecfilter.html for mina 2.0x : http://mina.apache.org/tutorial-on-protocolcodecfilter-for-mina-2x.html Maarten On Dec 11, 2007 5:27 PM, Jeroen Brattinga <[EMAIL PROTECTED]> wrote: > Take a look at this tutorial: > http://mina.apache.org/tutorial-on-protocolcodecfilter.html > > Oh, and try to give your question a better description in the subject of > your e-mail next time! > > > Jeroen Brattinga > > > > On Tue, 2007-12-11 at 20:47 +0800, Michael Qi wrote: > > Hello, > > I am using mina and try to write a IoHandler and my question is > > messageReceived(IoSession session, Object msg) function: > > My protocol binary and the msg is Object ! Can convert it to byte > > array? Thank you! > > > > > > > > > > > > > > HeQi > >
