- long long int creation_time; /* Time reconnect_create() called. */
- long long int last_received; /* Last call to reconnect_received(). */
- long long int last_connected; /* Last call to reconnect_connected(). */
- int backoff; /* Current backoff duration. */
-
- unsigned int seqno; /* # of connections + # of disconnections. */
-
- bool is_connected; /* Currently connected? */
- unsigned int current_connection_duration; /* Time of current connection. */
- unsigned int total_connected_duration; /* Sum of all connections. */
+ long long int creation_time; /* Time reconnect_create() called. */
+ long long int last_activity; /* Last call to reconnect_activity(). */
+ long long int last_connected; /* Last call to reconnect_connected(). */
+ long long int last_disconnected; /* Last call to reconnect_disconnected(). */
+ int backoff; /* Current backoff duration. */
+
+ unsigned int seqno; /* # of connections + # of disconnections. */
+
+ bool is_connected; /* Currently connected? */
+ unsigned int msec_since_connect; /* Time since last connect. */
+ unsigned int msec_since_disconnect; /* Time since last disconnect. */
+ unsigned int total_connected_duration; /* Sum of all connections. */