@brief Shutdown handler function - forcing the server pointer to be global.
| 42 | |
| 43 | /// @brief Shutdown handler function - forcing the server pointer to be global. |
| 44 | void handleShutdown() { |
| 45 | cout << "Received shutdown signal..." << endl; |
| 46 | server->signalStop(); |
| 47 | } |
| 48 | |
| 49 | int main(int argc, char *argv[]) { |
| 50 | if (argc < 2) { |
nothing calls this directly
no test coverage detected