How can I know whether the connection to Cassandra was lost with the C++ driver?
<p>I'm wondering whether there is a way for me to know whether the connection to all Cassandra nodes was lost by the C++ driver.</p>

<p>My application has a proxy server which connects to Cassandra once and sits there forever. Other services will connect to that proxy server and send requests as required.</p>

<p>That works great, until all the connections to the Cassandra cluster are lost. In that special circumstance, the proxy does not seem to recover...</p>

<p>Is there a way for me to know/detect that all connections were lost and thus attempt a <code>connect()</code> again?</p>