| 56 | } |
| 57 | |
| 58 | void onDisconnected() override |
| 59 | { |
| 60 | WSSClient::onDisconnected(); |
| 61 | |
| 62 | // Wait for a while... |
| 63 | CppCommon::Thread::Sleep(1000); |
| 64 | |
| 65 | // Try to connect again |
| 66 | if (!_stop) |
| 67 | ConnectAsync(); |
| 68 | } |
| 69 | |
| 70 | void onError(int error, const std::string& category, const std::string& message) override |
| 71 | { |
nothing calls this directly
no outgoing calls
no test coverage detected