| 46 | } |
| 47 | |
| 48 | void onError(int error, const std::string& category, const std::string& message) override |
| 49 | { |
| 50 | std::cout << "Chat TCP session caught an error with code " << error << " and category '" << category << "': " << message << std::endl; |
| 51 | } |
| 52 | }; |
| 53 | |
| 54 | class ChatServer : public CppServer::Asio::TCPServer |
nothing calls this directly
no outgoing calls
no test coverage detected