| 59 | } |
| 60 | |
| 61 | void Client::exit() |
| 62 | { |
| 63 | jsonrpc::Client sender(tcpSocketClient); |
| 64 | Json::Value params(Json::objectValue); |
| 65 | Json::Value orgData(Json::objectValue); |
| 66 | orgData["params"] = params; |
| 67 | std::cout << "exit -->" << std::endl; |
| 68 | try { |
| 69 | sender.CallNotification("exit", orgData); |
| 70 | } catch (jsonrpc::JsonRpcException &e) { |
| 71 | std::cerr << e.what() << std::endl; |
| 72 | } |
| 73 | } |
no test coverage detected