dev@grizzly.java.net

Re: NIO client support of Grizzly

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 23 Sep 2009 11:46:12 -0400

Salut

Wang Yu wrote:
> Hi,
> Nonblocking sockets are usually thought of for server-side use.
> But there can also be benefits to using one or a few sockets
> in nonblocking mode on the client side.
>
> For example, with nonblocking sockets, an management console (by using
> telnet protocol)
> can carry on conversations with many servers simultaneously with a few
> threads.
>
> Can Grizzly Framework support such programming mode (to be a telnet
> client of hundreds of servers with only a few threads)?

Yes, we support non blocking API via our ConnectorHandler API:

   * http://is.gd/3Bmum

See an old tutorial on the topic here:

   * http://is.gd/3BmAZ

Let us know how it goes.

A+

-- Jeanfrancois


>
> Thanks and Best Regards
> Wang Yu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>