tanjeff/agentXcpp — Issue #6: Improve class connection
Author: tanjeff
Created: 2012-01-03 09:22:23+00:00
State: open

The connection class implementation seems overcomplicated. It makes use of asynchronous operations, which adds complexity.
Instead, the class should be simplified by using synchronous operations only, if possible. E.g. the timers can be asked whether they expired without using a callback, and the socket provides an available() method to check whether enough data is available to read it synchronously without blocking.