mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: IoBuffers of bytebuffers
Date Fri, 19 Aug 2011 12:19:54 GMT
On 8/19/11 2:16 PM, Alan D. Cabrera wrote:
> I'm wondering.  Do you guys think it's a good idea?  It seems to make things pretty complicated
and adds another dimension to groking the behavior of your service.  I'm not sure that it's
necessary.
Definitively a bad idea.

What we need is an abstraction on top of an Array of ByteBuffer (the 
Java NIO class), which extends the size by adding new ByteBuffer on the 
fly.

The array must behave exactly as the ByteBuffer.

I wrote such a class 2 years ago, but I can't find the code. Will look 
again on my USB keys this week-end.


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message