cowwoc at bbs.darktech.org
Thu Jun 25 20:48:43 PDT 2009
I'm almost done implementing an AsynchronousByteReader (equivalent to
an InputStreamReader). It essentially does what you mentioned
(transforming the data along the way, wrapping Future and
CompletionHandlers, etc). I plan on posting my implementation early next
week for your review.
Alexander Libman (via Nabble) wrote:
> Hi Gili,
> AsynchronousCoder is part of AsynchronousFilter framework
> The main concept of AsynchronousFilter is described in
> Since January this framework has been slightly modified, but the basis is
> the same.
> Generic filter now is defined as
> abstract class AsynchronousFilter<OUTER_PARM,
> public class AsynchronousCoder extends
> Full code (not well documented yet) you can find at
> and bunch of tests in
> Example of usage for AsynchronousCoder:
> Currently AsynchrnousCoder allows simple read to(write from) CharBuffer.
> readLine () not implemented.
> I was thinking that readLine is more fitted into imaginable
> AsynchronousScanner class
> > -----Original Message-----
> > From: nio-dev-bounces at ...
> > [mailto:nio-dev-bounces at ...
> Behalf Of Gili
> > Sent: Thursday, June 25, 2009 4:24 PM
> > To: nio-dev at ...
> > Subject: AsynchronousCoder?
> > Hi,
> > Alan wrote:
> > > Alex Libman has built a filter framework on this API and it
> includes an
> > > AsynchronousCoder for char I/O. You might want to bring it up on the
> > > nio-dev mailing list for more discussion.
> > Where can I find out more information on this API? I'm looking for an
> > AsychronousCharChannel of sorts, that will let me read/write on
> > and also readLine().
> > Thank you,
> > Gili
> > --
> > View this message in context:
> > http://n2.nabble.com/AsynchronousCoder--tp3157509p3157509.html
> > Sent from the nio-dev mailing list archive at Nabble.com.
> > Checked by AVG - www.avg.com
> > Version: 8.5.374 / Virus Database: 270.12.90/2200 - Release Date:
> > 06/24/09 12:49:00
> This email is a reply to your post @
> You can reply by email or by visting the link above.
View this message in context: http://n2.nabble.com/AsynchronousCoder--tp3157509p3159510.html
Sent from the nio-dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev