users@grizzly.java.net

Re: Reading data

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 18 Jul 2008 10:42:18 -0400

Salut,

Mark Ashworth wrote:
> Good Day,
>
> I would like to know if there are any examples of reading data from a
> socket and exposing the read operation using an iterator iterface.

what about staring with this blog:

http://weblogs.java.net/blog/jfarcand/archive/2008/06/writing_a_tcpud_2.html

The you can take a look at some unit test described:

https://grizzly.dev.java.net/nonav/xref-test/index.html
https://grizzly.dev.java.net/nonav/xref-test/com/sun/grizzly/utils/NonBlockingIOClient.html
https://grizzly.dev.java.net/nonav/xref-test/com/sun/grizzly/http/utils/NonBlockingTCPIOClient.html

Then feel free to ask questions :-)

Thanks!

-- Jeanfrancois


>
> Regards,
> Mark P Ashworth
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>