dev@grizzly.java.net

[FYI] TCP client added.

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 02 May 2007 13:42:01 -0400

Hi,

I've just committed some classes that allow doing client side non
blocking operation. Right now only TCP is supported (UDP and TLS are
coming). The new classes are:

IOEvent
ConnectorHandler
TCPConnectorHandler
CallbackHandler

If you have time, please review the code and change it if you find bugs
:-). To use it, you just need to do:

TCPConnectorHandler tcpHandler = new TCPConnectorHandler();
tcpHandler.connect(...);
tcpHandler.read|write.

I will soon add more unit tests to demonstrate how to use the API (I've
added some recommendation in the docs API of TCPConnectorHandler).

Thanks

-- Jeanfrancois