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

Method onStopped

tests/test_udp.cpp:66–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64protected:
65 void onStarted() override { started = true; ReceiveAsync(); }
66 void onStopped() override { stopped = true; }
67 void onReceived(const asio::ip::udp::endpoint& endpoint, const void* buffer, size_t size) override { SendAsync(endpoint, buffer, size); }
68 void onSent(const asio::ip::udp::endpoint& endpoint, size_t sent) override { ReceiveAsync(); }
69 void onError(int error, const std::string& category, const std::string& message) override { errors = true; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected