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 Sat, 20 Aug 2011 11:46:40 GMT
On 8/20/11 12:50 PM, Alex Karasulu wrote:
> On Fri, Aug 19, 2011 at 3:19 PM, Emmanuel Lecharny<elecharny@gmail.com>wrote:
>
>> 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.
>>
> Exactly! +1
>
> Perhaps it might be best to have a linked list of byte buffers internally in
> this MinaBuffer kind a thingy?

Yes.

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

Mime
View raw message