| 85 | virtual ~CReconnect(void) {} |
| 86 | |
| 87 | void* Process(void) |
| 88 | { |
| 89 | if (g_parser) |
| 90 | { |
| 91 | g_parser->Close(); |
| 92 | if (!g_parser->Open(g_strPort.c_str())) |
| 93 | { |
| 94 | PrintToStdOut("Failed to reconnect\n"); |
| 95 | g_bExit = 1; |
| 96 | } |
| 97 | } |
| 98 | return NULL; |
| 99 | } |
| 100 | |
| 101 | private: |
| 102 | CReconnect(void) {} |
nothing calls this directly
no test coverage detected