2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#include "core/socket/stream/AutoConnectControl.h"
44#include "core/timer/Timer.h"
46#ifndef DOXYGEN_SHOULD_SKIP_THIS
50namespace core::socket::
stream {
void stopReconnectAndRetry()
bool isReconnectEnabled() const
void cancelReconnectTimer()
void armReconnectTimer(double timeoutSeconds, const std::function< void()> &dispatcher)
bool isRetryEnabled() const
void armRetryTimer(double timeoutSeconds, const std::function< void()> &dispatcher)
std::unique_ptr< core::timer::Timer > reconnectTimer
std::unique_ptr< core::timer::Timer > retryTimer
static Timer singleshotTimer(const std::function< void()> &dispatcher, const utils::Timeval &timeout)