MCPcopy Create free account
hub / github.com/chronoxor/CppServer / onTimer

Method onTimer

examples/asio_timer.cpp:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21protected:
22 void onTimer(bool canceled) override
23 {
24 std::cout << "Asio timer " << (canceled ? "canceled" : "expired") << std::endl;
25 }
26
27 void onError(int error, const std::string& category, const std::string& message) override
28 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected