| 55 | } |
| 56 | |
| 57 | void onError(int error, const std::string& category, const std::string& message) override |
| 58 | { |
| 59 | std::cout << "Simple protocol client caught an error with code " << error << " and category '" << category << "': " << message << std::endl; |
| 60 | } |
| 61 | |
| 62 | // Protocol handlers |
| 63 | void onReceive(const ::simple::DisconnectRequest& request) override { Client::onReceive(request); std::cout << "Received: " << request << std::endl; DisconnectAsync(); } |
nothing calls this directly
no outgoing calls
no test coverage detected