DistributedNonsense/CorrugatedIron — pull request #117 by chrisleow (2013-04-29 17:43:30+00:00)
Title: Made a start on asynchronous code

Hi All,

I've made a start on converting all your good work to be fully asynchronous. I've updated the clients (RiakClient, RiakAsyncClient), nodes, endpoints, clusters etc... All unit tests have been updated are working apart from the Async client ones, which I've commented out for now. Integration tests are broken, because of batching.

All the major files should now have method should return "Task<....>", which leads to some pretty long method signatures!

The following has not been done:

- Batching, not sure what it does exactly, so I've left it for now.
- RiakConnection is a wrapper around sync code, so it's STILL BLOCKING.
- Integration tests are not updated.
- No testing done against live clients, code will probably have a few completely fatal bugs.

I hope we can test against this internal fix-up of the code for asynchronous dev, and then it should be quite easy to convert RiakConnection to be completely non-blocking with some asynchronous socket-fu.