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