[MINA 3] IoBuffer thoughts

2011-11-29 Thread Emmanuel Lecharny
Hi guys, we discussed a bit about this IoBuffer thing I'm working on with Julien today. It seems that we don't need an acumulating buffer anywhere but in the decoder (all in all, we don't expect the filters to use an IoBuffer in the messageReceined() method. It's expecting an Object. This

Re: [MINA 3] IoBuffer

2011-11-28 Thread Julien Vermillard
On Sun, Nov 27, 2011 at 11:33 PM, Emmanuel Lécharny elecha...@apache.org wrote: On 11/27/11 10:18 PM, Christian Schwarz wrote: ...one more thing, the sun.reflect.generics.reflectiveObjects.NotImplementedException's should be replaced by java.lang.UnsupportedOperationException's. My IDE

[Mina 3] exceptions was Re: [MINA 3] IoBuffer

2011-11-28 Thread Emmanuel Lécharny
On 11/28/11 9:43 AM, Julien Vermillard wrote: On Sun, Nov 27, 2011 at 11:33 PM, Emmanuel Lécharny elecha...@apache.org wrote: On 11/27/11 10:18 PM, Christian Schwarz wrote: ...one more thing, the sun.reflect.generics.reflectiveObjects.NotImplementedException's should be replaced by

Re: [Mina 3] exceptions was Re: [MINA 3] IoBuffer

2011-11-28 Thread Julien Vermillard
On Mon, Nov 28, 2011 at 10:05 AM, Emmanuel Lécharny elecha...@apache.org wrote: On 11/28/11 9:43 AM, Julien Vermillard wrote: On Sun, Nov 27, 2011 at 11:33 PM, Emmanuel Lécharny elecha...@apache.org  wrote: On 11/27/11 10:18 PM, Christian Schwarz wrote: ...one more thing, the

Re: [Mina 3] exceptions was Re: [MINA 3] IoBuffer

2011-11-28 Thread sebb
On 28 November 2011 09:38, Julien Vermillard jvermill...@gmail.com wrote: On Mon, Nov 28, 2011 at 10:05 AM, Emmanuel Lécharny elecha...@apache.org wrote: On 11/28/11 9:43 AM, Julien Vermillard wrote: On Sun, Nov 27, 2011 at 11:33 PM, Emmanuel Lécharny elecha...@apache.org  wrote: On

Re: [MINA 3] IoBuffer

2011-11-27 Thread Christian Schwarz
On Sat, Nov 26, 2011 at 1:39 AM, Emmanuel Lecharny elecha...@gmail.comwrote: Hi guys, Hi Emmanuel, Feel free to comment... ...here we go! Using the 2 MINA IoBuffer is difficult for us because the documentation of it is too hard to reach. JavaDoc's like @see # xy ByteBuffer (..) only makes

Re: [MINA 3] IoBuffer

2011-11-27 Thread Christian Schwarz
...one more thing, the sun.reflect.generics.reflectiveObjects.NotImplementedException's should be replaced by java.lang.UnsupportedOperationException's. My IDE refuse the compilation because the NotImplementedException is not public API (access restriction). On Sun, Nov 27, 2011 at 10:05 PM,

Re: [MINA 3] IoBuffer

2011-11-27 Thread Emmanuel Lécharny
On 11/27/11 10:05 PM, Christian Schwarz wrote: On Sat, Nov 26, 2011 at 1:39 AM, Emmanuel Lecharnyelecha...@gmail.comwrote: Hi guys, Hi Emmanuel, Feel free to comment... ...here we go! Using the 2 MINA IoBuffer is difficult for us because the documentation of it is too hard to reach.

Re: [MINA 3] IoBuffer

2011-11-27 Thread Emmanuel Lécharny
On 11/27/11 10:18 PM, Christian Schwarz wrote: ...one more thing, the sun.reflect.generics.reflectiveObjects.NotImplementedException's should be replaced by java.lang.UnsupportedOperationException's. My IDE refuse the compilation because the NotImplementedException is not public API (access

[MINA 3] IoBuffer

2011-11-25 Thread Emmanuel Lecharny
Hi guys, I have just committed [1] two classes (IoBuffer and IoBufferTest). The IoBuffer class is not completed yet, but will be soon. The IoBuffer class just has the same methods than a ByteBuffer, except that internally it stores a list of ByteBuffers. We don't make the IoBuffer