| 104 | void onConnected(std::shared_ptr<TCPSession>& session) override { connected = true; ++clients; } |
| 105 | void onDisconnected(std::shared_ptr<TCPSession>& session) override { disconnected = true; --clients; } |
| 106 | size_t onSend(const void* data, size_t size) override { Multicast(data, size); return size; } |
| 107 | void onError(int error, const std::string& category, const std::string& message) override { errors = true; } |
| 108 | |
| 109 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected