ReconnectInfo - Information about a peer pending reconnection. More...
#include <librats.h>
Public Member Functions | |
| ReconnectInfo () | |
| ReconnectInfo (const std::string &id, const std::string &peer_ip, uint16_t peer_port, std::chrono::milliseconds duration, bool stable) | |
Public Attributes | |
| std::string | peer_id |
| std::string | ip |
| uint16_t | port |
| int | attempt_count |
| std::chrono::steady_clock::time_point | next_attempt_time |
| std::chrono::milliseconds | connection_duration |
| bool | is_stable |
ReconnectInfo - Information about a peer pending reconnection.
|
inline |
Definition at line 119 of file librats.h.
References next_attempt_time.
|
inline |
Definition at line 123 of file librats.h.
References next_attempt_time.
| std::chrono::milliseconds librats::ReconnectInfo::connection_duration |
| std::chrono::steady_clock::time_point librats::ReconnectInfo::next_attempt_time |
Definition at line 115 of file librats.h.
Referenced by ReconnectInfo(), and ReconnectInfo().