MINA 3.0 Thrift and Protobuf support

2013-05-04 Thread Raphaël Barazzutti
Hi MINA-developers! Using extensively MINA 2.0 at my work, I’d like to contribute to the next MINA version. IMHO, MINA 3.0 could provide serialization facilities like Apache Thrift and Google Protobuf transport. According to that I decide to propose the following code to be merged with the main

Re: MINA 3.0 Thrift and Protobuf support

2013-05-05 Thread Raphaël Barazzutti
o your > approach, but instead of a SizeDecoder, it passes the size of length > prefix. It will then accumulate bytes till message size is complete and > then pass onto Avro decoder to decode the messages. My implementation is > still in initial stage. > > > On Sun, May 5, 2013 at

Re: MINA 3.0 Thrift and Protobuf support

2013-05-05 Thread Raphaël Barazzutti
va serialization > codec bothering everybody on android ! > > Julien > > > On Sun, May 5, 2013 at 1:31 AM, Raphaël Barazzutti > wrote: > > Hi MINA-developers! > > > > Using extensively MINA 2.0 at my work, I’d like to contribute to the next > > MINA version. &

Sonar

2013-05-19 Thread Raphaël Barazzutti
Hi all! I'm currently working fixing some issues in the delimited module of codec and the serialization modules. Currently some lines in my codes are generating warnings in Sonar. I'd like to know if there is a specific Sonar configuration file recommended for the MINA project. And then I'd lik

Re: MINA 3.0 JDK7+ only ?

2013-05-20 Thread Raphaël Barazzutti
IMHO, developers who will do the jump to MINA 3.0, might also want to benefit of the cutting-edge features of JDK7. +1 for MINA 3.0 on JDK7 On Mon, May 20, 2013 at 9:39 AM, Julien Vermillard wrote: > The idea of being 7 only is to avoid that ;) > > > On Mon, May 20, 2013 at 9:15 AM, Emmanuel Léc

Re: Sonar

2013-05-20 Thread Raphaël Barazzutti
Thanks for all your comments :) > > > One more thing : > > > > code like > > > > return ((input.get() & 0xff) << 24) | ((input.get() & > > 0xff) << 16) | ((input.get() & 0xff) << 8) > > | ((input.get() & 0xff)); > > > > where input is a ByteBuffer can be re

Re: MINA 3.0 Thrift and Protobuf support

2013-06-11 Thread Raphaël Barazzutti
Hi Julien, You're right it'd a nice addition. I've some fixes to commit and then I can focus on providing examples. Regards, Raphaël On Tue, Jun 11, 2013 at 3:33 PM, Julien Vermillard wrote: > A couple of examples for those modules would be a nice addition. > Raphael you think you can pro

Codecs and CumulativeByteBuffer

2013-06-15 Thread Raphaël Barazzutti
Hi all, According to the helpful comment of Ashish (thanks!), I had to add a cumulative mechanism in codec in order to have correct unserialization in the Thrift module as well as in the Protobuf module. Look here : https://github.com/rbarazzutti/mina.git on branch serialization-fixes-1 For this

Re: Codecs and CumulativeByteBuffer

2013-06-16 Thread Raphaël Barazzutti
gt; Julien Vermillard http://people.apache.org/~jvermillard/ > > > On Sat, Jun 15, 2013 at 11:42 AM, Raphaël Barazzutti > wrote: >> Hi all, >> >> According to the helpful comment of Ashish (thanks!), I had to add a >> cumulative mechanism in codec in

Re: Codecs and CumulativeByteBuffer

2013-06-17 Thread Raphaël Barazzutti
wrote: > Le 6/16/13 9:31 PM, Raphaël Barazzutti a écrit : >> Hi Julien, >> >> Thanks for your comments! >> >> You're right there are not that much differences between that two classes. >> >> In some situations I find IoBuffer very interesting, but in the

Re: Codecs and CumulativeByteBuffer

2013-06-17 Thread Raphaël Barazzutti
uffer directly. Thanks again and have a nice afternoon, Regards, Raphaël On Mon, Jun 17, 2013 at 2:50 PM, Emmanuel Lécharny wrote: > Le 6/17/13 1:47 PM, Emmanuel Lécharny a écrit : >> Le 6/17/13 1:32 PM, Raphaël Barazzutti a écrit : >>> Hi Emmanuel, >>> >>> Th

Re: Welcome Raphaël P. Barazzutti as new committer

2013-06-27 Thread Raphaël Barazzutti
Hi all! Thanks for your kind messages :) I'm very delighted to be a new committer,, Kind regards to all of you from the Alps, Raphaël On Thu, Jun 27, 2013 at 10:16 AM, Ashish wrote: > Welcome Raphael ! > > > On Thu, Jun 27, 2013 at 1:39 PM, Jeff MAURY wrote: > >> Welcome aboard, Raphael >> >