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

Method onStopped

tests/test_ws.cpp:99–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97protected:
98 void onStarted() override { started = true; }
99 void onStopped() override { stopped = true; }
100 void onConnected(std::shared_ptr<TCPSession>& session) override { connected = true; ++clients; }
101 void onDisconnected(std::shared_ptr<TCPSession>& session) override { disconnected = true; --clients; }
102 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