directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <fedechi...@gmail.com>
Subject Re: [Mina] ByteBuffer and ByteBuffere Release
Date Sat, 14 Jan 2006 18:40:03 GMT
maybe I have done some errors in the patch, I'll look the code tomorrow, and 
test it again.
by Fed

----- Original Message ----- 
From: "Alessandro Torrisi" <alessandro.torrisi@eurone.it>
To: "Apache Directory Developers List" <dev@directory.apache.org>
Sent: Saturday, January 14, 2006 2:02 PM
Subject: [Mina] ByteBuffer and ByteBuffere Release


> Hi ! For my protocol I have too read the input Object, cast it to a 
> ByteBuffer, then read the string contained and process this string 
> through a "ProtocolPipeline".
> This protocol pipeline can do different actions. One of this is 
> "broadcasting" the input message to all the users.
>
> So I have done some static methods to send data to the users.
> When I enter in these methods I build for every user a ByteBuffer and 
> then send it.
>
> So, from the discussions read in these days in this mailing list, I 
> downloaded the latest patch for ByteBuffer from dirmina, suggested by 
> fede,
> and then used a single ByteBuffer to send to all the users.
>
> With this new solution I have an exception with a message "ByteBuffer 
> released too many times..."
> I'm wrong in something ? What's the cause of that message ? What I  have 
> to do ?
>
> Thanks in advance,
> best regards.
>
> Alessandro Torrisi. 


Mime
View raw message