On Tue, Feb 2, 2010 at 10:57 PM, siasia <[email protected]> wrote: > > Yuo have understand my problem but I'm not able to resolve it! > > I must include an codec filter otherwise become an error; > is there a MINA type codec (e.g. TextLineCodec) that convert byte[] to a > BasicMessage? > > (...) > //what I can instantiate in the ??? > IoFilter CODEC_FILTER = new ProtocolCodecFilter(???); > connector.getFilterChain().addLast("codec", CODEC_FILTER); > (...)
it would be good be to start with example provided with MINA release and then move to write your own codec. > -- > View this message in context: > http://old.nabble.com/question-about-Filter-tp27422950p27424211.html > Sent from the Apache MINA User Forum mailing list archive at Nabble.com. > > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
