MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3 / schedule

Method schedule

client/ovpncli.cpp:379–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 }
378
379 void schedule()
380 {
381 timer.expires_after(period);
382 timer.async_wait([this](const openvpn_io::error_code& error)
383 {
384 if (!parent || error)
385 return;
386 try {
387 parent->clock_tick();
388 }
389 catch (...)
390 {
391 }
392 schedule();
393 });
394 }
395
396 private:
397 AsioTimer timer;

Callers 1

connect_setupMethod · 0.45

Calls 2

expires_afterMethod · 0.80
clock_tickMethod · 0.45

Tested by

no test coverage detected